umbrello: umbrello/dialogs/pages/umlroleproperties.h Source File

umbrello 2.31.1 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:80
UMLObject::name
QString name() const
Definition: umlobject.cpp:211
Uml::Changeability::AddOnly
@ AddOnly
Definition: basictypes.h:224
Uml::Changeability::Changeable
@ Changeable
Definition: basictypes.h:222
UMLRolePropertiesBase
Definition: umlroleproperties.h:18
UMLRoleProperties::UMLRoleProperties
UMLRoleProperties(QWidget *parent, UMLRole *role)
Definition: umlroleproperties.cpp:17
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
dialogpagebase.h
DialogPageBase::DialogPageBase
DialogPageBase(QWidget *parent)
Definition: dialogpagebase.cpp:20
UMLRoleProperties::apply
void apply()
Definition: umlroleproperties.cpp:75
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
Uml::Visibility::Public
@ Public
Definition: basictypes.h:77
Uml::Changeability::Frozen
@ Frozen
Definition: basictypes.h:223
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
UMLRolePropertiesBase::UMLRolePropertiesBase
UMLRolePropertiesBase(QWidget *parent)
Definition: umlroleproperties.h:28
UMLObject::doc
QString doc() const
Definition: umlobject.cpp:435
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
Uml::Visibility::Private
@ Private
Definition: basictypes.h:78
Uml::Visibility::Protected
@ Protected
Definition: basictypes.h:79
UMLRole::multiplicity
QString multiplicity() const
Definition: umlrole.cpp:113