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

#include <classwizard.h>

Inheritance diagram for ClassWizard:
Collaboration diagram for ClassWizard:

Public Member Functions

 ClassWizard (UMLDoc *doc)
 
 ~ClassWizard ()
 

Protected Slots

void showHelp ()
 

Private Member Functions

QWizardPage * createGeneralPage ()
 
QWizardPage * createAttributesPage ()
 
QWizardPage * createOperationsPage ()
 
void next ()
 
void back ()
 
void accept ()
 
void reject ()
 

Private Attributes

UMLDocm_doc
 
UMLClassifierm_pClass
 
ClassGeneralPagem_pGenPage
 
ClassifierListPagem_pAttPage
 
ClassifierListPagem_pOpPage
 
QWizardPage * m_GeneralPage
 
QWizardPage * m_AttributesPage
 
QWizardPage * m_OperationsPage
 

Detailed Description

Author
Paul Hensgen Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org

Constructor & Destructor Documentation

ClassWizard::ClassWizard ( UMLDoc doc)
explicit

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

Parameters
docthe UML document

Here is the call graph for this function:

ClassWizard::~ClassWizard ( )

Destructor.

Member Function Documentation

void ClassWizard::accept ( )
private

Finish button was called.

Todo:
Calling m_pGenPage->apply() twice is ugly, but without the first call the documentation of the class is cleared.

Here is the call graph for this function:

void ClassWizard::back ( )
private

Back button was called.

Here is the call graph for this function:

QWizardPage * ClassWizard::createAttributesPage ( )
private

Create page 2 of wizard - the class attributes editor.

QWizardPage * ClassWizard::createGeneralPage ( )
private

Create page 1 of wizard - the general class info.

QWizardPage * ClassWizard::createOperationsPage ( )
private

Create page 3 of wizard - the class operations editor.

void ClassWizard::next ( )
private

Advances to the next page. Is called when the next button is pressed.

Here is the call graph for this function:

void ClassWizard::reject ( )
private

Cancel button was called.

Here is the call graph for this function:

void ClassWizard::showHelp ( )
protectedslot

Opens Umbrello handbook. Is called when help button is pressed.

Member Data Documentation

QWizardPage* ClassWizard::m_AttributesPage
private
UMLDoc* ClassWizard::m_doc
private
QWizardPage* ClassWizard::m_GeneralPage
private
QWizardPage* ClassWizard::m_OperationsPage
private
ClassifierListPage* ClassWizard::m_pAttPage
private
UMLClassifier* ClassWizard::m_pClass
private
ClassGeneralPage* ClassWizard::m_pGenPage
private
ClassifierListPage* ClassWizard::m_pOpPage
private

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