umbrello  26.08.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
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;
20 
30 {
31  Q_OBJECT
32 public:
33  AssociationRolePage(QWidget *parent, AssociationWidget *a);
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;
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
Displays an instance of a Concept.
Definition: objectwidget.h:27
Definition: visibilityenumwidget.h:21
Display properties on a UMLObject.
Definition: associationrolepage.h:29
Definition: dialogpagebase.h:19
QString a
Definition: petalnode.cpp:13
AssociationWidget * m_pAssociationWidget
Definition: associationrolepage.h:42
KComboBox * m_pMultiACB
Definition: associationrolepage.h:40
void apply()
Definition: associationrolepage.cpp:237
QRadioButton * m_ChangeableARB
Definition: associationrolepage.h:44
QTextEdit * m_docB
Definition: associationrolepage.h:41
The base class for UML objects.
Definition: umlobject.h:69
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde.org or https://bugs.kde.org.
Definition: associationwidget.h:46
QRadioButton * m_FrozenARB
Definition: associationrolepage.h:44
~AssociationRolePage()
Definition: associationrolepage.cpp:51
void constructWidget()
Definition: associationrolepage.cpp:55
QTextEdit * m_docA
Definition: associationrolepage.h:41
QRadioButton * m_AddOnlyARB
Definition: associationrolepage.h:44
VisibilityEnumWidget * m_visibilityWidgetB
Definition: associationrolepage.h:47
QRadioButton * m_ChangeableBRB
Definition: associationrolepage.h:45
KComboBox * m_pMultiBCB
Definition: associationrolepage.h:40
AssociationRolePage(QWidget *parent, AssociationWidget *a)
Definition: associationrolepage.cpp:36
QRadioButton * m_FrozenBRB
Definition: associationrolepage.h:45
ObjectWidget * m_pWidget
Definition: associationrolepage.h:43
QRadioButton * m_AddOnlyBRB
Definition: associationrolepage.h:45
QLineEdit * m_pRoleBLE
Definition: associationrolepage.h:39
QLineEdit * m_pRoleALE
Definition: associationrolepage.h:39
VisibilityEnumWidget * m_visibilityWidgetA
Definition: associationrolepage.h:46
Definition: umldoc.h:62