A properties dialog box for a parameter.
More...
#include <parameterpropertiesdialog.h>
A properties dialog box for a parameter.
Displays a dialog box that displays properties of a parameter. You need to make sure that UMLDoc is made to be the parent.
- Author
- Paul Hensgen phens.nosp@m.gen@.nosp@m.techi.nosp@m.e.co.nosp@m.m Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org
◆ ParameterPropertiesDialog()
ParameterPropertiesDialog::ParameterPropertiesDialog |
( |
QWidget * |
parent, |
|
|
UMLDoc * |
doc, |
|
|
UMLAttribute * |
attr |
|
) |
| |
Constructs a ParameterPropertiesDialog.
- Parameters
-
parent | the parent of the dialog |
doc | UMLDoc instance for access to classifiers and stereotypes |
attr | the parameter to represent |
◆ ~ParameterPropertiesDialog()
ParameterPropertiesDialog::~ParameterPropertiesDialog |
( |
| ) |
|
◆ apply()
bool ParameterPropertiesDialog::apply |
( |
| ) |
|
|
virtual |
Apply dialog changes to the related object.
This method could be overridden in derived dialogs to suppport post dialog applying.
- Returns
- true apply succeeds
-
false apply does not succeed
Reimplemented from SinglePageDialogBase.
◆ getInitialValue()
QString ParameterPropertiesDialog::getInitialValue |
( |
| ) |
|
|
protected |
◆ getName()
QString ParameterPropertiesDialog::getName |
( |
| ) |
|
|
protected |
◆ getParmKind()
◆ validate()
bool ParameterPropertiesDialog::validate |
( |
| ) |
|
|
protectedvirtual |
Validates the fields in the dialog box.
- Returns
- success state
Reimplemented from SinglePageDialogBase.
◆ m_datatypeWidget
◆ m_defaultValueWidget
◆ m_docWidget
◆ m_pAtt
◆ m_pIn
QRadioButton* ParameterPropertiesDialog::m_pIn |
|
private |
◆ m_pInOut
QRadioButton * ParameterPropertiesDialog::m_pInOut |
|
private |
◆ m_pKindGB
QGroupBox* ParameterPropertiesDialog::m_pKindGB |
|
private |
◆ m_pNameL
QLabel* ParameterPropertiesDialog::m_pNameL |
|
private |
◆ m_pNameLE
KLineEdit* ParameterPropertiesDialog::m_pNameLE |
|
private |
◆ m_pOut
QRadioButton * ParameterPropertiesDialog::m_pOut |
|
private |
◆ m_pParmGB
QGroupBox* ParameterPropertiesDialog::m_pParmGB |
|
private |
◆ m_pUmldoc
UMLDoc* ParameterPropertiesDialog::m_pUmldoc |
|
private |
◆ m_stereotypeWidget
The documentation for this class was generated from the following files: