VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtTerrainProfileMenuItem.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2012 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00008 
00009 #pragma once
00010 
00011 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00012 #include <vrvCoreQt/DtMenuItem.h>
00013 #include <vrfGuiConstants/vrfMenuIds.h>
00014 
00015 namespace makVrv
00016 {
00017    class DtDe;
00018 }
00019 
00020 namespace makVrf
00021 {
00022 
00027    class DT_DLL_VRFGUICOREQT DtTerrainProfileMenuItem : public makVrv::DtMenuItem
00028    {
00029    public:
00030       //CTOR
00031       DtTerrainProfileMenuItem(makVrv::DtDe& de, const std::string& type = DtTerrainProfileMenuItemId);
00032 
00033       //DTOR
00034       virtual ~DtTerrainProfileMenuItem();
00035 
00036    protected:
00037 
00039       virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00040       virtual void on_triggered();
00041 
00046       virtual void on_aboutToShow();
00047       virtual bool enableProfile() const;
00049 
00050    protected:
00051       makVrv::DtDe&  myDe;
00052       QAction* myAction;
00053    };
00054 
00056    class DT_DLL_VRFGUICOREQT DtTrackHistoryProfileMenuItem : public DtTerrainProfileMenuItem
00057    {
00058    public:
00059       //CTOR
00060       DtTrackHistoryProfileMenuItem(makVrv::DtDe& de);
00061 
00062       //DTOR
00063       virtual ~DtTrackHistoryProfileMenuItem();
00064 
00065    protected:
00066 
00068       virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00069       virtual bool enableProfile() const;
00070    };
00071 
00074    class DT_DLL_VRFGUICOREQT DtTerrainProfileLineMenuItem : public makVrv::DtMenuItem
00075    {
00076    public:
00077       //CTOR
00078       DtTerrainProfileLineMenuItem(makVrv::DtDe& de);
00079 
00080       //DTOR
00081       virtual ~DtTerrainProfileLineMenuItem();
00082 
00083    protected:
00084 
00086       virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00087       virtual void on_triggered();
00088 
00090       virtual void on_aboutToShow();
00091 
00092    protected:
00093       makVrv::DtDe&  myDe;
00094       QAction* myAction;
00095    };
00096 }

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)