umbrello: umbrello/codegenwizard/codegenerationwizard.h Source File

umbrello 25.04.0 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 SPDX-License-Identifier: GPL-2.0-or-later
3
4 SPDX-FileCopyrightText: 2002 Luis De la Parra <luis@delaparra.org>
5 SPDX-FileCopyrightText: 2003-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
6*/
7#ifndef CODEGENERATIONWIZARD_H
8#define CODEGENERATIONWIZARD_H
9
10// app includes
11#include "umlclassifierlist.h"
12
13// qt includes
14#include <QWizard>
15
16class QWizardPage;
17class QListWidget;
18class CodeGenSelectPage;
19class CodeGenOptionsPage;
20class CodeGenStatusPage;
21
27 class CodeGenerationWizard : public QWizard
28{
29 Q_OBJECT
30public:
31 enum {OptionsPage, SelectionPage, StatusPage};
32
33 explicit CodeGenerationWizard(UMLClassifierList *classList);
34 ~CodeGenerationWizard();
35
36 QListWidget* getSelectionListWidget();
37
38protected Q_SLOTS:
39 void slotLanguageChanged();
40
41private:
42 QWizardPage* createSelectionPage(UMLClassifierList *classList);
43 QWizardPage* createOptionsPage();
44 QWizardPage* createStatusPage();
45
46 CodeGenSelectPage *m_SelectionPage;
47 CodeGenOptionsPage *m_OptionsPage;
48 CodeGenStatusPage *m_StatusPage;
49
50};
51
52#endif
CodeGenOptionsPage
Definition codegenoptionspage.h:31
CodeGenSelectPage
Definition codegenselectpage.h:21
CodeGenStatusPage
Definition codegenstatuspage.h:31
CodeGenerationWizard::CodeGenerationWizard
CodeGenerationWizard(UMLClassifierList *classList)
Definition codegenerationwizard.cpp:31
CodeGenerationWizard::m_OptionsPage
CodeGenOptionsPage * m_OptionsPage
Definition codegenerationwizard.h:47
CodeGenerationWizard::createStatusPage
QWizardPage * createStatusPage()
Definition codegenerationwizard.cpp:80
CodeGenerationWizard::createOptionsPage
QWizardPage * createOptionsPage()
Definition codegenerationwizard.cpp:69
CodeGenerationWizard::StatusPage
@ StatusPage
Definition codegenerationwizard.h:31
CodeGenerationWizard::SelectionPage
@ SelectionPage
Definition codegenerationwizard.h:31
CodeGenerationWizard::OptionsPage
@ OptionsPage
Definition codegenerationwizard.h:31
CodeGenerationWizard::m_StatusPage
CodeGenStatusPage * m_StatusPage
Definition codegenerationwizard.h:48
CodeGenerationWizard::m_SelectionPage
CodeGenSelectPage * m_SelectionPage
Definition codegenerationwizard.h:46
CodeGenerationWizard::createSelectionPage
QWizardPage * createSelectionPage(UMLClassifierList *classList)
Definition codegenerationwizard.cpp:57
CodeGenerationWizard::slotLanguageChanged
void slotLanguageChanged()
Definition codegenerationwizard.cpp:100
CodeGenerationWizard::~CodeGenerationWizard
~CodeGenerationWizard()
Definition codegenerationwizard.cpp:48
CodeGenerationWizard::getSelectionListWidget
QListWidget * getSelectionListWidget()
Definition codegenerationwizard.cpp:92
umlclassifierlist.h
UMLClassifierList
QList< UMLClassifier * > UMLClassifierList
Definition umlclassifierlist.h:14