umbrello/umbrello
#include <umltemplatedialog.h>
Public Slots | |
void | slotApply () |
void | slotOk () |
Public Member Functions | |
UMLTemplateDialog (QWidget *pParent, UMLTemplate *pAttribute) | |
~UMLTemplateDialog () | |
Protected Member Functions | |
bool | apply () |
void | insertTypesSorted (const QString &type=QString()) |
void | setupDialog () |
Protected Attributes | |
QLabel * | m_pNameL |
KLineEdit * | m_pNameLE |
QLabel * | m_pStereoTypeL |
KLineEdit * | m_pStereoTypeLE |
UMLTemplate * | m_pTemplate |
KComboBox * | m_pTypeCB |
QLabel * | m_pTypeL |
QGroupBox * | m_pValuesGB |
Detailed Description
A dialog to edit the properties of a class template (paramaterised class)
Definition at line 28 of file umltemplatedialog.h.
Constructor & Destructor Documentation
UMLTemplateDialog::UMLTemplateDialog | ( | QWidget * | pParent, |
UMLTemplate * | pAttribute | ||
) |
Definition at line 35 of file umltemplatedialog.cpp.
UMLTemplateDialog::~UMLTemplateDialog | ( | ) |
Definition at line 49 of file umltemplatedialog.cpp.
Member Function Documentation
|
protected |
Checks if changes are valid and applies them if they are, else returns false.
Definition at line 132 of file umltemplatedialog.cpp.
Inserts type
into the type-combobox.
The combobox is cleared and all types together with the optional new one sorted and then added again.
- Parameters
-
type a new type to add and selected
Definition at line 101 of file umltemplatedialog.cpp.
|
protected |
Sets up the dialog.
Definition at line 56 of file umltemplatedialog.cpp.
|
slot |
I don't think this is used, but if we had an apply button it would slot into here.
Definition at line 175 of file umltemplatedialog.cpp.
|
slot |
Used when the OK button is clicked.
Calls apply()
Definition at line 183 of file umltemplatedialog.cpp.
Member Data Documentation
|
protected |
Definition at line 48 of file umltemplatedialog.h.
|
protected |
Definition at line 50 of file umltemplatedialog.h.
|
protected |
Definition at line 48 of file umltemplatedialog.h.
|
protected |
Definition at line 50 of file umltemplatedialog.h.
|
protected |
The Attribute to represent.
Definition at line 44 of file umltemplatedialog.h.
|
protected |
Definition at line 49 of file umltemplatedialog.h.
|
protected |
Definition at line 48 of file umltemplatedialog.h.
|
protected |
Definition at line 47 of file umltemplatedialog.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.