![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2009 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtShapeActions.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00011 00013 00014 #pragma once 00015 00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h> 00017 #include <vrvCoreQt/DtMenuItem.h> 00018 00019 namespace makVrv 00020 { 00021 class DtDe; 00022 } 00023 00024 class QAction; 00025 00026 namespace makVrf 00027 { 00028 class DT_DLL_VRFGUICOREQT DtShapeAddPointBeforeAction : public makVrv::DtMenuItem 00029 { 00030 Q_OBJECT 00031 00032 public: 00033 //CTOR 00034 DtShapeAddPointBeforeAction(makVrv::DtDe& de); 00035 00036 //DTOR 00037 virtual ~DtShapeAddPointBeforeAction(); 00038 00040 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00041 00042 protected: 00043 virtual void on_aboutToShow(); 00044 virtual void on_triggered(); 00045 00046 protected: 00047 QAction* myAction; 00048 makVrv::DtDe& myDe; 00049 }; 00050 00051 class DT_DLL_VRFGUICOREQT DtShapeAddPointAfterAction : public makVrv::DtMenuItem 00052 { 00053 Q_OBJECT 00054 00055 public: 00056 //CTOR 00057 DtShapeAddPointAfterAction(makVrv::DtDe& de); 00058 00059 //DTOR 00060 virtual ~DtShapeAddPointAfterAction(); 00061 00063 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00064 00065 protected: 00066 virtual void on_aboutToShow(); 00067 virtual void on_triggered(); 00068 00069 protected: 00070 QAction* myAction; 00071 makVrv::DtDe& myDe; 00072 }; 00073 00074 class DT_DLL_VRFGUICOREQT DtShapeDeletePointAction : public makVrv::DtMenuItem 00075 { 00076 Q_OBJECT 00077 00078 public: 00079 //CTOR 00080 DtShapeDeletePointAction(makVrv::DtDe& de); 00081 00082 //DTOR 00083 virtual ~DtShapeDeletePointAction(); 00084 00086 virtual QAction* createAction(makVrv::DtDe&, QWidget* parent); 00087 00088 protected: 00089 virtual void on_aboutToShow(); 00090 virtual void on_triggered(); 00091 00092 protected: 00093 QAction* myAction; 00094 makVrv::DtDe& myDe; 00095 }; 00096 }