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

umbrello 2.32.0 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 * This program is free software; you can redistribute it and/or modify *
3 * it under the terms of the GNU General Public License as published by *
4 * the Free Software Foundation; either version 2 of the License, or *
5 * (at your option) any later version. *
6 * *
7 * copyright (C) 2003-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef ASSOCIATIONROLEPAGE_H
12 #define ASSOCIATIONROLEPAGE_H
13
14 #include "dialogpagebase.h"
15
16 class AssociationWidget;
17 class KComboBox;
18 class KLineEdit;
19 class KTextEdit;
20 class ObjectWidget;
21 class QRadioButton;
22 class UMLDoc;
23 class UMLObject;
24 class VisibilityEnumWidget;
25
34 class AssociationRolePage : public DialogPageBase
35 {
36 Q_OBJECT
37 public:
38 AssociationRolePage(QWidget *parent, AssociationWidget *a);
39 ~AssociationRolePage();
40
41 void apply();
42
43 private:
44 KLineEdit *m_pRoleALE, *m_pRoleBLE;
45 KComboBox *m_pMultiACB, *m_pMultiBCB;
46 KTextEdit *m_docA, *m_docB;
47 AssociationWidget *m_pAssociationWidget;
48 ObjectWidget *m_pWidget;
49 QRadioButton *m_ChangeableARB, *m_AddOnlyARB, *m_FrozenARB;
50 QRadioButton *m_ChangeableBRB, *m_AddOnlyBRB, *m_FrozenBRB;
51 VisibilityEnumWidget *m_visibilityWidgetA;
52 VisibilityEnumWidget *m_visibilityWidgetB;
53
54 void constructWidget();
55
56 public slots:
57 // /**
58 // * When the draw as actor check box is toggled, the draw
59 // * as multi instance need to be enabled/disabled. They
60 // * both can't be available at the same time.
61 // */
62 // void slotActorToggled(bool state);
63
64 };
65
66 #endif
AssociationRolePage
Display properties on a UMLObject.
Definition: associationrolepage.h:35
AssociationRolePage::m_AddOnlyBRB
QRadioButton * m_AddOnlyBRB
Definition: associationrolepage.h:50
AssociationRolePage::m_FrozenBRB
QRadioButton * m_FrozenBRB
Definition: associationrolepage.h:50
AssociationRolePage::m_pRoleBLE
KLineEdit * m_pRoleBLE
Definition: associationrolepage.h:44
AssociationRolePage::~AssociationRolePage
~AssociationRolePage()
Definition: associationrolepage.cpp:57
AssociationRolePage::m_visibilityWidgetA
VisibilityEnumWidget * m_visibilityWidgetA
Definition: associationrolepage.h:51
AssociationRolePage::apply
void apply()
Definition: associationrolepage.cpp:244
AssociationRolePage::m_pRoleALE
KLineEdit * m_pRoleALE
Definition: associationrolepage.h:44
AssociationRolePage::m_visibilityWidgetB
VisibilityEnumWidget * m_visibilityWidgetB
Definition: associationrolepage.h:52
AssociationRolePage::m_docA
KTextEdit * m_docA
Definition: associationrolepage.h:46
AssociationRolePage::m_FrozenARB
QRadioButton * m_FrozenARB
Definition: associationrolepage.h:49
AssociationRolePage::m_pMultiACB
KComboBox * m_pMultiACB
Definition: associationrolepage.h:45
AssociationRolePage::m_AddOnlyARB
QRadioButton * m_AddOnlyARB
Definition: associationrolepage.h:49
AssociationRolePage::m_pAssociationWidget
AssociationWidget * m_pAssociationWidget
Definition: associationrolepage.h:47
AssociationRolePage::m_pWidget
ObjectWidget * m_pWidget
Definition: associationrolepage.h:48
AssociationRolePage::m_docB
KTextEdit * m_docB
Definition: associationrolepage.h:46
AssociationRolePage::constructWidget
void constructWidget()
Definition: associationrolepage.cpp:61
AssociationRolePage::m_pMultiBCB
KComboBox * m_pMultiBCB
Definition: associationrolepage.h:45
AssociationRolePage::AssociationRolePage
AssociationRolePage(QWidget *parent, AssociationWidget *a)
Definition: associationrolepage.cpp:42
AssociationRolePage::m_ChangeableARB
QRadioButton * m_ChangeableARB
Definition: associationrolepage.h:49
AssociationRolePage::m_ChangeableBRB
QRadioButton * m_ChangeableBRB
Definition: associationrolepage.h:50
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition: associationwidget.h:52
DialogPageBase
Definition: dialogpagebase.h:25
ObjectWidget
Displays an instance of a Concept.
Definition: objectwidget.h:33
UMLDoc
Definition: umldoc.h:75
UMLObject
The base class for UML objects.
Definition: umlobject.h:75
VisibilityEnumWidget
Definition: visibilityenumwidget.h:27
dialogpagebase.h
a
QString a
Definition: petalnode.cpp:18