umbrello  2.39.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 KTextEdit;
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  KTextEdit *m_docA, *m_docB;
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
Display properties on a UMLObject.
Definition: associationrolepage.h:30
QRadioButton * m_AddOnlyBRB
Definition: associationrolepage.h:45
QRadioButton * m_FrozenBRB
Definition: associationrolepage.h:45
~AssociationRolePage()
Definition: associationrolepage.cpp:52
VisibilityEnumWidget * m_visibilityWidgetA
Definition: associationrolepage.h:46
void apply()
Definition: associationrolepage.cpp:239
VisibilityEnumWidget * m_visibilityWidgetB
Definition: associationrolepage.h:47
KTextEdit * m_docA
Definition: associationrolepage.h:41
QRadioButton * m_FrozenARB
Definition: associationrolepage.h:44
KComboBox * m_pMultiACB
Definition: associationrolepage.h:40
QRadioButton * m_AddOnlyARB
Definition: associationrolepage.h:44
AssociationWidget * m_pAssociationWidget
Definition: associationrolepage.h:42
QLineEdit * m_pRoleBLE
Definition: associationrolepage.h:39
ObjectWidget * m_pWidget
Definition: associationrolepage.h:43
KTextEdit * m_docB
Definition: associationrolepage.h:41
void constructWidget()
Definition: associationrolepage.cpp:56
KComboBox * m_pMultiBCB
Definition: associationrolepage.h:40
QLineEdit * m_pRoleALE
Definition: associationrolepage.h:39
AssociationRolePage(QWidget *parent, AssociationWidget *a)
Definition: associationrolepage.cpp:37
QRadioButton * m_ChangeableARB
Definition: associationrolepage.h:44
QRadioButton * m_ChangeableBRB
Definition: associationrolepage.h:45
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:47
Definition: dialogpagebase.h:20
Displays an instance of a Concept.
Definition: objectwidget.h:28
Definition: umldoc.h:63
The base class for UML objects.
Definition: umlobject.h:70
Definition: visibilityenumwidget.h:22
QString a
Definition: petalnode.cpp:13