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

#include <codegenstatuspage.h>

Inheritance diagram for CodeGenStatusPage:
Collaboration diagram for CodeGenStatusPage:

Public Member Functions

 CodeGenStatusPage (QWidget *parent=0)
 
 ~CodeGenStatusPage ()
 
void initializePage ()
 
bool isComplete () const
 

Protected Slots

void generateCode ()
 
void classGenerated (UMLClassifier *concept, bool generated)
 
void classGenerated (UMLClassifier *classifier, CodeGenerator::GenerationState state)
 
void populateStatusList ()
 
void showFileGenerated (const QString &filename)
 
void loggerClear ()
 
void loggerExport ()
 

Private Attributes

bool m_generationDone
 
- Private Attributes inherited from Ui_CodeGenStatusPage
QVBoxLayout * vboxLayout
 
QTabWidget * ui_tabWidget
 
QWidget * ui_statusTab
 
QVBoxLayout * verticalLayout
 
QTableWidget * ui_tableWidgetStatus
 
QWidget * ui_loggerTab
 
QVBoxLayout * verticalLayout_3
 
QVBoxLayout * verticalLayout_2
 
QTextEdit * ui_textEditLogger
 
QGridLayout * gridLayout_4
 
QPushButton * ui_pushButtonClear
 
QPushButton * ui_pushButtonExport
 
QHBoxLayout * hboxLayout
 
QPushButton * ui_pushButtonGenerate
 

Additional Inherited Members

- Private Member Functions inherited from Ui_CodeGenStatusPage
void setupUi (QWidget *CodeGenStatusPage)
 
void retranslateUi (QWidget *CodeGenStatusPage)
 

Detailed Description

Author
Luis De la Parra
Brian Thomas
Andi Fischer

Constructor & Destructor Documentation

◆ CodeGenStatusPage()

CodeGenStatusPage::CodeGenStatusPage ( QWidget *  parent = 0)
explicit

Constructor.

Parameters
parentthe parent (wizard) of this wizard page
Here is the call graph for this function:

◆ ~CodeGenStatusPage()

CodeGenStatusPage::~CodeGenStatusPage ( )

Destructor.

Member Function Documentation

◆ classGenerated [1/2]

void CodeGenStatusPage::classGenerated ( UMLClassifier classifier,
CodeGenerator::GenerationState  state 
)
protectedslot

Updates the status of the code generation in the status table.

Parameters
classifierthe class for which the code was generated
statethe state of the generation
Here is the call graph for this function:

◆ classGenerated [2/2]

void CodeGenStatusPage::classGenerated ( UMLClassifier concept,
bool  generated 
)
protectedslot

Updates the status of the code generation in the status table.

Parameters
conceptthe class for which the code was generated
generatedthe status of the generation
Here is the call graph for this function:

◆ generateCode

void CodeGenStatusPage::generateCode ( )
protectedslot

Slot for the generate button. Starts the code generation.

Here is the call graph for this function:

◆ initializePage()

void CodeGenStatusPage::initializePage ( )

Reimplemented QWizardPage method to initialize page after clicking next button.

Here is the call graph for this function:

◆ isComplete()

bool CodeGenStatusPage::isComplete ( ) const

Reimplemented QWizardPage method the enable / disable the next button.

Returns
complete state

◆ loggerClear

void CodeGenStatusPage::loggerClear ( )
protectedslot

Slot for clicked events generated by the clear button of the logger. Clears the logger widget.

◆ loggerExport

void CodeGenStatusPage::loggerExport ( )
protectedslot

Slot for clicked events generated by the export button of the logger. Writes the content of the logger widget to a file.

◆ populateStatusList

void CodeGenStatusPage::populateStatusList ( )
protectedslot

Fills the status list with the selected classes for generation.

Here is the call graph for this function:

◆ showFileGenerated

void CodeGenStatusPage::showFileGenerated ( const QString &  filename)
protectedslot

Writes the content of the just generated file to the logger text widget.

Member Data Documentation

◆ m_generationDone

bool CodeGenStatusPage::m_generationDone
private

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