umbrello/umbrello
#include <codegenoptionspage.h>
Signals | |
void | applyClicked () |
void | languageChanged () |
void | syncCodeDocumentsToParent () |
Public Member Functions | |
CodeGenOptionsPage (QWidget *parent=0) | |
~CodeGenOptionsPage () | |
void | apply () |
QString | getLanguage () |
bool | save () |
bool | validatePage () |
Protected Slots | |
void | activeLanguageChanged (int id) |
void | browseClicked () |
void | updateCodeGenerationPolicyTab () |
Protected Attributes | |
CodeGenerationPolicy * | m_parentPolicy |
Detailed Description
This class is used in the code generation wizard and also in SettingsDlg.
Definition at line 35 of file codegenoptionspage.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
parent the parent (wizard) of this wizard page
Definition at line 37 of file codegenoptionspage.cpp.
CodeGenOptionsPage::~CodeGenOptionsPage | ( | ) |
Destructor.
Definition at line 77 of file codegenoptionspage.cpp.
Member Function Documentation
|
protectedslot |
Transform signal.
- Parameters
-
id position in combo box
Definition at line 294 of file codegenoptionspage.cpp.
void CodeGenOptionsPage::apply | ( | ) |
Reads the set values from their corresponding widgets, writes them back to the data structure, and notifies clients.
Definition at line 214 of file codegenoptionspage.cpp.
|
signal |
|
protectedslot |
Slot for clicked events of the browse buttons.
The selected directory is written to its corresponding text field.
Definition at line 320 of file codegenoptionspage.cpp.
QString CodeGenOptionsPage::getLanguage | ( | ) |
Returns the user selected language used for code generation.
- Returns
- the programming language name
Definition at line 339 of file codegenoptionspage.cpp.
|
signal |
bool CodeGenOptionsPage::save | ( | ) |
This function is called when leaving this wizard page.
Saves the made settings and checks some values.
- Returns
- the success state
Definition at line 241 of file codegenoptionspage.cpp.
|
signal |
|
protectedslot |
Updates the code generation policy tab.
Definition at line 175 of file codegenoptionspage.cpp.
bool CodeGenOptionsPage::validatePage | ( | ) |
Reimplemented QWizardPage method to validate page when user clicks next button.
- Returns
- the validation state
Definition at line 205 of file codegenoptionspage.cpp.
Member Data Documentation
|
protected |
Definition at line 47 of file codegenoptionspage.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.