umbrello/umbrello
parameterpropertiesdialog.cpp
Go to the documentation of this file.
44 ParameterPropertiesDialog::ParameterPropertiesDialog(QWidget * parent, UMLDoc * doc, UMLAttribute * attr)
99 m_pKind->setToolTip(i18n("\"in\" is a readonly parameter, \"out\" is a writeonly parameter and \"inout\" is a parameter for reading and writing."));
This class defines the non-graphical information required for a UML Classifier (ie a class or interfa...
Definition: classifier.h:39
QString getInitialValue() const
Returns The initial value of the UMLAttribute.
Definition: attribute.cpp:99
virtual void setType(UMLObject *type)
Sets the type of the UMLAttribute.
Definition: classifierlistitem.cpp:125
Uml::ParameterDirection::Enum getParmKind() const
Definition: attribute.cpp:122
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
bool contains(const QString &str, Qt::CaseSensitivity cs) const
void setName(const QString &name)
Reimplementation of method from UMLObject is required as an extra signal, attributeChanged(), is emitted.
Definition: attribute.cpp:76
virtual void slotButtonClicked(int button)
Activated when a button is clicked.
Definition: parameterpropertiesdialog.cpp:275
This class holds information used by template classes, called paramaterised class in UML and a generi...
Definition: template.h:26
const UMLStereotypeList & stereotypes() const
Returns a list of the stereotypes in this UMLDoc.
Definition: umldoc.cpp:3073
void insertStereotypesSorted(const QString &type=QString())
Inserts type into the stereotype-combobox as well as its completion object.
Definition: parameterpropertiesdialog.cpp:218
void setSpacing(int spacing)
void setBuddy(QWidget *buddy)
UMLObject * createUMLObject(UMLObject::ObjectType type, const QString &n, UMLPackage *parentPkg, bool solicitNewName)
Creates a UMLObject of the given type.
Definition: object_factory.cpp:192
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void setInitialValue(const QString &iv)
Sets the initial value of the UMLAttribute.
Definition: attribute.cpp:109
Uml::ParameterDirection::Enum getParmKind()
Return the kind of the parameter (in, out, or inout).
Definition: parameterpropertiesdialog.cpp:246
UMLClassifierList concepts(bool includeNested=true)
Returns a list of the concepts in this UMLDoc.
Definition: umldoc.cpp:2535
KLineEdit * makeLabeledEditField(QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText)
Create a labeled text lineedit widget.
Definition: dialog_utils.cpp:45
void setMargin(int margin)
Definition: basictypes.h:235
bool validate()
Validates the fields in the dialog box.
Definition: parameterpropertiesdialog.cpp:260
QString stereotype(bool includeAdornments=false) const
Returns the stereotype.
Definition: umlobject.cpp:579
void setChecked(bool)
Definition: umlobject.h:57
Definition: basictypes.h:233
ParameterPropertiesDialog(QWidget *parent, UMLDoc *doc, UMLAttribute *attr)
Constructs a ParameterPropertiesDialog.
Definition: parameterpropertiesdialog.cpp:44
QString fromLatin1(const char *str, int size)
void sort()
void setToolTip(const QString &)
UMLTemplate * findTemplate(const QString &name)
Seeks the template parameter of the given name.
Definition: classifier.cpp:1145
QObject * parent() const
Definition: basictypes.h:234
virtual QString fullyQualifiedName(const QString &separator=QString(), bool includeRoot=false) const
Returns the fully qualified name, i.e.
Definition: umlobject.cpp:202
QString getInitialValue()
Definition: parameterpropertiesdialog.h:61
virtual QString getTypeName() const
Returns the type name of the UMLClassifierListItem.
Definition: classifierlistitem.cpp:110
void setStereotype(const QString &_name)
Sets the classes stereotype name.
Definition: umlobject.cpp:492
void setSpacing(int spacing)
void setParmKind(Uml::ParameterDirection::Enum pk)
Definition: attribute.cpp:117
void insertTypesSorted(const QString &type=QString())
Inserts type into the type-combobox as well as its completion object.
Definition: parameterpropertiesdialog.cpp:177
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.