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

classwizard.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 CLASSWIZARD_H
7#define CLASSWIZARD_H
8
9// qt includes
10#include <QWizard>
11
12 class QWizardPage;
13 class ClassifierListPage;
14 class ClassGeneralPage;
15 class UMLClassifier;
16 class UMLDoc;
17
22 class ClassWizard : public QWizard
23{
24 Q_OBJECT
25 public:
26 explicit ClassWizard(UMLDoc* doc);
27 ~ClassWizard();
28
29 private:
30 UMLDoc * m_doc; //< Document currently opened.
31 UMLClassifier * m_pClass; //< Class to create.
32
33 ClassGeneralPage * m_pGenPage; //< General class info.
34 ClassifierListPage * m_pAttPage; //< Class attributes.
35 ClassifierListPage * m_pOpPage; //< Class operations.
36
37 QWizardPage * m_GeneralPage;
38 QWizardPage * m_AttributesPage;
39 QWizardPage * m_OperationsPage;
40
41 QWizardPage* createGeneralPage();
42 QWizardPage* createAttributesPage();
43 QWizardPage* createOperationsPage();
44
45 void next();
46 void back();
47 void accept();
48 void reject();
49
50 protected slots:
51 void showHelp();
52
53};
54
55#endif
ClassGeneralPage
Display properties on a UMLObject.
Definition classgeneralpage.h:41
ClassWizard
Definition classwizard.h:23
ClassWizard::createOperationsPage
QWizardPage * createOperationsPage()
Definition classwizard.cpp:110
ClassWizard::createGeneralPage
QWizardPage * createGeneralPage()
Definition classwizard.cpp:74
ClassWizard::~ClassWizard
~ClassWizard()
Definition classwizard.cpp:67
ClassWizard::m_pGenPage
ClassGeneralPage * m_pGenPage
Definition classwizard.h:33
ClassWizard::m_OperationsPage
QWizardPage * m_OperationsPage
Definition classwizard.h:39
ClassWizard::m_pOpPage
ClassifierListPage * m_pOpPage
Definition classwizard.h:35
ClassWizard::createAttributesPage
QWizardPage * createAttributesPage()
Definition classwizard.cpp:92
ClassWizard::back
void back()
Definition classwizard.cpp:142
ClassWizard::m_pClass
UMLClassifier * m_pClass
Definition classwizard.h:31
ClassWizard::m_GeneralPage
QWizardPage * m_GeneralPage
Definition classwizard.h:37
ClassWizard::m_AttributesPage
QWizardPage * m_AttributesPage
Definition classwizard.h:38
ClassWizard::next
void next()
Definition classwizard.cpp:128
ClassWizard::ClassWizard
ClassWizard(UMLDoc *doc)
Definition classwizard.cpp:33
ClassWizard::m_pAttPage
ClassifierListPage * m_pAttPage
Definition classwizard.h:34
ClassWizard::reject
void reject()
Definition classwizard.cpp:175
ClassWizard::showHelp
void showHelp()
Definition classwizard.cpp:184
ClassWizard::m_doc
UMLDoc * m_doc
Definition classwizard.h:30
ClassWizard::accept
void accept()
Definition classwizard.cpp:158
ClassifierListPage
A dialog page to display classifier properties.
Definition classifierlistpage.h:35
UMLClassifier
Information for a non-graphical Concept/Class.
Definition classifier.h:35
UMLDoc
Definition umldoc.h:63