umbrello  2.31.3
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;
25 
35 {
36  Q_OBJECT
37 public:
38  AssociationRolePage(QWidget *parent, AssociationWidget *a);
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;
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
Displays an instance of a Concept.
Definition: objectwidget.h:32
Definition: visibilityenumwidget.h:26
Display properties on a UMLObject.
Definition: associationrolepage.h:34
Definition: dialogpagebase.h:24
QString a
Definition: petalnode.cpp:18
AssociationWidget * m_pAssociationWidget
Definition: associationrolepage.h:47
KLineEdit * m_pRoleBLE
Definition: associationrolepage.h:44
KComboBox * m_pMultiACB
Definition: associationrolepage.h:45
void apply()
Definition: associationrolepage.cpp:244
QRadioButton * m_ChangeableARB
Definition: associationrolepage.h:49
The base class for UML objects.
Definition: umlobject.h:73
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde.org or https://bugs.kde.org.
Definition: associationwidget.h:51
QRadioButton * m_FrozenARB
Definition: associationrolepage.h:49
~AssociationRolePage()
Definition: associationrolepage.cpp:57
void constructWidget()
Definition: associationrolepage.cpp:61
QRadioButton * m_AddOnlyARB
Definition: associationrolepage.h:49
VisibilityEnumWidget * m_visibilityWidgetB
Definition: associationrolepage.h:52
QRadioButton * m_ChangeableBRB
Definition: associationrolepage.h:50
KComboBox * m_pMultiBCB
Definition: associationrolepage.h:45
AssociationRolePage(QWidget *parent, AssociationWidget *a)
Definition: associationrolepage.cpp:42
QRadioButton * m_FrozenBRB
Definition: associationrolepage.h:50
ObjectWidget * m_pWidget
Definition: associationrolepage.h:48
QRadioButton * m_AddOnlyBRB
Definition: associationrolepage.h:50
KTextEdit * m_docA
Definition: associationrolepage.h:46
KLineEdit * m_pRoleALE
Definition: associationrolepage.h:44
KTextEdit * m_docB
Definition: associationrolepage.h:46
VisibilityEnumWidget * m_visibilityWidgetA
Definition: associationrolepage.h:51
Definition: umldoc.h:74