00001 #ifndef SIGEL_SLAVEGUI_SIG_SIMULATIONCONTROLS_H 00002 #define SIGEL_SLAVEGUI_SIG_SIMULATIONCONTROLS_H 00003 00004 #include <qaction.h> 00005 #include <qiconset.h> 00006 #include <qmainwindow.h> 00007 #include <qstring.h> 00008 00009 namespace SIGEL_SlaveGUI 00010 { 00011 00022 class SIG_SimulationControls : public QActionGroup 00023 { 00024 00025 Q_OBJECT 00026 00027 public: 00028 00040 SIG_SimulationControls(QMainWindow *mainWindow, 00041 QString name = QString()); 00042 00046 virtual ~SIG_SimulationControls(); 00047 00052 QMainWindow *mainWindow; 00053 00060 QAction *stopAction; 00061 00069 QAction *playAction; 00070 00078 QAction *stepAction; 00079 00086 QAction *fForwardAction; 00087 00094 QAction *recordAction; 00095 00099 QAction *alterMovieSettingsAction; 00100 00101 QAction *quitAction; 00102 00106 QIconSet stopIcons; 00107 00111 QIconSet playIcons; 00112 00116 QIconSet stepIcons; 00117 00121 QIconSet pauseIcons; 00122 00126 QIconSet fForwardIcons; 00127 00131 QIconSet recordIcons; 00132 00136 QIconSet recordingAllowedIcons; 00137 00138 QIconSet recordingDisallowedIcons; 00139 00140 QIconSet quitIcons; 00141 00142 bool simulationRunning; 00143 00144 public slots: 00145 00146 void slotPlayPressed(); 00147 00148 void slotStopPressed(); 00149 00150 void slotRecordingAllowed( bool isAllowed ); 00151 }; 00152 00153 } 00154 00155 #endif // SIGEL_SLAVEGUI_SIG_SIMULATIONCONTROLS_H