umbrello 2.32.3 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umlroleproperties.h
Go to the documentation of this file.
1 /***************************************************************************
2 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10 #ifndef UMLROLEPROPERTIES_H
11 #define UMLROLEPROPERTIES_H
12
13 #include "dialogpagebase.h"
14 #include "ui_umlrolepropertiesbase.h"
15 #include "umlrole.h"
16
17 class UMLRolePropertiesBase : public DialogPageBase, public Ui::UMLRolePropertiesBase
18 {
19 public:
20 explicit UMLRolePropertiesBase(QWidget *parent) : DialogPageBase(parent) {
21 setupUi(this);
22 }
23 };
24
31 class UMLRoleProperties : public UMLRolePropertiesBase
32 {
33 Q_OBJECT
34 public:
35
42 UMLRoleProperties(QWidget *parent, UMLRole *role);
43
47 ~UMLRoleProperties();
48
49 void apply();
50
51 protected:
52
53 // the parent role object
54 UMLRole * m_pRole;
55
56 private:
57
58 void constructWidget();
59
60 };
61
62 #endif
umlrole.h
umlroleproperties.h
Uml::Visibility::Implementation
@ Implementation
Definition: basictypes.h:63
Ui::UMLRolePropertiesBase
Definition: ui_umlrolepropertiesbase.h:186
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
Uml::Changeability::AddOnly
@ AddOnly
Definition: basictypes.h:207
Uml::Changeability::Changeable
@ Changeable
Definition: basictypes.h:205
Ui_UMLRolePropertiesBase::ui_pMultiLE
KLineEdit * ui_pMultiLE
Definition: ui_umlrolepropertiesbase.h:38
Ui_UMLRolePropertiesBase::ui_pAddOnlyRB
QRadioButton * ui_pAddOnlyRB
Definition: ui_umlrolepropertiesbase.h:49
UMLRolePropertiesBase
Definition: umlroleproperties.h:18
UMLRoleProperties::UMLRoleProperties
UMLRoleProperties(QWidget *parent, UMLRole *role)
Definition: umlroleproperties.cpp:17
Ui_UMLRolePropertiesBase::ui_pPublicRB
QRadioButton * ui_pPublicRB
Definition: ui_umlrolepropertiesbase.h:41
UMLObject::emitModified
void emitModified()
Definition: umlobject.cpp:385
UMLRoleProperties::~UMLRoleProperties
~UMLRoleProperties()
Definition: umlroleproperties.cpp:24
UMLObject::setName
virtual void setName(const QString &strName)
Definition: umlobject.cpp:192
Ui_UMLRolePropertiesBase::setupUi
void setupUi(QWidget *UMLRolePropertiesBase)
Definition: ui_umlrolepropertiesbase.h:54
dialogpagebase.h
UMLRoleProperties::apply
void apply()
Definition: umlroleproperties.cpp:75
Ui_UMLRolePropertiesBase::ui_pImplementationRB
QRadioButton * ui_pImplementationRB
Definition: ui_umlrolepropertiesbase.h:44
UMLRole
Definition: umlrole.h:25
UMLRole::setChangeability
void setChangeability(Uml::Changeability::Enum value)
Definition: umlrole.cpp:145
UMLRoleProperties::constructWidget
void constructWidget()
Definition: umlroleproperties.cpp:28
UMLRoleProperties
Definition: umlroleproperties.h:32
Ui_UMLRolePropertiesBase::ui_pChangeableRB
QRadioButton * ui_pChangeableRB
Definition: ui_umlrolepropertiesbase.h:47
Uml::Visibility::Public
@ Public
Definition: basictypes.h:60
Uml::Changeability::Frozen
@ Frozen
Definition: basictypes.h:206
UMLObject::visibility
Uml::Visibility::Enum visibility() const
Definition: umlobject.cpp:466
UMLRole::setMultiplicity
void setMultiplicity(const QString &multi)
Definition: umlrole.cpp:156
DialogPageBase
Definition: dialogpagebase.h:25
Ui_UMLRolePropertiesBase::ui_pRoleLE
KLineEdit * ui_pRoleLE
Definition: ui_umlrolepropertiesbase.h:36
ui_umlrolepropertiesbase.h
UMLRolePropertiesBase::UMLRolePropertiesBase
UMLRolePropertiesBase(QWidget *parent)
Definition: umlroleproperties.h:20
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
Ui_UMLRolePropertiesBase::ui_pProtectedRB
QRadioButton * ui_pProtectedRB
Definition: ui_umlrolepropertiesbase.h:43
UMLRoleProperties::m_pRole
UMLRole * m_pRole
Definition: umlroleproperties.h:54
UMLRole::changeability
Uml::Changeability::Enum changeability() const
Definition: umlrole.cpp:103
UMLObject::setDoc
void setDoc(const QString &d)
Definition: umlobject.cpp:455
UMLObject::setVisibility
void setVisibility(Uml::Visibility::Enum visibility)
Definition: umlobject.cpp:476
Ui_UMLRolePropertiesBase::ui_pFrozenRB
QRadioButton * ui_pFrozenRB
Definition: ui_umlrolepropertiesbase.h:48
Uml::Visibility::Private
@ Private
Definition: basictypes.h:61
Uml::Visibility::Protected
@ Protected
Definition: basictypes.h:62
UMLRole::multiplicity
QString multiplicity() const
Definition: umlrole.cpp:113
Ui_UMLRolePropertiesBase::ui_pDocTE
KTextEdit * ui_pDocTE
Definition: ui_umlrolepropertiesbase.h:52
Ui_UMLRolePropertiesBase::ui_pPrivateRB
QRadioButton * ui_pPrivateRB
Definition: ui_umlrolepropertiesbase.h:42