umbrello/umbrello
assocgenpage.cpp
Go to the documentation of this file.
114 for (int i = Uml::AssociationType::Generalization; i <= Uml::AssociationType::Relationship; ++i) {
void setAssociationType(Uml::AssociationType::Enum type)
Sets the association's type.
Definition: associationwidget.cpp:1440
Definition: basictypes.h:209
Definition: basictypes.h:210
QString toStringI18n(Enum item)
Converts a AssociationType to its string representation.
Definition: basictypes.cpp:323
QString documentation() const
Used by some child classes to get documentation.
Definition: widgetbase.cpp:157
This class represents an association inside a diagram.
Definition: associationwidget.h:50
void setName(const QString &strRole)
Sets the text in the FloatingTextWidget widget representing the Name of this association.
Definition: associationwidget.cpp:912
QString toString(Enum item)
Convert AssociationType item into QString representation.
Definition: basictypes.cpp:269
void setDocumentation(const QString &doc)
Used by some child classes to set documentation.
Definition: widgetbase.cpp:182
void updateObject()
Will move information from the dialog into the object.
Definition: assocgenpage.cpp:159
KLineEdit * makeLabeledEditField(QGroupBox *containingBox, QGridLayout *layout, int row, QLabel *&label, const QString &labelText, KLineEdit *&editField, const QString &editFieldText)
Create a labeled text lineedit widget.
Definition: dialog_utils.cpp:43
Enum fromInt(int item)
Convert a integer item into ProgrammingLanguage representation.
Definition: basictypes.cpp:429
AssocGenPage(UMLDoc *d, QWidget *parent, AssociationWidget *a)
Sets up the AssocGenPage.
Definition: assocgenpage.cpp:45
static bool allowAssociation(Uml::AssociationType::Enum assocType, UMLWidget *widget)
Returns whether an association is going to be allowed for the given values.
Definition: assocrules.cpp:50
UMLWidget * widgetForRole(Uml::RoleType::Enum role) const
Gets the given role widget.
Definition: associationwidget.cpp:1235
Uml::AssociationType::Enum associationType() const
Gets the association's type.
Definition: associationwidget.cpp:1427
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.