#include <SIG_SimulationControls.h>
Inheritance diagram for SIGEL_SlaveGUI::SIG_SimulationControls:
Public Methods | |
SIG_SimulationControls (QMainWindow *mainWindow, QString name = QString()) | |
The constructor of the SIG_SimulationControls. More... | |
virtual | ~SIG_SimulationControls () |
The destructor of the SIG_SimulationControls. More... | |
Public Attributes | |
QMainWindow* | mainWindow |
The surrounding QMainWindow that contains the toolbar and menubar where this QActiongroup QActions should be inserted. More... | |
QAction* | stopAction |
The stop action. More... | |
QAction* | playAction |
The play action. More... | |
QAction* | stepAction |
The step action. More... | |
QAction* | fForwardAction |
The fast forward action. More... | |
QAction* | recordAction |
The recording action. More... | |
QAction* | alterMovieSettingsAction |
The alter movie settings action. More... | |
QAction* | quitAction |
QIconSet | stopIcons |
The iconset for the stop action. More... | |
QIconSet | playIcons |
The iconset for the play action. More... | |
QIconSet | stepIcons |
The iconset for the step action. More... | |
QIconSet | pauseIcons |
The iconset for the pause action. More... | |
QIconSet | fForwardIcons |
The iconset for the fast forward action. More... | |
QIconSet | recordIcons |
The iconset for the record button. More... | |
QIconSet | recordingAllowedIcons |
The icon for the action with which the movie settings can be alter. More... | |
QIconSet | recordingDisallowedIcons |
QIconSet | quitIcons |
bool | simulationRunning |
Public Slots | |
void | slotPlayPressed () |
void | slotStopPressed () |
void | slotRecordingAllowed ( bool isAllowed ) |
Because it inherits the class QActiongroup one can use simply the methods addTo and removeFrom to add respectively remove all controls with one command. The constructor automatically creates the QActions that make up the controls and adds them to this QActionGroup.
Definition at line 22 of file SIG_SimulationControls.h.
|
The constructor of the SIG_SimulationControls. Creates QAction objects for the stop, play, step and fast forward actions and assigns them appropriate texts and iconsets.
Definition at line 10 of file SIG_SimulationControls.cpp. |
|
The destructor of the SIG_SimulationControls.
Definition at line 68 of file SIG_SimulationControls.cpp. |
|
Definition at line 71 of file SIG_SimulationControls.cpp. |
|
Definition at line 94 of file SIG_SimulationControls.cpp. |
|
Definition at line 84 of file SIG_SimulationControls.cpp. |
|
The alter movie settings action.
Definition at line 99 of file SIG_SimulationControls.h. |
|
The fast forward action. Activation should effect a progress of the simulation about 5 seconds, independent from the actual stepsize. Definition at line 86 of file SIG_SimulationControls.h. |
|
The iconset for the fast forward action.
Definition at line 126 of file SIG_SimulationControls.h. |
|
The surrounding QMainWindow that contains the toolbar and menubar where this QActiongroup QActions should be inserted.
Definition at line 52 of file SIG_SimulationControls.h. |
|
The iconset for the pause action.
Definition at line 121 of file SIG_SimulationControls.h. |
|
The play action. The corresponding toolbarbutton respectively menuentry should posses two states: playing and pause. Activation should effect toggling between these states. Definition at line 69 of file SIG_SimulationControls.h. |
|
The iconset for the play action.
Definition at line 111 of file SIG_SimulationControls.h. |
|
Definition at line 101 of file SIG_SimulationControls.h. |
|
Definition at line 140 of file SIG_SimulationControls.h. |
|
The recording action. This action indicated whether the simualtion shall be recorded or not. Definition at line 94 of file SIG_SimulationControls.h. |
|
The iconset for the record button.
Definition at line 131 of file SIG_SimulationControls.h. |
|
The icon for the action with which the movie settings can be alter.
Definition at line 136 of file SIG_SimulationControls.h. |
|
Definition at line 138 of file SIG_SimulationControls.h. |
|
Definition at line 142 of file SIG_SimulationControls.h. |
|
The step action. Activation should effect a progress of the simulation about one timesteps. How much time this is depends on the simulation's stepsize. Definition at line 78 of file SIG_SimulationControls.h. |
|
The iconset for the step action.
Definition at line 116 of file SIG_SimulationControls.h. |
|
The stop action. Activation should effect the creation of a new simulation that is ready to be started from the beginning. Definition at line 60 of file SIG_SimulationControls.h. |
|
The iconset for the stop action.
Definition at line 106 of file SIG_SimulationControls.h. |