|
umbrello 25.04.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <codeviewerdialog.h>
Public Member Functions | |
| CodeViewerDialog (QWidget *parent, CodeDocument *doc, Settings::CodeViewerState state) | |
| ~CodeViewerDialog () | |
| Settings::CodeViewerState | state () |
| void | addCodeDocument (CodeDocument *doc) |
Public Member Functions inherited from SinglePageDialogBase | |
| SinglePageDialogBase (QWidget *parent, bool withApplyButton=false, bool withSearchButton=false) | |
| virtual | ~SinglePageDialogBase () |
| virtual bool | apply () |
| void | setCaption (const QString &caption) |
| QWidget * | mainWidget () |
| void | setMainWidget (QWidget *widget) |
| void | setButtonText (ButtonCode code, const QString &text) |
Protected Slots | |
| virtual void | languageChange () |
Protected Slots inherited from SinglePageDialogBase | |
| void | slotApply () |
| void | slotOk () |
| void | slotCancel () |
| void | slotClicked (QAbstractButton *) |
Protected Member Functions | |
| bool | close () |
Protected Member Functions inherited from SinglePageDialogBase | |
| void | enableButtonOk (bool enable) |
| virtual bool | validate () |
Private Member Functions | |
| void | initGUI () |
Private Attributes | |
| Settings::CodeViewerState | m_state |
Friends | |
| class | CodeEditor |
Additional Inherited Members | |
Public Types inherited from SinglePageDialogBase | |
| enum | ButtonCode { Cancel = 0 , Ok = 1 , Apply = 2 } |
Protected Attributes inherited from SinglePageDialogBase | |
| QDialogButtonBox * | m_buttonBox |
| QWidget * | m_mainWidget |
This class is sooo ugly I don't know where to begin. For now, its a prototype that works, and thats all we need. In the future, a re-write is mandated to bring a bit of beauty to this beast. -b.t.
| CodeViewerDialog::CodeViewerDialog | ( | QWidget * | parent, |
| CodeDocument * | doc, | ||
| Settings::CodeViewerState | state ) |
| CodeViewerDialog::~CodeViewerDialog | ( | ) |
| void CodeViewerDialog::addCodeDocument | ( | CodeDocument * | doc | ) |
Adds a code document to the tabbed output.
|
protected |
|
private |
|
protectedvirtualslot |
Sets the strings of the subwidgets using the current language.
| Settings::CodeViewerState CodeViewerDialog::state | ( | ) |
Return the code viewer state.
|
friend |
|
private |