umbrello 2.39.2 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

objectnodedialog.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2021 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef OBJECTNODEDIALOG_H
7#define OBJECTNODEDIALOG_H
8
9// local class includes
10#include "multipagedialogbase.h"
11
12//forward declarations
13 class DocumentationWidget;
14 class UMLView;
15 class ObjectNodeWidget;
16 class QGroupBox;
17 class QLabel;
18 class QRadioButton;
19 class QLineEdit;
20
27 class ObjectNodeDialog : public MultiPageDialogBase
28{
29 Q_OBJECT
30 public:
31 ObjectNodeDialog(QWidget *parent, ObjectNodeWidget * pWidget);
32
33 bool getChangesMade() const {
34 return m_bChangesMade;
35 }
36
37 protected slots:
38 void slotOk();
39
40 void slotApply();
41
42 void slotShowState();
43 void slotHideState();
44
45 protected:
46 void setupPages();
47
48 void setupGeneralPage();
49
50 void showState();
51
52 void applyPage(KPageWidgetItem *);
53
54 ObjectNodeWidget *m_pObjectNodeWidget;
55 UMLView *m_pView;
56 bool m_bChangesMade;
57
58 struct GeneralPageWidgets {
59 QLabel * nameL, * typeL, * stateL;
60 QLineEdit * nameLE, * typeLE, * stateLE;
61 QRadioButton * bufferRB, * dataRB, * flowRB;
62 QGroupBox * generalGB;
63 DocumentationWidget *docWidget;
64 }
65 m_GenPageWidgets;
66
67 KPageWidgetItem * pageItemGeneral, * pageItemFont, * pageItemStyle;
68};
69
70#endif
DocumentationWidget
Definition documentationwidget.h:22
MultiPageDialogBase
Definition multipagedialogbase.h:47
ObjectNodeDialog
Definition objectnodedialog.h:28
ObjectNodeDialog::slotHideState
void slotHideState()
Definition objectnodedialog.cpp:72
ObjectNodeDialog::applyPage
void applyPage(KPageWidgetItem *)
Definition objectnodedialog.cpp:91
ObjectNodeDialog::slotShowState
void slotShowState()
Definition objectnodedialog.cpp:64
ObjectNodeDialog::slotApply
void slotApply()
Definition objectnodedialog.cpp:59
ObjectNodeDialog::ObjectNodeDialog
ObjectNodeDialog(QWidget *parent, ObjectNodeWidget *pWidget)
Definition objectnodedialog.cpp:34
ObjectNodeDialog::m_bChangesMade
bool m_bChangesMade
holds whether changes in the dialog have been made
Definition objectnodedialog.h:56
ObjectNodeDialog::pageItemGeneral
KPageWidgetItem * pageItemGeneral
Definition objectnodedialog.h:67
ObjectNodeDialog::setupGeneralPage
void setupGeneralPage()
Definition objectnodedialog.cpp:123
ObjectNodeDialog::m_GenPageWidgets
struct ObjectNodeDialog::GeneralPageWidgets m_GenPageWidgets
ObjectNodeDialog::setupPages
void setupPages()
Definition objectnodedialog.cpp:81
ObjectNodeDialog::m_pView
UMLView * m_pView
the diagram the widget is on
Definition objectnodedialog.h:55
ObjectNodeDialog::pageItemFont
KPageWidgetItem * pageItemFont
Definition objectnodedialog.h:67
ObjectNodeDialog::getChangesMade
bool getChangesMade() const
Definition objectnodedialog.h:33
ObjectNodeDialog::pageItemStyle
KPageWidgetItem * pageItemStyle
Definition objectnodedialog.h:67
ObjectNodeDialog::showState
void showState()
Definition objectnodedialog.cpp:200
ObjectNodeDialog::m_pObjectNodeWidget
ObjectNodeWidget * m_pObjectNodeWidget
the widget to represent
Definition objectnodedialog.h:54
ObjectNodeDialog::slotOk
void slotOk()
Definition objectnodedialog.cpp:48
ObjectNodeWidget
A graphical version of a UML Activity.
Definition objectnodewidget.h:24
UMLView
Definition umlview.h:30
multipagedialogbase.h
ObjectNodeDialog::GeneralPageWidgets
Definition objectnodedialog.h:58
ObjectNodeDialog::GeneralPageWidgets::bufferRB
QRadioButton * bufferRB
Definition objectnodedialog.h:61
ObjectNodeDialog::GeneralPageWidgets::stateLE
QLineEdit * stateLE
Definition objectnodedialog.h:60
ObjectNodeDialog::GeneralPageWidgets::dataRB
QRadioButton * dataRB
Definition objectnodedialog.h:61
ObjectNodeDialog::GeneralPageWidgets::docWidget
DocumentationWidget * docWidget
Definition objectnodedialog.h:63
ObjectNodeDialog::GeneralPageWidgets::nameLE
QLineEdit * nameLE
Definition objectnodedialog.h:60
ObjectNodeDialog::GeneralPageWidgets::stateL
QLabel * stateL
Definition objectnodedialog.h:59
ObjectNodeDialog::GeneralPageWidgets::flowRB
QRadioButton * flowRB
Definition objectnodedialog.h:61
ObjectNodeDialog::GeneralPageWidgets::generalGB
QGroupBox * generalGB
Definition objectnodedialog.h:62
ObjectNodeDialog::GeneralPageWidgets::nameL
QLabel * nameL
Definition objectnodedialog.h:59
ObjectNodeDialog::GeneralPageWidgets::typeL
QLabel * typeL
Definition objectnodedialog.h:59
ObjectNodeDialog::GeneralPageWidgets::typeLE
QLineEdit * typeLE
Definition objectnodedialog.h:60