umbrello  2.35.1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
Public Types | Public Member Functions | Protected Slots | Private Member Functions | Private Attributes | List of all members
CodeGenerationWizard Class Reference

#include <codegenerationwizard.h>

Inheritance diagram for CodeGenerationWizard:
Collaboration diagram for CodeGenerationWizard:

Public Types

enum  { OptionsPage, SelectionPage, StatusPage }
 

Public Member Functions

 CodeGenerationWizard (UMLClassifierList *classList)
 
 ~CodeGenerationWizard ()
 
QListWidget * getSelectionListWidget ()
 

Protected Slots

void slotLanguageChanged ()
 

Private Member Functions

QWizardPage * createSelectionPage (UMLClassifierList *classList)
 
QWizardPage * createOptionsPage ()
 
QWizardPage * createStatusPage ()
 

Private Attributes

CodeGenSelectPagem_SelectionPage
 
CodeGenOptionsPagem_OptionsPage
 
CodeGenStatusPagem_StatusPage
 

Detailed Description

Author
Luis De la Parra based on wizard from Paul Hensgen
Andi Fischer refactored and ported to QWizard

Member Enumeration Documentation

anonymous enum
Enumerator
OptionsPage 
SelectionPage 
StatusPage 

Constructor & Destructor Documentation

CodeGenerationWizard::CodeGenerationWizard ( UMLClassifierList classList)
explicit

Constructor. Sets up the wizard and loads the wizard pages. Each wizard page has its own class.

Parameters
classListthe list of classes, which have to be generated

Here is the call graph for this function:

CodeGenerationWizard::~CodeGenerationWizard ( )

Destructor.

Member Function Documentation

QWizardPage * CodeGenerationWizard::createOptionsPage ( )
private

Creates the code generation options page, which allows to tune the code generation by setting some parameters.

Returns
the wizard page
QWizardPage * CodeGenerationWizard::createSelectionPage ( UMLClassifierList classList)
private

Creates the class selection page.

Parameters
classListthe list of classes, which have to be generated
Returns
the wizard page

Here is the call graph for this function:

QWizardPage * CodeGenerationWizard::createStatusPage ( )
private

Creates the code generation status page, which shows the progress of the generation.

Returns
the wizard page
QListWidget * CodeGenerationWizard::getSelectionListWidget ( )

Returns the list widget, which holds the classes for generation. With this function the list of classes to generate can be transferred from the select page to the status page.

Returns
the list widget

Here is the call graph for this function:

void CodeGenerationWizard::slotLanguageChanged ( )
protectedslot

Slot to handle generator language change.

Here is the call graph for this function:

Member Data Documentation

CodeGenOptionsPage* CodeGenerationWizard::m_OptionsPage
private
CodeGenSelectPage* CodeGenerationWizard::m_SelectionPage
private
CodeGenStatusPage* CodeGenerationWizard::m_StatusPage
private

The documentation for this class was generated from the following files: