25 #ifndef ACTIONTRANSITION_H 26 #define ACTIONTRANSITION_H 28 #include <QSignalTransition> 32 #include <QTextStream> 33 #include <QStringList> 95 #endif // ACTIONTRANSITION_H QStringList componentsToForceClose
list of the components' name that should be closed even if they are modified
Definition: ActionTransition.h:87
void setButtonText(QString buttonText)
the transition button's text
Definition: ActionTransition.cpp:127
bool applyPreviousAction
should the action be applied during the transition (default set to true)
Definition: ActionTransition.h:81
virtual void onTransition(QEvent *e)
called during the transition
Definition: ActionTransition.cpp:40
QTime * startTime
Keep track of time (needed for the log)
Definition: ActionTransition.h:93
QString buttonText
the text of the push button displayed in the ASM
Definition: ActionTransition.h:78
QString getButtonText()
get the transition button's text
Definition: ActionTransition.cpp:132
The state (in a state machine point of view) corresponding to the current processed action...
Definition: ActionState.h:47
QMap< QString, QString > componentsToClose
Map containing all the name/type of the components to be closed during the transition.
Definition: ActionTransition.h:84
void addComponentToClose(QString compName, QString compType, bool force=false)
add a component's name and type to the list of component to close during the transition.
Definition: ActionTransition.cpp:137
This class handle a transition between two states (including previous/next buttons).
Definition: ActionTransition.h:56
QTextStream * logStream
local pointer to the log stream
Definition: ActionTransition.h:90
ActionTransition(QObject *sender, const char *signal, QState *sourceState=0, QString buttonText="", bool applyPreviousAction=true, QTextStream *logStream=NULL)
constructor: takes at least the state and signal considered for the transition
Definition: ActionTransition.cpp:33