Computer Assited Medical Intervention Tool Kit  version 5.0
ActionStateWizard Class Reference

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>

+ Inheritance diagram for ActionStateWizard:
+ Collaboration diagram for ActionStateWizard:

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ ActionStateWizard()

ActionStateWizard::ActionStateWizard ( QString  inputFileName,
QString  outputDir 
)

Constructor (initialize the application parameters)

References initLogDirLabel(), initSCXMLLabel(), logDirectory, SCXMLFileName, selectLogDirectory(), selectSCXMLFilename(), and ui.

+ Here is the call graph for this function:

Member Function Documentation

◆ getLogDirectory()

QString ActionStateWizard::getLogDirectory ( )

Return the current directory name to use as output log directory.

References logDirectory.

Referenced by ActionStateMachine::ActionStateMachine().

+ Here is the caller graph for this function:

◆ getSCXMLFilename()

QString ActionStateWizard::getSCXMLFilename ( )

Return the current filename of scxml file to use as input file.

References SCXMLFileName.

Referenced by ActionStateMachine::ActionStateMachine().

+ Here is the caller graph for this function:

◆ initLogDirLabel()

void ActionStateWizard::initLogDirLabel ( )
private

initialize the GUI to display the current value of output directory

References logDirectory, ui, and updateStartButtonState().

Referenced by ActionStateWizard(), and selectLogDirectory().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initSCXMLLabel()

void ActionStateWizard::initSCXMLLabel ( )
private

initialize the GUI to display the current value of SCXML input file

References SCXMLFileName, ui, and updateStartButtonState().

Referenced by ActionStateWizard(), and selectSCXMLFilename().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ selectLogDirectory

void ActionStateWizard::selectLogDirectory ( )
privateslot

called when the user click on "Browse" to select an output directory

References initLogDirLabel(), and logDirectory.

Referenced by ActionStateWizard().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ selectSCXMLFilename

void ActionStateWizard::selectSCXMLFilename ( )
privateslot

called when the user click on "Browse" to select an SCXML input file

References initSCXMLLabel(), and SCXMLFileName.

Referenced by ActionStateWizard().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateStartButtonState()

void ActionStateWizard::updateStartButtonState ( )
private

enable the Start button state only if both parameters are set

References logDirectory, SCXMLFileName, and ui.

Referenced by initLogDirLabel(), and initSCXMLLabel().

+ Here is the caller graph for this function:

Member Data Documentation

◆ logDirectory

QString ActionStateWizard::logDirectory
private

the current value of the output directory

Referenced by ActionStateWizard(), getLogDirectory(), initLogDirLabel(), selectLogDirectory(), and updateStartButtonState().

◆ SCXMLFileName

QString ActionStateWizard::SCXMLFileName
private

the current value of the SCXML input file

Referenced by ActionStateWizard(), getSCXMLFilename(), initSCXMLLabel(), selectSCXMLFilename(), and updateStartButtonState().

◆ ui

Ui::ActionStateWizard* ActionStateWizard::ui
private

The documentation for this class was generated from the following files: