umbrello 2.38.4
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::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::~ClassWizard ( )

Destructor.

Member Function Documentation

◆ accept()

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:

◆ back()

void ClassWizard::back ( )
private

Back button was called.

Here is the call graph for this function:

◆ createAttributesPage()

QWizardPage * ClassWizard::createAttributesPage ( )
private

Create page 2 of wizard - the class attributes editor.

◆ createGeneralPage()

QWizardPage * ClassWizard::createGeneralPage ( )
private

Create page 1 of wizard - the general class info.

◆ createOperationsPage()

QWizardPage * ClassWizard::createOperationsPage ( )
private

Create page 3 of wizard - the class operations editor.

◆ next()

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:

◆ reject()

void ClassWizard::reject ( )
private

Cancel button was called.

Here is the call graph for this function:

◆ showHelp

void ClassWizard::showHelp ( )
protectedslot

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

Member Data Documentation

◆ m_AttributesPage

QWizardPage* ClassWizard::m_AttributesPage
private

◆ m_doc

UMLDoc* ClassWizard::m_doc
private

◆ m_GeneralPage

QWizardPage* ClassWizard::m_GeneralPage
private

◆ m_OperationsPage

QWizardPage* ClassWizard::m_OperationsPage
private

◆ m_pAttPage

ClassifierListPage* ClassWizard::m_pAttPage
private

◆ m_pClass

UMLClassifier* ClassWizard::m_pClass
private

◆ m_pGenPage

ClassGeneralPage* ClassWizard::m_pGenPage
private

◆ m_pOpPage

ClassifierListPage* ClassWizard::m_pOpPage
private

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