This dialog is shown only if at least one of the two required input parameters (SCXML and output directory) is missing when the application is started. More...
#include <ActionStateWizard.h>
Public Member Functions | |
ActionStateWizard (QString inputFileName, QString outputDir) | |
Constructor (initialize the application parameters) More... | |
QString | getLogDirectory () |
Return the current directory name to use as output log directory. More... | |
QString | getSCXMLFilename () |
Return the current filename of scxml file to use as input file. More... | |
Private Slots | |
void | selectLogDirectory () |
called when the user click on "Browse" to select an output directory More... | |
void | selectSCXMLFilename () |
called when the user click on "Browse" to select an SCXML input file More... | |
Private Member Functions | |
void | initLogDirLabel () |
initialize the GUI to display the current value of output directory More... | |
void | initSCXMLLabel () |
initialize the GUI to display the current value of SCXML input file More... | |
void | updateStartButtonState () |
enable the Start button state only if both parameters are set More... | |
Private Attributes | |
QString | logDirectory |
the current value of the output directory More... | |
QString | SCXMLFileName |
the current value of the SCXML input file More... | |
Ui::ActionStateWizard * | ui |
the Dialog GUI More... | |
This dialog is shown only if at least one of the two required input parameters (SCXML and output directory) is missing when the application is started.
ActionStateWizard::ActionStateWizard | ( | QString | inputFileName, |
QString | outputDir | ||
) |
Constructor (initialize the application parameters)
References initLogDirLabel(), initSCXMLLabel(), logDirectory, SCXMLFileName, selectLogDirectory(), selectSCXMLFilename(), and ui.
QString ActionStateWizard::getLogDirectory | ( | ) |
Return the current directory name to use as output log directory.
References logDirectory.
Referenced by ActionStateMachine::ActionStateMachine().
QString ActionStateWizard::getSCXMLFilename | ( | ) |
Return the current filename of scxml file to use as input file.
References SCXMLFileName.
Referenced by ActionStateMachine::ActionStateMachine().
|
private |
initialize the GUI to display the current value of output directory
References logDirectory, ui, and updateStartButtonState().
Referenced by ActionStateWizard(), and selectLogDirectory().
|
private |
initialize the GUI to display the current value of SCXML input file
References SCXMLFileName, ui, and updateStartButtonState().
Referenced by ActionStateWizard(), and selectSCXMLFilename().
|
privateslot |
called when the user click on "Browse" to select an output directory
References initLogDirLabel(), and logDirectory.
Referenced by ActionStateWizard().
|
privateslot |
called when the user click on "Browse" to select an SCXML input file
References initSCXMLLabel(), and SCXMLFileName.
Referenced by ActionStateWizard().
|
private |
enable the Start button state only if both parameters are set
References logDirectory, SCXMLFileName, and ui.
Referenced by initLogDirLabel(), and initSCXMLLabel().
|
private |
the current value of the output directory
Referenced by ActionStateWizard(), getLogDirectory(), initLogDirLabel(), selectLogDirectory(), and updateStartButtonState().
|
private |
the current value of the SCXML input file
Referenced by ActionStateWizard(), getSCXMLFilename(), initSCXMLLabel(), selectSCXMLFilename(), and updateStartButtonState().
|
private |
the Dialog GUI
Referenced by ActionStateWizard(), initLogDirLabel(), initSCXMLLabel(), and updateStartButtonState().