00001 /**************************************************************************** 00002 ** Form interface generated from reading ui file 'Qt/ModelManagerDialog.ui' 00003 ** 00004 ** 00005 ** WARNING! All changes made in this file will be lost! 00006 ****************************************************************************/ 00007 00008 #ifndef MODELMANAGERDIALOG_H 00009 #define MODELMANAGERDIALOG_H 00010 00011 #include <qvariant.h> 00012 #include <qdialog.h> 00013 #include "Component/ModelManager.H" 00014 #include "Component/ParamMap.H" 00015 #include "ModelManagerWizard.h" 00016 00017 class QVBoxLayout; 00018 class QHBoxLayout; 00019 class QGridLayout; 00020 class QSpacerItem; 00021 class QLabel; 00022 class QPushButton; 00023 class QListView; 00024 class QListViewItem; 00025 00026 class ModelManagerDialog : public QDialog 00027 { 00028 Q_OBJECT 00029 00030 public: 00031 ModelManagerDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00032 ~ModelManagerDialog(); 00033 00034 QLabel* textLabel1; 00035 QPushButton* wizardButton; 00036 QPushButton* cancelButton; 00037 QPushButton* applyButton; 00038 QListView* listview; 00039 00040 virtual void init( ModelManager & manager ); 00041 virtual void populate( rutz::shared_ptr<ParamMap> pmp, QListViewItem * parent ); 00042 00043 public slots: 00044 virtual void handleItemEdit( QListViewItem * item ); 00045 virtual void handleWizardButton( void ); 00046 virtual void handleApplyButton( void ); 00047 virtual void handleCancelButton( void ); 00048 00049 protected: 00050 00051 protected slots: 00052 virtual void languageChange(); 00053 00054 private: 00055 ParamMap backupMap; 00056 ParamMap pmap; 00057 ModelManager *mgr; 00058 ModelManagerWizard mmw; 00059 00060 }; 00061 00062 #endif // MODELMANAGERDIALOG_H