umbrello: umbrello/codegenwizard/codegenerationwizard.h Source File

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

codegenerationwizard.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 *
8 * Luis De la Parra <luis@delaparra.org> *
9 * copyright (C) 2003-2020 *
10 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
11 ***************************************************************************/
12 #ifndef CODEGENERATIONWIZARD_H
13 #define CODEGENERATIONWIZARD_H
14
15 // app includes
16 #include "umlclassifierlist.h"
17
18 // qt includes
19 #include <QWizard>
20
21 class QWizardPage;
22 class QListWidget;
23 class CodeGenSelectPage;
24 class CodeGenOptionsPage;
25 class CodeGenStatusPage;
26
32 class CodeGenerationWizard : public QWizard
33 {
34 Q_OBJECT
35 public:
36 enum {OptionsPage, SelectionPage, StatusPage};
37
38 explicit CodeGenerationWizard(UMLClassifierList *classList);
39 ~CodeGenerationWizard();
40
41 QListWidget* getSelectionListWidget();
42
43 protected slots:
44 void slotLanguageChanged();
45
46 private:
47 QWizardPage* createSelectionPage(UMLClassifierList *classList);
48 QWizardPage* createOptionsPage();
49 QWizardPage* createStatusPage();
50
51 CodeGenSelectPage *m_SelectionPage;
52 CodeGenOptionsPage *m_OptionsPage;
53 CodeGenStatusPage *m_StatusPage;
54
55 };
56
57 #endif
Icon_Utils::DesktopIcon
QPixmap DesktopIcon(IconType type)
Definition: icon_utils.cpp:97
CodeGenSelectPage::setClassifierList
void setClassifierList(UMLClassifierList *classList)
Definition: codegenselectpage.cpp:55
CodeGenerationWizard::SelectionPage
@ SelectionPage
Definition: codegenerationwizard.h:36
CodeGenerationWizard::createStatusPage
QWizardPage * createStatusPage()
Definition: codegenerationwizard.cpp:85
codegenoptionspage.h
CodeGenerationWizard::StatusPage
@ StatusPage
Definition: codegenerationwizard.h:36
codegenerationwizard.h
UMLClassifierList
QList< UMLClassifier * > UMLClassifierList
Definition: umlclassifierlist.h:17
codegenselectpage.h
CodeGenerationWizard::CodeGenerationWizard
CodeGenerationWizard(UMLClassifierList *classList)
Definition: codegenerationwizard.cpp:36
CodeGenerationWizard::m_OptionsPage
CodeGenOptionsPage * m_OptionsPage
Definition: codegenerationwizard.h:52
CodeGenerationWizard::getSelectionListWidget
QListWidget * getSelectionListWidget()
Definition: codegenerationwizard.cpp:97
CodeGenSelectPage::getSelectionListWidget
QListWidget * getSelectionListWidget()
Definition: codegenselectpage.cpp:100
CodeGenOptionsPage
Definition: codegenoptionspage.h:36
UMLApp
Definition: uml.h:100
CodeGenerationWizard::createSelectionPage
QWizardPage * createSelectionPage(UMLClassifierList *classList)
Definition: codegenerationwizard.cpp:62
codegenstatuspage.h
i18n
#define i18n
Definition: main.cpp:39
umlclassifierlist.h
CodeGenStatusPage
Definition: codegenstatuspage.h:35
CodeGenerationWizard::createOptionsPage
QWizardPage * createOptionsPage()
Definition: codegenerationwizard.cpp:74
CodeGenerationWizard::~CodeGenerationWizard
~CodeGenerationWizard()
Definition: codegenerationwizard.cpp:53
MyProject\connect
connect()
Definition: namespaces-multiple.php:5
CodeGenerationWizard::slotLanguageChanged
void slotLanguageChanged()
Definition: codegenerationwizard.cpp:105
CodeGenSelectPage
Definition: codegenselectpage.h:26
classifier.h
uml.h
icon_utils.h
Icon_Utils::it_Code_Gen_Wizard
@ it_Code_Gen_Wizard
Definition: icon_utils.h:234
CodeGenerationWizard::m_StatusPage
CodeGenStatusPage * m_StatusPage
Definition: codegenerationwizard.h:53
CodeGenerationWizard::OptionsPage
@ OptionsPage
Definition: codegenerationwizard.h:36
CodeGenerationWizard::m_SelectionPage
CodeGenSelectPage * m_SelectionPage
Definition: codegenerationwizard.h:51
CodeGenerationWizard
Definition: codegenerationwizard.h:33