umbrello/umbrello
#include <parmpropdlg.h>
Public Slots | |
void | slotOk () |
Public Member Functions | |
ParmPropDlg (QWidget *parent, UMLDoc *doc, UMLAttribute *attr) | |
~ParmPropDlg () | |
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="") |
void | insertTypesSorted (const QString &type="") |
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 36 of file parmpropdlg.h.
Constructor & Destructor Documentation
ParmPropDlg::ParmPropDlg | ( | QWidget * | parent, |
UMLDoc * | doc, | ||
UMLAttribute * | attr | ||
) |
Constructs a ParmPropDlg.
- Parameters
-
parent the parent of the dialog doc attr the parameter to represent
Definition at line 44 of file parmpropdlg.cpp.
ParmPropDlg::~ParmPropDlg | ( | ) |
Standard destructor.
Definition at line 167 of file parmpropdlg.cpp.
Member Function Documentation
|
inlineprotected |
Returns the documentation.
- Returns
- Returns the documentation.
Definition at line 54 of file parmpropdlg.h.
|
inlineprotected |
Definition at line 62 of file parmpropdlg.h.
|
inlineprotected |
Definition at line 58 of file parmpropdlg.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 parmpropdlg.cpp.
|
inlineprotected |
Definition at line 66 of file parmpropdlg.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 parmpropdlg.cpp.
|
protected |
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 parmpropdlg.cpp.
|
protectedvirtualslot |
Activated when a button is clicked.
- Parameters
-
button The button that was clicked
Definition at line 275 of file parmpropdlg.cpp.
|
slot |
Ok clicked slot.
Definition at line 288 of file parmpropdlg.cpp.
|
protected |
Validates the fields in the dialog box.
- Returns
- success state
Definition at line 260 of file parmpropdlg.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.