umbrello  2.39.2
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:
Ui::CodeGenStatusPage

Public Member Functions

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

Protected Slots

void generateCode ()
 
void classGenerated (UMLClassifier *classifier, 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

◆ ~CodeGenStatusPage()

CodeGenStatusPage::~CodeGenStatusPage ( )

Destructor.

Member Function Documentation

◆ classGenerated [1/2]

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

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

Parameters
classifierthe class for which the code was generated
generatedthe status of the generation

◆ classGenerated [2/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

◆ generateCode

void CodeGenStatusPage::generateCode ( )
protectedslot

Slot for the generate button. Starts the code generation.

◆ initializePage()

void CodeGenStatusPage::initializePage ( )

Reimplemented QWizardPage method to initialize page after clicking next button.

◆ 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.

◆ 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: