00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file 'Qt/ModelManagerControl.ui' 00003 ** 00004 ** WARNING! All changes made in this file will be lost! 00005 ****************************************************************************/ 00006 00007 #ifndef MODELMANAGERCONTROL_H 00008 #define MODELMANAGERCONTROL_H 00009 00010 #include <qvariant.h> 00011 #include <qdialog.h> 00012 #include "Component/ModelManager.H" 00013 #include "ModelManagerDialog.h" 00014 00015 class QVBoxLayout; 00016 class QHBoxLayout; 00017 class QGridLayout; 00018 class QSpacerItem; 00019 class QPushButton; 00020 00021 class ModelManagerControl : public QDialog 00022 { 00023 Q_OBJECT 00024 00025 public: 00026 ModelManagerControl( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00027 ~ModelManagerControl(); 00028 00029 QPushButton* saveButton; 00030 QPushButton* loadButton; 00031 QPushButton* startstopButton; 00032 QPushButton* exitButton; 00033 QPushButton* configButton; 00034 00035 public slots: 00036 virtual void showConfigDialog( void ); 00037 virtual void loadConfig( void ); 00038 virtual void saveConfig( void ); 00039 virtual void start_or_stop( void ); 00040 virtual void init( ModelManager & manager, bool * dorun_ ); 00041 virtual void exitPressed( void ); 00042 00043 protected: 00044 00045 protected slots: 00046 virtual void languageChange(); 00047 00048 private: 00049 ModelManager *mgr; 00050 ModelManagerDialog mmd; 00051 bool *dorun; 00052 00053 }; 00054 00055 #endif // MODELMANAGERCONTROL_H