umbrello/umbrello
#include <codeimpstatuspage.h>
Public Member Functions | |
CodeImpStatusPage (QWidget *parent=0) | |
~CodeImpStatusPage () | |
void | initializePage () |
bool | isComplete () const |
Protected Slots | |
void | importCode () |
void | importCodeFile (bool noError=true) |
void | importCodeFinish () |
void | importCodeStop () |
void | importNextFile (bool noError=true) |
void | loggerClear () |
void | loggerExport () |
void | messageToApp (const QString &text) |
void | messageToLog (const QString &file, const QString &text) |
void | populateStatusList () |
void | updateStatus (const QString &file, const QString &text) |
Detailed Description
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.
Definition at line 44 of file codeimpstatuspage.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
- Parameters
-
parent the parent (wizard) of this wizard page
Definition at line 49 of file codeimpstatuspage.cpp.
CodeImpStatusPage::~CodeImpStatusPage | ( | ) |
Destructor.
Definition at line 78 of file codeimpstatuspage.cpp.
Member Function Documentation
|
protectedslot |
start importing
Slot for the start button.
Starts the code import.
Definition at line 124 of file codeimpstatuspage.cpp.
|
protectedslot |
import single file
Definition at line 153 of file codeimpstatuspage.cpp.
|
protectedslot |
finish importing
Definition at line 199 of file codeimpstatuspage.cpp.
|
protectedslot |
cancel importing
Slot for the stop button.
Stops the code import.
Definition at line 234 of file codeimpstatuspage.cpp.
|
protectedslot |
Definition at line 192 of file codeimpstatuspage.cpp.
void CodeImpStatusPage::initializePage | ( | ) |
Reimplemented QWizardPage method to initialize page after clicking next button.
Definition at line 88 of file codeimpstatuspage.cpp.
bool CodeImpStatusPage::isComplete | ( | ) | const |
Reimplemented QWizardPage method the enable / disable the next button.
- Returns
- complete state
Definition at line 262 of file codeimpstatuspage.cpp.
|
protectedslot |
Slot for clicked events generated by the clear button of the logger.
Clears the logger widget.
Definition at line 318 of file codeimpstatuspage.cpp.
|
protectedslot |
Slot for clicked events generated by the export button of the logger.
Writes the content of the logger widget to a file.
Definition at line 327 of file codeimpstatuspage.cpp.
|
protectedslot |
Slot for messageToApp events generated by the code import worker.
- Parameters
-
text the message to write to the status bar of the main window
Definition at line 225 of file codeimpstatuspage.cpp.
|
protectedslot |
Writes messages of the code import to a log device.
- Parameters
-
file the file for which the code was imported text the text to display
Definition at line 272 of file codeimpstatuspage.cpp.
|
protectedslot |
Fills the status list with the selected classes for generation.
Definition at line 98 of file codeimpstatuspage.cpp.
|
protectedslot |
Updates the status of the code import in the status table.
- Parameters
-
file the file for which the code was imported text the text to display
Definition at line 287 of file codeimpstatuspage.cpp.
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.