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

activitypage.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2002-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef ACTIVITYPAGE_H
7#define ACTIVITYPAGE_H
8
9#include "dialogpagebase.h"
10
11//qt includes
12#include <QListWidgetItem>
13#include <QWidget>
14
15 class StateWidget;
16 class QGroupBox;
17 class QListWidget;
18 class QPushButton;
19 class QToolButton;
20
25 class ActivityPage : public DialogPageBase
26{
27 Q_OBJECT
28 public:
29
30 ActivityPage(QWidget * pParent, StateWidget * pWidget);
31 ~ActivityPage();
32
33 void setupPage();
34
35 void updateActivities();
36
37 protected:
38
39 void enableWidgets(bool state);
40
44 StateWidget * m_pStateWidget;
45
49 QListWidget* m_pActivityLW;
50 QGroupBox* m_pActivityGB;
51 QToolButton* m_pUpArrowB;
52 QToolButton* m_pDownArrowB;
53 QToolButton* m_pTopArrowB;
54 QToolButton* m_pBottomArrowB;
55 QPushButton* m_pDeleteActivityButton;
56 QPushButton* m_pRenameButton;
57
58 public slots:
59
60 void slotMenuSelection(QAction* action);
61 void slotClicked(QListWidgetItem* item);
62 void slotDoubleClicked(QListWidgetItem* item);
63 void slotRightButtonPressed(const QPoint& p);
64
65 void slotTopClicked();
66 void slotUpClicked();
67 void slotDownClicked();
68 void slotBottomClicked();
69 void slotNewActivity();
70 void slotDelete();
71 void slotRename();
72};
73
74#endif
ActivityPage
Definition activitypage.h:26
ActivityPage::slotDoubleClicked
void slotDoubleClicked(QListWidgetItem *item)
Definition activitypage.cpp:295
ActivityPage::m_pStateWidget
StateWidget * m_pStateWidget
Definition activitypage.h:44
ActivityPage::slotRightButtonPressed
void slotRightButtonPressed(const QPoint &p)
Definition activitypage.cpp:202
ActivityPage::m_pTopArrowB
QToolButton * m_pTopArrowB
Definition activitypage.h:53
ActivityPage::slotClicked
void slotClicked(QListWidgetItem *item)
Definition activitypage.cpp:284
ActivityPage::enableWidgets
void enableWidgets(bool state)
Definition activitypage.cpp:306
ActivityPage::slotDelete
void slotDelete()
Definition activitypage.cpp:181
ActivityPage::~ActivityPage
~ActivityPage()
Definition activitypage.cpp:41
ActivityPage::setupPage
void setupPage()
Definition activitypage.cpp:48
ActivityPage::m_pBottomArrowB
QToolButton * m_pBottomArrowB
Definition activitypage.h:54
ActivityPage::m_pDeleteActivityButton
QPushButton * m_pDeleteActivityButton
Definition activitypage.h:55
ActivityPage::m_pUpArrowB
QToolButton * m_pUpArrowB
Definition activitypage.h:51
ActivityPage::updateActivities
void updateActivities()
Definition activitypage.cpp:135
ActivityPage::m_pActivityGB
QGroupBox * m_pActivityGB
Definition activitypage.h:50
ActivityPage::m_pDownArrowB
QToolButton * m_pDownArrowB
Definition activitypage.h:52
ActivityPage::slotMenuSelection
void slotMenuSelection(QAction *action)
Definition activitypage.cpp:148
ActivityPage::slotTopClicked
void slotTopClicked()
Definition activitypage.cpp:217
ActivityPage::slotDownClicked
void slotDownClicked()
Definition activitypage.cpp:251
ActivityPage::slotRename
void slotRename()
Definition activitypage.cpp:189
ActivityPage::slotBottomClicked
void slotBottomClicked()
Definition activitypage.cpp:268
ActivityPage::ActivityPage
ActivityPage(QWidget *pParent, StateWidget *pWidget)
Definition activitypage.cpp:31
ActivityPage::slotNewActivity
void slotNewActivity()
Definition activitypage.cpp:170
ActivityPage::m_pActivityLW
QListWidget * m_pActivityLW
Definition activitypage.h:49
ActivityPage::slotUpClicked
void slotUpClicked()
Definition activitypage.cpp:234
ActivityPage::m_pRenameButton
QPushButton * m_pRenameButton
Definition activitypage.h:56
DialogPageBase
Definition dialogpagebase.h:20
StateWidget
A graphical version of a UML State.
Definition statewidget.h:34
dialogpagebase.h