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

- Main Page
- Related Pages
- Topics
- 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 KTextEdit;
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 KTextEdit *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
51 public slots:
52// /**
53// * When the draw as actor check box is toggled, the draw
54// * as multi instance need to be enabled/disabled. They
55// * both can't be available at the same time.
56// */
57// void slotActorToggled(bool state);
58
59};
60
61#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:52
AssociationRolePage::m_visibilityWidgetA
VisibilityEnumWidget * m_visibilityWidgetA
Definition associationrolepage.h:46
AssociationRolePage::apply
void apply()
Definition associationrolepage.cpp:239
AssociationRolePage::m_visibilityWidgetB
VisibilityEnumWidget * m_visibilityWidgetB
Definition associationrolepage.h:47
AssociationRolePage::m_docA
KTextEdit * m_docA
Definition associationrolepage.h:41
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::m_docB
KTextEdit * m_docB
Definition associationrolepage.h:41
AssociationRolePage::constructWidget
void constructWidget()
Definition associationrolepage.cpp:56
AssociationRolePage::m_pMultiBCB
KComboBox * m_pMultiBCB
Definition associationrolepage.h:40
AssociationRolePage::m_pRoleALE
QLineEdit * m_pRoleALE
Definition associationrolepage.h:39
AssociationRolePage::AssociationRolePage
AssociationRolePage(QWidget *parent, AssociationWidget *a)
Definition associationrolepage.cpp:37
AssociationRolePage::m_ChangeableARB
QRadioButton * m_ChangeableARB
Definition associationrolepage.h:44
AssociationRolePage::m_ChangeableBRB
QRadioButton * m_ChangeableBRB
Definition associationrolepage.h:45
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