umbrello/umbrello
#include <parameterpropertiesdialog.h>
Public Slots | |
void | slotOk () |
Public Member Functions | |
ParameterPropertiesDialog (QWidget *parent, UMLDoc *doc, UMLAttribute *attr) | |
~ParameterPropertiesDialog () | |
Protected Slots | |
virtual void | slotButtonClicked (int button) |
Protected Member Functions | |
QString | getDoc () |
QString | getInitialValue () |
QString | getName () |
Uml::ParameterDirection::Enum | getParmKind () |
QString | getTypeName () |
void | insertStereotypesSorted (const QString &type=QString()) |
void | insertTypesSorted (const QString &type=QString()) |
bool | validate () |
Detailed Description
Displays a dialog box that displays properties of a parameter.
You need to make sure that UMLDoc is made to be the parent.
A properties dialog box for a parameter.
Definition at line 35 of file parameterpropertiesdialog.h.
Constructor & Destructor Documentation
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
Definition at line 44 of file parameterpropertiesdialog.cpp.
ParameterPropertiesDialog::~ParameterPropertiesDialog | ( | ) |
Standard destructor.
Definition at line 167 of file parameterpropertiesdialog.cpp.
Member Function Documentation
|
inlineprotected |
Returns the documentation.
- Returns
- Returns the documentation.
Definition at line 53 of file parameterpropertiesdialog.h.
|
inlineprotected |
Definition at line 61 of file parameterpropertiesdialog.h.
|
inlineprotected |
Definition at line 57 of file parameterpropertiesdialog.h.
|
protected |
Return the kind of the parameter (in, out, or inout).
- Returns
- The Uml::ParameterDirection::Enum corresponding to the selected "Kind" radiobutton.
Definition at line 246 of file parameterpropertiesdialog.cpp.
|
inlineprotected |
Definition at line 65 of file parameterpropertiesdialog.h.
|
protected |
Inserts type
into the stereotype-combobox as well as its completion object.
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 218 of file parameterpropertiesdialog.cpp.
Inserts type
into the type-combobox as well as its completion object.
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 177 of file parameterpropertiesdialog.cpp.
|
protectedvirtualslot |
Activated when a button is clicked.
- Parameters
-
button The button that was clicked
Definition at line 275 of file parameterpropertiesdialog.cpp.
|
slot |
Ok clicked slot.
Definition at line 288 of file parameterpropertiesdialog.cpp.
|
protected |
Validates the fields in the dialog box.
- Returns
- success state
Definition at line 260 of file parameterpropertiesdialog.cpp.
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:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.