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

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

associationrolepage.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
6#ifndef ASSOCIATIONROLEPAGE_H
7#define ASSOCIATIONROLEPAGE_H
8
9#include "dialogpagebase.h"
10
11 class AssociationWidget;
12 class KComboBox;
13 class QLineEdit;
14 class QTextEdit;
15 class ObjectWidget;
16 class QRadioButton;
17 class UMLDoc;
18 class UMLObject;
19 class VisibilityEnumWidget;
20
29 class AssociationRolePage : public DialogPageBase
30{
31 Q_OBJECT
32 public:
33 AssociationRolePage(QWidget *parent, AssociationWidget *a);
34 ~AssociationRolePage();
35
36 void apply();
37
38 private:
39 QLineEdit *m_pRoleALE, *m_pRoleBLE;
40 KComboBox *m_pMultiACB, *m_pMultiBCB;
41 QTextEdit *m_docA, *m_docB;
42 AssociationWidget *m_pAssociationWidget;
43 ObjectWidget *m_pWidget;
44 QRadioButton *m_ChangeableARB, *m_AddOnlyARB, *m_FrozenARB;
45 QRadioButton *m_ChangeableBRB, *m_AddOnlyBRB, *m_FrozenBRB;
46 VisibilityEnumWidget *m_visibilityWidgetA;
47 VisibilityEnumWidget *m_visibilityWidgetB;
48
49 void constructWidget();
50 public Q_SLOTS:
51// /**
52// * When the draw as actor check box is toggled, the draw
53// * as multi instance need to be enabled/disabled. They
54// * both can't be available at the same time.
55// */
56// void slotActorToggled(bool state);
57
58};
59
60#endif
AssociationRolePage
Display properties on a UMLObject.
Definition: associationrolepage.h:30
AssociationRolePage::m_AddOnlyBRB
QRadioButton * m_AddOnlyBRB
Definition: associationrolepage.h:45
AssociationRolePage::m_FrozenBRB
QRadioButton * m_FrozenBRB
Definition: associationrolepage.h:45
AssociationRolePage::~AssociationRolePage
~AssociationRolePage()
Definition: associationrolepage.cpp:51
AssociationRolePage::m_visibilityWidgetA
VisibilityEnumWidget * m_visibilityWidgetA
Definition: associationrolepage.h:46
AssociationRolePage::apply
void apply()
Definition: associationrolepage.cpp:237
AssociationRolePage::m_visibilityWidgetB
VisibilityEnumWidget * m_visibilityWidgetB
Definition: associationrolepage.h:47
AssociationRolePage::m_FrozenARB
QRadioButton * m_FrozenARB
Definition: associationrolepage.h:44
AssociationRolePage::m_pMultiACB
KComboBox * m_pMultiACB
Definition: associationrolepage.h:40
AssociationRolePage::m_AddOnlyARB
QRadioButton * m_AddOnlyARB
Definition: associationrolepage.h:44
AssociationRolePage::m_pAssociationWidget
AssociationWidget * m_pAssociationWidget
Definition: associationrolepage.h:42
AssociationRolePage::m_pRoleBLE
QLineEdit * m_pRoleBLE
Definition: associationrolepage.h:39
AssociationRolePage::m_pWidget
ObjectWidget * m_pWidget
Definition: associationrolepage.h:43
AssociationRolePage::constructWidget
void constructWidget()
Definition: associationrolepage.cpp:55
AssociationRolePage::m_pMultiBCB
KComboBox * m_pMultiBCB
Definition: associationrolepage.h:40
AssociationRolePage::m_pRoleALE
QLineEdit * m_pRoleALE
Definition: associationrolepage.h:39
AssociationRolePage::m_ChangeableARB
QRadioButton * m_ChangeableARB
Definition: associationrolepage.h:44
AssociationRolePage::m_ChangeableBRB
QRadioButton * m_ChangeableBRB
Definition: associationrolepage.h:45
AssociationRolePage::m_docB
QTextEdit * m_docB
Definition: associationrolepage.h:41
AssociationRolePage::m_docA
QTextEdit * m_docA
Definition: associationrolepage.h:41
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:47
DialogPageBase
Definition: dialogpagebase.h:20
ObjectWidget
Displays an instance of a Concept.
Definition: objectwidget.h:28
UMLDoc
Definition: umldoc.h:63
UMLObject
The base class for UML objects.
Definition: umlobject.h:70
VisibilityEnumWidget
Definition: visibilityenumwidget.h:22
dialogpagebase.h
a
QString a
Definition: petalnode.cpp:13