umbrello API Documentation

ParmPropDlg Class Reference

Displays a dialog box that displays properties of a paramater. A properties dialog box for a parameter. More...

#include <parmpropdlg.h>

List of all members.

Public Slots

void slotOk ()

Public Member Functions

 ParmPropDlg (QWidget *parent, UMLDoc *doc, UMLAttribute *a)
 Constructs a ParmPropDlg.
 ~ParmPropDlg ()
 Standard deconstructor.
QString getDoc ()
 Returns the documentation.
QString getName ()
 Return the name of the parameter.
QString getInitialValue ()
 Return the initial value of the parameter.
QString getTypeName ()
 Return the type name of the parameter.
Uml::Parameter_Direction getParmKind ()
 Return the kind of the parameter (in, out, or inout).

Protected Member Functions

void insertType (const QString &type, int index=-1)
 Inserts type into the type-combobox as well as its completion object.
void insertStereotype (const QString &type, int index=-1)
 Inserts type into the stereotype-combobox as well as its completion object.


Detailed Description

Displays a dialog box that displays properties of a paramater. A properties dialog box for a parameter.

You need to make sure that UMLDoc is made to be the parent.

Author:
Paul Hensgen <phensgen@techie.com> Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 38 of file parmpropdlg.h.


Constructor & Destructor Documentation

ParmPropDlg::ParmPropDlg QWidget *  parent,
UMLDoc doc,
UMLAttribute a
 

Constructs a ParmPropDlg.

Parameters:
parent The parent of the dialog.
a The parameter to represent.

Definition at line 34 of file parmpropdlg.cpp.

References UMLDoc::getConcepts(), getDoc(), UMLObject::getFullyQualifiedName(), getInitialValue(), UMLObject::getName(), getName(), UMLAttribute::getParmKind(), UMLObject::getStereotype(), UMLDoc::getStereotypes(), UMLClassifier::getTemplateList(), getTypeName(), insertStereotype(), insertType(), and Dialog_Utils::makeLabeledEditField().

ParmPropDlg::~ParmPropDlg  ) 
 

Standard deconstructor.

Definition at line 256 of file parmpropdlg.cpp.


Member Function Documentation

QString ParmPropDlg::getDoc  )  [inline]
 

Returns the documentation.

Returns:
Returns the documentation.

Definition at line 59 of file parmpropdlg.h.

Referenced by ParmPropDlg().

QString ParmPropDlg::getName  )  [inline]
 

Return the name of the parameter.

Returns:
Return the name of the parameter.

Definition at line 68 of file parmpropdlg.h.

Referenced by ParmPropDlg().

QString ParmPropDlg::getInitialValue  )  [inline]
 

Return the initial value of the parameter.

Returns:
Return the initial value of the parameter.

Definition at line 77 of file parmpropdlg.h.

Referenced by ParmPropDlg().

QString ParmPropDlg::getTypeName  )  [inline]
 

Return the type name of the parameter.

Returns:
Return the type name of the parameter.

Definition at line 86 of file parmpropdlg.h.

Referenced by ParmPropDlg().

Uml::Parameter_Direction ParmPropDlg::getParmKind  ) 
 

Return the kind of the parameter (in, out, or inout).

Returns:
The Uml::Parameter_Direction corresponding to the selected "Kind" radiobutton.

Definition at line 208 of file parmpropdlg.cpp.

void ParmPropDlg::insertType const QString &  type,
int  index = -1
[protected]
 

Inserts type into the type-combobox as well as its completion object.

Definition at line 196 of file parmpropdlg.cpp.

Referenced by ParmPropDlg().

void ParmPropDlg::insertStereotype const QString &  type,
int  index = -1
[protected]
 

Inserts type into the stereotype-combobox as well as its completion object.

Definition at line 202 of file parmpropdlg.cpp.

Referenced by ParmPropDlg().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for umbrello Version 3.1.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Jun 26 08:08:05 2007 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003