![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtEntityActions.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 #include <vrfGuiCoreQt/DtVrfEntityMenu.h> 00018 00019 namespace makVrf 00020 { 00021 class DT_DLL_VRFGUICOREQT DtVrfEntityPlanAction : public DtVrfEntityAction 00022 { 00023 Q_OBJECT 00024 public: 00025 //CTOR 00026 DtVrfEntityPlanAction(makVrv::DtDe& de); 00027 00028 //DTOR 00029 virtual ~DtVrfEntityPlanAction(); 00030 00032 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00033 00034 protected: 00035 virtual void validate(QAction*); 00036 virtual void on_triggered(); 00037 }; 00038 00039 class DT_DLL_VRFGUICOREQT DtVrfEntityAbandonPlanAction : public DtVrfEntityAction 00040 { 00041 Q_OBJECT 00042 public: 00043 //CTOR 00044 DtVrfEntityAbandonPlanAction(makVrv::DtDe& de); 00045 00046 //DTOR 00047 virtual ~DtVrfEntityAbandonPlanAction(); 00048 00050 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00051 00052 protected: 00053 virtual void validate(QAction*); 00054 virtual void on_triggered(); 00055 }; 00056 00057 class DT_DLL_VRFGUICOREQT DtVrfEntityRestartPlanAction : public DtVrfEntityAction 00058 { 00059 Q_OBJECT 00060 public: 00061 //CTOR 00062 DtVrfEntityRestartPlanAction(makVrv::DtDe& de); 00063 00064 //DTOR 00065 virtual ~DtVrfEntityRestartPlanAction(); 00066 00068 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00069 00070 protected: 00071 virtual void validate(QAction*); 00072 virtual void on_triggered(); 00073 }; 00074 00075 class DT_DLL_VRFGUICOREQT DtVrfEntitySkipTaskAction : public DtVrfEntityAction 00076 { 00077 Q_OBJECT 00078 public: 00079 //CTOR 00080 DtVrfEntitySkipTaskAction(makVrv::DtDe& de); 00081 00082 //DTOR 00083 virtual ~DtVrfEntitySkipTaskAction(); 00084 00086 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00087 00088 protected: 00089 virtual void validate(QAction*); 00090 virtual void on_triggered(); 00091 }; 00092 00093 class DT_DLL_VRFGUICOREQT DtVrfDeleteAction : public DtVrfEntityAction 00094 { 00095 Q_OBJECT 00096 public: 00097 //CTOR 00098 DtVrfDeleteAction(makVrv::DtDe& de); 00099 00100 //DTOR 00101 virtual ~DtVrfDeleteAction(); 00102 00104 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00105 00106 protected: 00107 virtual void validate(QAction*); 00108 virtual void slot_onValidate(QAction* act); 00109 virtual void on_triggered(); 00110 }; 00111 00112 class DT_DLL_VRFGUICOREQT DtVrfEmbarkOnAction : public DtVrfEntityAction 00113 { 00114 Q_OBJECT 00115 public: 00116 //CTOR 00117 DtVrfEmbarkOnAction(makVrv::DtDe& de); 00118 00119 //DTOR 00120 virtual ~DtVrfEmbarkOnAction(); 00121 00123 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00124 00125 protected: 00126 virtual void validate(QAction*); 00127 virtual void on_triggered(); 00128 }; 00129 00130 class DT_DLL_VRFGUICOREQT DtVrfDisembarkAction : public DtVrfEntityAction 00131 { 00132 Q_OBJECT 00133 public: 00134 //CTOR 00135 DtVrfDisembarkAction(makVrv::DtDe& de); 00136 00137 //DTOR 00138 virtual ~DtVrfDisembarkAction(); 00139 00141 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00142 00143 protected: 00144 virtual void validate(QAction*); 00145 virtual void on_triggered(); 00146 }; 00147 00148 class DT_DLL_VRFGUICOREQT DtVrfDisembarkAllAction : public DtVrfEntityAction 00149 { 00150 Q_OBJECT 00151 public: 00152 //CTOR 00153 DtVrfDisembarkAllAction(makVrv::DtDe& de); 00154 00155 //DTOR 00156 virtual ~DtVrfDisembarkAllAction(); 00157 00159 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00160 00161 protected: 00162 virtual void validate(QAction*); 00163 virtual void on_triggered(); 00164 }; 00165 00166 class DT_DLL_VRFGUICOREQT DtVrfAttachToAction : public DtVrfEntityAction 00167 { 00168 Q_OBJECT 00169 public: 00170 //CTOR 00171 DtVrfAttachToAction(makVrv::DtDe& de); 00172 00173 //DTOR 00174 virtual ~DtVrfAttachToAction(); 00175 00177 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00178 00179 protected: 00180 virtual void validate(QAction*); 00181 virtual void on_triggered(); 00182 }; 00183 00184 class DT_DLL_VRFGUICOREQT DtVrfDetachFromAction : public DtVrfEntityAction 00185 { 00186 Q_OBJECT 00187 public: 00188 //CTOR 00189 DtVrfDetachFromAction(makVrv::DtDe& de); 00190 00191 //DTOR 00192 virtual ~DtVrfDetachFromAction(); 00193 00195 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00196 00197 protected: 00198 virtual void validate(QAction*); 00199 virtual void on_triggered(); 00200 }; 00201 00202 class DT_DLL_VRFGUICOREQT DtVrfMoveObjectAction : public DtVrfEntityAction 00203 { 00204 Q_OBJECT 00205 public: 00206 //CTOR 00207 DtVrfMoveObjectAction(makVrv::DtDe& de); 00208 00209 //DTOR 00210 virtual ~DtVrfMoveObjectAction(); 00211 00213 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00214 00215 protected: 00216 virtual void validate(QAction*); 00217 virtual void slot_onValidate(QAction* act); 00218 virtual void on_triggered(); 00219 }; 00220 00221 /* ** REMOVED As per bug 43347 in ontime. Incase we want to revive it, the code was left here. 00222 class DT_DLL_VRFGUICOREQT DtVrfEditObjectNameAction : public DtVrfEntityAction 00223 { 00224 Q_OBJECT 00225 public: 00226 //CTOR 00227 DtVrfEditObjectNameAction(makVrv::DtDe& de); 00228 00229 //DTOR 00230 virtual ~DtVrfEditObjectNameAction(); 00231 00233 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00234 00235 protected: 00236 virtual void validate(QAction*); 00237 virtual void on_triggered(); 00238 }; 00239 */ 00240 00241 class DT_DLL_VRFGUICOREQT DtVrfEditObjectAction : public DtVrfEntityAction 00242 { 00243 Q_OBJECT 00244 public: 00245 //CTOR 00246 DtVrfEditObjectAction(makVrv::DtDe& de); 00247 00248 //DTOR 00249 virtual ~DtVrfEditObjectAction(); 00250 00252 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00253 00254 protected: 00255 virtual void slot_onValidate(QAction* act); 00256 virtual void validate(QAction*); 00257 virtual void on_triggered(); 00258 }; 00259 00260 class DT_DLL_VRFGUICOREQT DtVrfAggregateAction : public DtVrfEntityAction 00261 { 00262 Q_OBJECT 00263 public: 00264 //CTOR 00265 DtVrfAggregateAction(makVrv::DtDe& de); 00266 00267 //DTOR 00268 virtual ~DtVrfAggregateAction(); 00269 00271 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00272 00273 protected: 00274 virtual void validate(QAction*); 00275 virtual void on_triggered(); 00276 }; 00277 00278 class DT_DLL_VRFGUICOREQT DtVrfAggregateAsAction : public DtVrfEntityAction 00279 { 00280 Q_OBJECT 00281 public: 00282 //CTOR 00283 DtVrfAggregateAsAction(makVrv::DtDe& de); 00284 00285 //DTOR 00286 virtual ~DtVrfAggregateAsAction(); 00287 00289 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00290 00291 protected: 00292 virtual void validate(QAction*); 00293 virtual void on_triggered(); 00294 }; 00295 00296 class DT_DLL_VRFGUICOREQT DtVrfDisaggregateAction : public DtVrfEntityAction 00297 { 00298 Q_OBJECT 00299 public: 00300 //CTOR 00301 DtVrfDisaggregateAction(makVrv::DtDe& de); 00302 00303 //DTOR 00304 virtual ~DtVrfDisaggregateAction(); 00305 00307 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00308 00309 protected: 00310 virtual void validate(QAction*); 00311 virtual void on_triggered(); 00312 }; 00313 00314 class DT_DLL_VRFGUICOREQT DtVrfCopyAction : public DtVrfEntityAction 00315 { 00316 Q_OBJECT 00317 public: 00318 //CTOR 00319 DtVrfCopyAction(makVrv::DtDe& de); 00320 00321 //DTOR 00322 virtual ~DtVrfCopyAction(); 00323 00325 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00326 00327 protected: 00328 virtual void validate(QAction*); 00329 virtual void on_triggered(); 00330 }; 00331 00332 class DT_DLL_VRFGUICOREQT DtVrfPasteAction : public DtVrfEntityAction 00333 { 00334 Q_OBJECT 00335 public: 00336 //CTOR 00337 DtVrfPasteAction(makVrv::DtDe& de); 00338 00339 //DTOR 00340 virtual ~DtVrfPasteAction(); 00341 00343 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00344 00345 protected: 00346 virtual void validate(QAction*); 00347 virtual void on_triggered(); 00348 }; 00349 00350 class DT_DLL_VRFGUICOREQT DtVrfPasteSpecialAction : public DtVrfEntityAction 00351 { 00352 Q_OBJECT 00353 public: 00354 //CTOR 00355 DtVrfPasteSpecialAction(makVrv::DtDe& de); 00356 00357 //DTOR 00358 virtual ~DtVrfPasteSpecialAction(); 00359 00361 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00362 00363 protected: 00364 virtual void validate(QAction*); 00365 virtual void on_triggered(); 00366 }; 00367 00368 class DT_DLL_VRFGUICOREQT DtVrfEnableJoystickAction : public DtVrfEntityAction 00369 { 00370 Q_OBJECT 00371 public: 00372 //CTOR 00373 DtVrfEnableJoystickAction(makVrv::DtDe& de); 00374 00375 //DTOR 00376 virtual ~DtVrfEnableJoystickAction(); 00377 00379 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00380 00381 protected: 00382 virtual void validate(QAction*); 00383 virtual void on_triggered(); 00384 }; 00385 00386 class DT_DLL_VRFGUICOREQT DtVrfDisableJoystickAction : public DtVrfEntityAction 00387 { 00388 Q_OBJECT 00389 public: 00390 //CTOR 00391 DtVrfDisableJoystickAction(makVrv::DtDe& de); 00392 00393 //DTOR 00394 virtual ~DtVrfDisableJoystickAction(); 00395 00397 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00398 00399 protected: 00400 virtual void validate(QAction*); 00401 virtual void on_triggered(); 00402 }; 00403 }