00001 #pragma once 00002 00003 #include <qobject.h> 00004 #include "myclass.h" 00005 #include "settingswidget.h" 00006 #include "transfersettingswidget.h" 00007 #include "TabWidget.h" 00008 #include "RayCastingWidget.h" 00009 00010 enum ButtonEvent{ 00011 SliderButton 00012 }; 00013 00022 class Controller : QObject 00023 { 00024 Q_OBJECT 00025 private: 00026 MyClass* gl; 00027 SettingsWidget* settings; 00028 TransferSettingsWidget* transfer; 00029 QAction *loadAct,*loadConfigAct,*saveConfigAct; 00030 QTabWidget *tabW; 00031 RayCastingWidget* rWidget; 00032 public: 00033 00034 Controller(MyClass* m, SettingsWidget* s, TransferSettingsWidget* t, 00035 QAction *load, QAction *loadConfig, QAction *saveConfig, TabWidget *tab,RayCastingWidget *ray ); 00036 00042 void ConnectSignals(); 00043 00044 private: 00045 00046 }; 00047