VR-Forces 4.0.4 Class Documentation
include/bhave3DGui/bhaveMenuActions.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: bhaveMenuActions.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00012 #ifndef bhaveMenuActions_H_
00013 #define bhaveMenuActions_H_
00014 
00015 #include <bhave3DGui/bhave3DGuiDefines.h>
00016 #include <vrvCore/DtDe.h>
00017 #include <vrvCoreQt/DtMenuItem.h>
00018 
00019 #include <QtCore/QProcess>
00020 
00021 class QAction;
00022 
00023 namespace BHAVE
00024 {
00025    namespace BHAVE3DGui
00026    {
00027       
00028       class DtBhaveCrowdCreationDialog;
00029 
00033       class DT_DLL_bhave3DGui DtBhaveCreateMultipleEntitiesAction : public makVrv::DtMenuItem
00034       {
00035 
00036       public:
00037 
00039          DtBhaveCreateMultipleEntitiesAction(makVrv::DtDe& de);
00040 
00042          virtual ~DtBhaveCreateMultipleEntitiesAction();
00043 
00045          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00046 
00047       protected:
00048 
00050          virtual void on_triggered();
00051 
00052       protected:
00053 
00054          makVrv::DtDe& myDe;
00055          QAction*      myAction;
00056       };
00057 
00061       class DT_DLL_bhave3DGui DtBhaveCreateSpawnSinkAction : public makVrv::DtMenuItem
00062       {
00063 
00064       public:
00065 
00067          DtBhaveCreateSpawnSinkAction(makVrv::DtDe& de);
00068 
00070          virtual ~DtBhaveCreateSpawnSinkAction();
00071 
00073          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00074 
00075       protected:
00076 
00078          virtual void on_triggered();
00079 
00080       protected:
00081 
00082          makVrv::DtDe& myDe;
00083          QAction*      myAction;
00084       };
00085 
00089       class DtBhaveScriptListAction : public makVrv::DtMenuItem
00090       {
00091 
00092       public:
00093 
00095          DtBhaveScriptListAction(makVrv::DtDe& de);
00096 
00098          virtual ~DtBhaveScriptListAction();
00099 
00101          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00102 
00103       protected:
00104 
00106          virtual void on_triggered();
00107 
00108       protected:
00109 
00110          makVrv::DtDe& myDe;
00111          QAction*      myAction;
00112       };
00113 
00114 
00118       class DtBhaveOptionsAction : public makVrv::DtMenuItem
00119       {
00120 
00121       public:
00122 
00124          DtBhaveOptionsAction(makVrv::DtDe& de);
00125 
00127          virtual ~DtBhaveOptionsAction();
00128 
00130          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00131 
00132       protected:
00133 
00135          virtual void on_triggered();
00136 
00137       protected:
00138 
00139          makVrv::DtDe& myDe;
00140          QAction*      myAction;      
00141       
00142       };
00143    
00147       class DtBhaveSendTextMessageAction : public makVrv::DtMenuItem
00148       {
00149 
00150       public:
00151 
00153          DtBhaveSendTextMessageAction(makVrv::DtDe& de);
00154 
00156          virtual ~DtBhaveSendTextMessageAction();
00157 
00159          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00160 
00161       protected:
00162 
00164          virtual void on_triggered();
00165 
00166       protected:
00167 
00168          makVrv::DtDe& myDe;
00169          QAction*      myAction;      
00170 
00171       };
00172 
00173 
00177       class DtBhaveAboutBoxAction : public makVrv::DtMenuItem
00178       {
00179 
00180       public:
00181 
00183          DtBhaveAboutBoxAction(makVrv::DtDe& de);
00184 
00186          virtual ~DtBhaveAboutBoxAction();
00187 
00189          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00190 
00191       protected:
00192 
00194          virtual void on_triggered();
00195 
00196       protected:
00197 
00198          makVrv::DtDe& myDe;
00199          QAction*      myAction;      
00200 
00201       };
00202 
00206       class DtBhaveHelpAction : public makVrv::DtMenuItem
00207       {
00208 
00209       public:
00210 
00212          DtBhaveHelpAction(makVrv::DtDe& de);
00213 
00215          virtual ~DtBhaveHelpAction();
00216 
00218          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00219 
00220       protected:
00221 
00223          virtual void on_triggered();
00224 
00225       protected:
00226 
00227          makVrv::DtDe& myDe;
00228          QAction*      myAction;    
00229          QProcess*     myAssistant;  
00230 
00231       };
00232    }
00233 }
00234 
00235 #endif

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)