VR-Forces 4.0.4 Class Documentation
include/bhave3DGui/bhavePdgMenuActions.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00006 #pragma once
00007 
00008 #include <bhave3DGui/bhave3DGuiDefines.h>
00009 #include <bhave3DGui/bhavePdgThread.h>
00010 #include <bhave3DGui/generatePathDataWidget.h>
00011 #include <vrvCore/DtDe.h>
00012 #include <vrvCoreQt/DtMenuItem.h>
00013 #include "vrfGuiCoreQt/autoHideDock.h"
00014 
00015 
00016 namespace BHAVE
00017 {
00018    namespace BHAVE3DGui
00019    {
00020       class DT_DLL_bhave3DGui DtBhaveGeneratePathDataAction : public makVrv::DtMenuItem
00021       {
00022          Q_OBJECT
00023 
00024       public:
00025 
00027          DtBhaveGeneratePathDataAction(makVrv::DtDe& de, DtBhavePdgThread* pdgThread);
00028 
00030          virtual ~DtBhaveGeneratePathDataAction();
00031 
00034          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00035 
00036       protected:
00037          virtual void slot_onTerrainGeometryLoaded();
00038          virtual void slot_onTerrainLoaded(const std::string& terrain);
00039          virtual void slot_onTerrainCleared();
00040 
00041       protected slots:
00042 
00044          virtual void on_triggered();
00045 
00046       protected:
00047 
00048          makVrv::DtDe& myDe;
00049          QAction*      myAction;
00050          QWidget*      myParent;
00051          DtBhavePdgThread* myPdgThread;
00052          DtGeneratePathDataWidget* myPdgWidget;
00053          std::string myLoadedTerrain;
00054 
00055          makVrf::DtAutoHideDock* dock;
00056       };
00057 
00058       class DT_DLL_bhave3DGui DtBhaveConfigurePathDataAction : public makVrv::DtMenuItem
00059       {
00060          Q_OBJECT
00061 
00062       public:
00063 
00065          DtBhaveConfigurePathDataAction(makVrv::DtDe& de);
00066 
00068          virtual ~DtBhaveConfigurePathDataAction();
00069 
00071          virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00072 
00073          protected slots:
00074 
00076             virtual void on_triggered();
00077 
00078       protected:
00079 
00080          makVrv::DtDe& myDe;
00081          QAction*      myAction;
00082          QWidget*      myParent;
00083       };
00084    }
00085 }
00086 

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)