|
umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <codeimpstatuspage.h>
Public Member Functions | |
| CodeImpStatusPage (QWidget *parent=0) | |
| ~CodeImpStatusPage () | |
| void | initializePage () |
| bool | isComplete () const |
Protected Slots | |
| void | importCode () |
| start importing More... | |
| void | importCodeFile (bool noError=true) |
| import single file More... | |
| void | importNextFile (bool noError=true) |
| void | importCodeFinish () |
| finish importing More... | |
| void | importCodeStop () |
| cancel importing More... | |
| void | updateStatus (const QString &file, const QString &text) |
| void | messageToLog (const QString &file, const QString &text) |
| void | messageToApp (const QString &text) |
| void | populateStatusList () |
| void | loggerClear () |
| void | loggerExport () |
Private Attributes | |
| QList< QFileInfo > | m_files |
| list of files to import More... | |
| bool | m_workDone |
| bool | m_savedUndoEnabled |
| saved undo enabled state More... | |
| int | m_index |
| index in m_files More... | |
| QFileInfo | m_file |
| current file More... | |
| bool | m_savedlistViewVisible |
| indicates previous state of list view More... | |
Private Attributes inherited from Ui_CodeImpStatusPage | |
| QVBoxLayout * | verticalLayout_3 |
| QTabWidget * | ui_tabWidget |
| QWidget * | ui_tabStatus |
| QVBoxLayout * | verticalLayout_4 |
| QVBoxLayout * | verticalLayout |
| QTableWidget * | ui_tableWidgetStatus |
| QGridLayout * | gridLayout_3 |
| QPushButton * | ui_pushButtonStart |
| QPushButton * | ui_pushButtonStop |
| QWidget * | ui_tabLogger |
| QVBoxLayout * | verticalLayout_5 |
| QVBoxLayout * | verticalLayout_2 |
| QTextEdit * | ui_textEditLogger |
| QGridLayout * | gridLayout_4 |
| QPushButton * | ui_pushButtonClear |
| QPushButton * | ui_pushButtonExport |
Additional Inherited Members | |
Private Member Functions inherited from Ui_CodeImpStatusPage | |
| void | setupUi (QWidget *CodeImpStatusPage) |
| void | retranslateUi (QWidget *CodeImpStatusPage) |
This class is used in the code importing wizard. It represents the second page where files are listed and imported by parsing. The status of the work and a log of actions is shown. TODO: Make the LedStatus class more private.
|
explicit |
Constructor.
| parent | the parent (wizard) of this wizard page |
| CodeImpStatusPage::~CodeImpStatusPage | ( | ) |
Destructor.
|
protectedslot |
start importing
Slot for the start button. Starts the code import.
|
protectedslot |
import single file
|
protectedslot |
finish importing
|
protectedslot |
cancel importing
Slot for the stop button. Stops the code import.
|
protectedslot |
| void CodeImpStatusPage::initializePage | ( | ) |
Reimplemented QWizardPage method to initialize page after clicking next button.
| bool CodeImpStatusPage::isComplete | ( | ) | const |
Reimplemented QWizardPage method the enable / disable the next button.
|
protectedslot |
Slot for clicked events generated by the clear button of the logger. Clears the logger widget.
|
protectedslot |
Slot for clicked events generated by the export button of the logger. Writes the content of the logger widget to a file.
|
protectedslot |
Slot for messageToApp events generated by the code import worker.
| text | the message to write to the status bar of the main window |
|
protectedslot |
Writes messages of the code import to a log device.
| file | the file for which the code was imported |
| text | the text to display |
|
protectedslot |
Fills the status list with the selected classes for generation.
|
protectedslot |
Updates the status of the code import in the status table.
| file | the file for which the code was imported |
| text | the text to display |
|
private |
current file
|
private |
list of files to import
|
private |
index in m_files
|
private |
indicates previous state of list view
|
private |
saved undo enabled state
|
private |