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

umbrello 25.04.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 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
11class AssociationWidget;
12class KComboBox;
13class QLineEdit;
14class QTextEdit;
15class ObjectWidget;
16class QRadioButton;
17class UMLDoc;
18class UMLObject;
19class VisibilityEnumWidget;
20
29 class AssociationRolePage : public DialogPageBase
30{
31 Q_OBJECT
32public:
33 AssociationRolePage(QWidget *parent, AssociationWidget *a);
34 ~AssociationRolePage();
35
36 void apply();
37
38private:
39 QLineEdit *m_pRoleALE, *m_pRoleBLE;
40 KComboBox *m_pMultiACB, *m_pMultiBCB;
41 QTextEdit *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();
50public 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
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:238
AssociationRolePage::m_visibilityWidgetB
VisibilityEnumWidget * m_visibilityWidgetB
Definition associationrolepage.h:47
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::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
AssociationRolePage::m_docB
QTextEdit * m_docB
Definition associationrolepage.h:41
AssociationRolePage::m_docA
QTextEdit * m_docA
Definition associationrolepage.h:41
AssociationWidget
This class represents an association inside a diagram. Bugs and comments to umbrello-devel@kde....
Definition associationwidget.h:47
DialogPageBase::DialogPageBase
DialogPageBase(QWidget *parent)
Definition dialogpagebase.cpp:16
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