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

activitydialog.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 ACTIVITYDIALOG_H
7#define ACTIVITYDIALOG_H
8
9#include <multipagedialogbase.h>
10
11//forward declarations
12 class ActivityWidget;
13 class DocumentationWidget;
14 class QLineEdit;
15 class QLabel;
16 class QGroupBox;
17 class QRadioButton;
18 class UMLView;
19
26 class ActivityDialog : public MultiPageDialogBase
27{
28 Q_OBJECT
29 public:
30 ActivityDialog(QWidget * parent, ActivityWidget * pWidget);
31
32 bool getChangesMade() const {
33 return m_bChangesMade;
34 }
35
36 protected slots:
37 void slotOk();
38 void slotApply();
39 void slotShowActivityParameter();
40 void slotHideActivityParameter();
41
42 protected:
43 void setupPages();
44 void setupGeneralPage();
45
46 void showParameterActivity();
47
48 void applyPage(KPageWidgetItem *);
49
50 ActivityWidget *m_pActivityWidget;
51 UMLView *m_pView;
52 bool m_bChangesMade;
53
54 struct GeneralPageWidgets {
55 QLabel * nameL, * typeL, * preL, * postL;
56 QLineEdit * nameLE, * typeLE, * preLE, * postLE;
57 DocumentationWidget *docWidget;
58 QRadioButton * NormalRB, * ParamRB, * InvokRB; // this is to implement the parameter node activity or an invok action
59 QGroupBox * generalGB;
60 }
61 m_GenPageWidgets;
62
63 KPageWidgetItem *pageItemGeneral, *pageItemFont, *pageItemStyle;
64};
65
66#endif
ActivityDialog
Definition activitydialog.h:27
ActivityDialog::slotOk
void slotOk()
Definition activitydialog.cpp:47
ActivityDialog::setupPages
void setupPages()
Definition activitydialog.cpp:88
ActivityDialog::m_bChangesMade
bool m_bChangesMade
holds whether changes in the dialog have been made
Definition activitydialog.h:52
ActivityDialog::getChangesMade
bool getChangesMade() const
Definition activitydialog.h:32
ActivityDialog::m_pActivityWidget
ActivityWidget * m_pActivityWidget
the widget to represent
Definition activitydialog.h:50
ActivityDialog::m_pView
UMLView * m_pView
the diagram the widget is on
Definition activitydialog.h:51
ActivityDialog::slotHideActivityParameter
void slotHideActivityParameter()
Definition activitydialog.cpp:77
ActivityDialog::m_GenPageWidgets
struct ActivityDialog::GeneralPageWidgets m_GenPageWidgets
ActivityDialog::pageItemStyle
KPageWidgetItem * pageItemStyle
Definition activitydialog.h:63
ActivityDialog::applyPage
void applyPage(KPageWidgetItem *)
Definition activitydialog.cpp:98
ActivityDialog::setupGeneralPage
void setupGeneralPage()
Definition activitydialog.cpp:137
ActivityDialog::ActivityDialog
ActivityDialog(QWidget *parent, ActivityWidget *pWidget)
Definition activitydialog.cpp:32
ActivityDialog::pageItemFont
KPageWidgetItem * pageItemFont
Definition activitydialog.h:63
ActivityDialog::showParameterActivity
void showParameterActivity()
Definition activitydialog.cpp:218
ActivityDialog::slotApply
void slotApply()
Definition activitydialog.cpp:58
ActivityDialog::pageItemGeneral
KPageWidgetItem * pageItemGeneral
Definition activitydialog.h:63
ActivityDialog::slotShowActivityParameter
void slotShowActivityParameter()
Definition activitydialog.cpp:63
ActivityWidget
A graphical version of a UML Activity.
Definition activitywidget.h:29
DocumentationWidget
Definition documentationwidget.h:22
MultiPageDialogBase
Definition multipagedialogbase.h:47
UMLView
Definition umlview.h:30
multipagedialogbase.h
ActivityDialog::GeneralPageWidgets
Definition activitydialog.h:54
ActivityDialog::GeneralPageWidgets::postLE
QLineEdit * postLE
Definition activitydialog.h:56
ActivityDialog::GeneralPageWidgets::preLE
QLineEdit * preLE
Definition activitydialog.h:56
ActivityDialog::GeneralPageWidgets::docWidget
DocumentationWidget * docWidget
Definition activitydialog.h:57
ActivityDialog::GeneralPageWidgets::nameL
QLabel * nameL
Definition activitydialog.h:55
ActivityDialog::GeneralPageWidgets::preL
QLabel * preL
Definition activitydialog.h:55
ActivityDialog::GeneralPageWidgets::generalGB
QGroupBox * generalGB
Definition activitydialog.h:59
ActivityDialog::GeneralPageWidgets::nameLE
QLineEdit * nameLE
Definition activitydialog.h:56
ActivityDialog::GeneralPageWidgets::typeLE
QLineEdit * typeLE
Definition activitydialog.h:56
ActivityDialog::GeneralPageWidgets::typeL
QLabel * typeL
Definition activitydialog.h:55
ActivityDialog::GeneralPageWidgets::NormalRB
QRadioButton * NormalRB
Definition activitydialog.h:58
ActivityDialog::GeneralPageWidgets::InvokRB
QRadioButton * InvokRB
Definition activitydialog.h:58
ActivityDialog::GeneralPageWidgets::ParamRB
QRadioButton * ParamRB
Definition activitydialog.h:58
ActivityDialog::GeneralPageWidgets::postL
QLabel * postL
Definition activitydialog.h:55