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

umbrello 25.04.0 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 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5#ifndef UMLROLEPROPERTIES_H
6#define UMLROLEPROPERTIES_H
7
8#include "dialogpagebase.h"
9#include "ui_umlrolepropertiesbase.h"
10#include "umlrole.h"
11
12 class UMLRolePropertiesBase : public DialogPageBase, public Ui::UMLRolePropertiesBase
13{
14public:
15 explicit UMLRolePropertiesBase(QWidget *parent) : DialogPageBase(parent) {
16 setupUi(this);
17 }
18};
19
26 class UMLRoleProperties : public UMLRolePropertiesBase
27{
28 Q_OBJECT
29public:
30
37 UMLRoleProperties(QWidget *parent, UMLRole *role);
38
42 ~UMLRoleProperties();
43
44 void apply();
45
46protected:
47
48 // the parent role object
49 UMLRole * m_pRole;
50
51private:
52
53 void constructWidget();
54
55};
56
57#endif
DialogPageBase::DialogPageBase
DialogPageBase(QWidget *parent)
Definition dialogpagebase.cpp:16
UMLRolePropertiesBase::UMLRolePropertiesBase
UMLRolePropertiesBase(QWidget *parent)
Definition umlroleproperties.h:15
UMLRoleProperties::UMLRoleProperties
UMLRoleProperties(QWidget *parent, UMLRole *role)
Definition umlroleproperties.cpp:12
UMLRoleProperties::apply
void apply()
Definition umlroleproperties.cpp:70
UMLRoleProperties::m_pRole
UMLRole * m_pRole
Definition umlroleproperties.h:49
UMLRoleProperties::~UMLRoleProperties
~UMLRoleProperties()
Definition umlroleproperties.cpp:19
UMLRoleProperties::constructWidget
void constructWidget()
Definition umlroleproperties.cpp:23
UMLRole
Definition umlrole.h:20
dialogpagebase.h
umlrole.h