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

umbrello 2.32.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
DialogPageBase
Definition: dialogpagebase.h:25
UMLRolePropertiesBase
Definition: umlroleproperties.h:18
UMLRolePropertiesBase::UMLRolePropertiesBase
UMLRolePropertiesBase(QWidget *parent)
Definition: umlroleproperties.h:20
UMLRoleProperties
Definition: umlroleproperties.h:32
UMLRoleProperties::UMLRoleProperties
UMLRoleProperties(QWidget *parent, UMLRole *role)
Definition: umlroleproperties.cpp:17
UMLRoleProperties::apply
void apply()
Definition: umlroleproperties.cpp:75
UMLRoleProperties::m_pRole
UMLRole * m_pRole
Definition: umlroleproperties.h:54
UMLRoleProperties::~UMLRoleProperties
~UMLRoleProperties()
Definition: umlroleproperties.cpp:24
UMLRoleProperties::constructWidget
void constructWidget()
Definition: umlroleproperties.cpp:28
UMLRole
Definition: umlrole.h:25
dialogpagebase.h
umlrole.h