![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSessionMenuItems.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 #include <vrfGuiCoreQt/DtVrfSimulationMenuItem.h> 00018 00019 namespace makVrf 00020 { 00023 class DT_DLL_VRFGUICOREQT DtJoinSessionMenuItem : public makVrv::DtMenuItem 00024 { 00025 Q_OBJECT 00026 public: 00027 //CTOR 00028 DtJoinSessionMenuItem(makVrv::DtDe& de); 00029 00030 //DTOR 00031 virtual ~DtJoinSessionMenuItem(); 00032 00034 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00035 00036 protected: 00037 virtual void on_triggered(); 00038 00039 protected: 00040 makVrv::DtDe& myDe; 00041 }; 00042 00044 class DT_DLL_VRFGUICOREQT DtResignFromSessionMenuItem : public makVrv::DtMenuItem 00045 { 00046 Q_OBJECT 00047 public: 00048 //CTOR 00049 DtResignFromSessionMenuItem(makVrv::DtDe& de); 00050 00051 //DTOR 00052 virtual ~DtResignFromSessionMenuItem(); 00053 00055 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00056 00057 protected: 00058 virtual void on_triggered(); 00059 00060 protected: 00061 makVrv::DtDe& myDe; 00062 }; 00063 00066 class DT_DLL_VRFGUICOREQT DtCommModelSettingsItem : public makVrv::DtMenuItem 00067 { 00068 Q_OBJECT 00069 public: 00070 //CTOR 00071 DtCommModelSettingsItem(makVrv::DtDe& de); 00072 00073 //DTOR 00074 virtual ~DtCommModelSettingsItem(); 00075 00077 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00078 00079 protected: 00080 virtual void on_triggered(); 00081 00082 virtual void slot_settingReceived(const std::string& s, const DtVrfBackendState* state); 00083 00084 protected: 00085 makVrv::DtDe& myDe; 00086 QAction* myAction; 00087 }; 00088 00090 class DT_DLL_VRFGUICOREQT DtShowScenarioDescriptionDialogItem : public makVrv::DtMenuItem 00091 { 00092 Q_OBJECT 00093 00094 public: 00095 //CTOR 00096 DtShowScenarioDescriptionDialogItem(makVrv::DtDe& de); 00097 00098 //DTOR 00099 virtual ~DtShowScenarioDescriptionDialogItem(); 00100 00102 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00103 00104 protected: 00105 virtual void on_triggered(); 00106 00107 protected: 00108 makVrv::DtDe& myDe; 00109 }; 00110 00111 }