umbrello/umbrello
associationrolepage.cpp
Go to the documentation of this file.
148 m_ImplementationARB = new QRadioButton(i18nc("scope for A is implementation", "Implementation"), scopeABG);
170 m_ChangeableARB = new QRadioButton(i18nc("changeability for A is changeable", "Changeable"), changeABG);
176 m_AddOnlyARB = new QRadioButton(i18nc("changeability for A is add only", "Add only"), changeABG);
225 m_ImplementationBRB = new QRadioButton(i18nc("scope for B is implementation", "Implementation"), scopeBBG);
247 m_ChangeableBRB = new QRadioButton(i18nc("changeability for B is changeable", "Changeable"), changeBBG);
253 m_AddOnlyBRB = new QRadioButton(i18nc("changeability for B is add only", "Add only"), changeBBG);
Uml::Changeability::Enum changeability(Uml::RoleType::Enum role) const
Gets the changeability on the given end of the Association.
Definition: associationwidget.cpp:1143
void setRoleName(const QString &strRole, Uml::RoleType::Enum role)
Sets the text to the FloatingTextWidget that display the Role text of this association.
Definition: associationwidget.cpp:985
void setMultiplicity(const QString &text, Uml::RoleType::Enum role)
Sets the text in the FloatingTextWidget representing the multiplicity at the given side of the associ...
Definition: associationwidget.cpp:1092
QString & append(QChar ch)
Definition: basictypes.h:215
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
Definition: basictypes.h:216
QString roleDocumentation(Uml::RoleType::Enum role) const
Returns the given role's documentation.
Definition: associationwidget.cpp:1025
Definition: basictypes.h:182
QString multiplicity(Uml::RoleType::Enum role) const
Return the given role's multiplicity text.
Definition: associationwidget.cpp:1081
QString name() const
Gets the name from the corresponding UMLObject if this widget has an underlying UMLObject; if it does...
Definition: widgetbase.cpp:211
void setSpacing(int spacing)
Definition: basictypes.h:58
This class represents an association inside a diagram.
Definition: associationwidget.h:50
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
Definition: basictypes.h:184
bool isEmpty() const
Definition: basictypes.h:60
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)
void setRoleDocumentation(const QString &doc, Uml::RoleType::Enum role)
Set the documentation on the given role.
Definition: associationwidget.cpp:1014
Uml::Visibility::Enum visibility(Uml::RoleType::Enum role) const
Gets the visibility on the given role of the association.
Definition: associationwidget.cpp:1105
void setChangeability(Uml::Changeability::Enum value, Uml::RoleType::Enum role)
Sets the changeability on the given end of the Association.
Definition: associationwidget.cpp:1154
Definition: basictypes.h:183
Definition: basictypes.h:57
void updateObject()
Will move information from the dialog into the object.
Definition: associationrolepage.cpp:305
void setChecked(bool)
QFontMetrics fontMetrics() const
void setTitle(const QString &title)
QString roleName(Uml::RoleType::Enum role) const
Return the given role's FloatingTextWidget widget text.
Definition: associationwidget.cpp:972
int height() const
AssociationRolePage(UMLDoc *d, QWidget *parent, AssociationWidget *a)
Sets up the AssociationRolePage.
Definition: associationrolepage.cpp:42
UMLWidget * widgetForRole(Uml::RoleType::Enum role) const
Gets the given role widget.
Definition: associationwidget.cpp:1254
Definition: basictypes.h:59
void setVisibility(Uml::Visibility::Enum value, Uml::RoleType::Enum role)
Sets the visibility on the given role of the association.
Definition: associationwidget.cpp:1119
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 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:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.