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

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

activitypage.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) 2002-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef ACTIVITYPAGE_H
12 #define ACTIVITYPAGE_H
13
14 #include "dialogpagebase.h"
15
16 //qt includes
17 #include <QListWidgetItem>
18 #include <QWidget>
19
20 class StateWidget;
21 class QGroupBox;
22 class QListWidget;
23 class QPushButton;
24 class QToolButton;
25
30 class ActivityPage : public DialogPageBase
31 {
32 Q_OBJECT
33 public:
34
35 ActivityPage(QWidget * pParent, StateWidget * pWidget);
36 ~ActivityPage();
37
38 void setupPage();
39
40 void updateActivities();
41
42 protected:
43
44 void enableWidgets(bool state);
45
49 StateWidget * m_pStateWidget;
50
54 QListWidget* m_pActivityLW;
55 QGroupBox* m_pActivityGB;
56 QToolButton* m_pUpArrowB;
57 QToolButton* m_pDownArrowB;
58 QToolButton* m_pTopArrowB;
59 QToolButton* m_pBottomArrowB;
60 QPushButton* m_pDeleteActivityButton;
61 QPushButton* m_pRenameButton;
62
63 public slots:
64
65 void slotMenuSelection(QAction* action);
66 void slotClicked(QListWidgetItem* item);
67 void slotDoubleClicked(QListWidgetItem* item);
68 void slotRightButtonPressed(const QPoint& p);
69
70 void slotTopClicked();
71 void slotUpClicked();
72 void slotDownClicked();
73 void slotBottomClicked();
74 void slotNewActivity();
75 void slotDelete();
76 void slotRename();
77 };
78
79 #endif
ActivityPage
Definition: activitypage.h:31
ActivityPage::slotDoubleClicked
void slotDoubleClicked(QListWidgetItem *item)
Definition: activitypage.cpp:312
ActivityPage::m_pStateWidget
StateWidget * m_pStateWidget
Definition: activitypage.h:49
ActivityPage::slotRightButtonPressed
void slotRightButtonPressed(const QPoint &p)
Definition: activitypage.cpp:219
ActivityPage::m_pTopArrowB
QToolButton * m_pTopArrowB
Definition: activitypage.h:58
ActivityPage::slotClicked
void slotClicked(QListWidgetItem *item)
Definition: activitypage.cpp:301
ActivityPage::enableWidgets
void enableWidgets(bool state)
Definition: activitypage.cpp:323
ActivityPage::slotDelete
void slotDelete()
Definition: activitypage.cpp:198
ActivityPage::~ActivityPage
~ActivityPage()
Definition: activitypage.cpp:49
ActivityPage::setupPage
void setupPage()
Definition: activitypage.cpp:56
ActivityPage::m_pBottomArrowB
QToolButton * m_pBottomArrowB
Definition: activitypage.h:59
ActivityPage::m_pDeleteActivityButton
QPushButton * m_pDeleteActivityButton
Definition: activitypage.h:60
ActivityPage::m_pUpArrowB
QToolButton * m_pUpArrowB
Definition: activitypage.h:56
ActivityPage::updateActivities
void updateActivities()
Definition: activitypage.cpp:153
ActivityPage::m_pActivityGB
QGroupBox * m_pActivityGB
Definition: activitypage.h:55
ActivityPage::m_pDownArrowB
QToolButton * m_pDownArrowB
Definition: activitypage.h:57
ActivityPage::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition: activitypage.cpp:166
ActivityPage::slotTopClicked
void slotTopClicked()
Definition: activitypage.cpp:234
ActivityPage::slotDownClicked
void slotDownClicked()
Definition: activitypage.cpp:268
ActivityPage::slotRename
void slotRename()
Definition: activitypage.cpp:206
ActivityPage::slotBottomClicked
void slotBottomClicked()
Definition: activitypage.cpp:285
ActivityPage::ActivityPage
ActivityPage(QWidget *pParent, StateWidget *pWidget)
Definition: activitypage.cpp:39
ActivityPage::slotNewActivity
void slotNewActivity()
Definition: activitypage.cpp:187
ActivityPage::m_pActivityLW
QListWidget * m_pActivityLW
Definition: activitypage.h:54
ActivityPage::slotUpClicked
void slotUpClicked()
Definition: activitypage.cpp:251
ActivityPage::m_pRenameButton
QPushButton * m_pRenameButton
Definition: activitypage.h:61
DialogPageBase
Definition: dialogpagebase.h:25
StateWidget
A graphical version of a UML State.
Definition: statewidget.h:39
dialogpagebase.h