umbrello
2.39.2
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) |
![]() | |
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 () |
![]() | |
void | slotApply () |
void | slotOk () |
void | slotCancel () |
void | slotClicked (QAbstractButton *) |
Protected Member Functions | |
bool | close () |
![]() | |
void | enableButtonOk (bool enable) |
virtual bool | validate () |
Private Member Functions | |
void | initGUI () |
![]() | |
void | setupUi (QWidget *CodeViewerDialogBase) |
void | retranslateUi (QWidget *CodeViewerDialogBase) |
Private Attributes | |
Settings::CodeViewerState | m_state |
![]() | |
QVBoxLayout * | vboxLayout |
QVBoxLayout * | vboxLayout1 |
QGridLayout * | gridLayout |
QCheckBox * | ui_showHiddenCodeCB |
QLabel * | ui_componentLabel |
QCheckBox * | ui_highlightCheckBox |
QTabWidget * | ui_tabWidget |
Friends | |
class | CodeEditor |
Additional Inherited Members | |
![]() | |
enum | ButtonCode { Cancel = 0 , Ok = 1 , Apply = 2 } |
![]() | |
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 |