VR-Forces 4.0.4 Class Documentation
examples/interfaceContent/interfaceContentGui/DtInterfaceContentMenuItem.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtInterfaceContentMenuItem.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00009 //\file DtInterfaceContentMenuItem.h
00010 //\brief Contains makVrf3DQt::DtInterfaceContentMenuItem class.  This class
00011 //will put up a dialog then send off the interface content menu message
00012 
00013 #pragma once
00014 
00015 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00016 #include <vrfGuiCoreQt/DtVrfSimulationMenuItem.h>
00017 
00018 class DtSimMessage;
00019 
00020 namespace vrfInterfaceContentExample
00021 {
00022    //A menu item to add a feature layer.
00023    class DtInterfaceContentMenuItem : public makVrv::DtMenuItem
00024    {
00025    public:
00026       //CTOR
00027       DtInterfaceContentMenuItem(makVrv::DtDe& de);
00028 
00029       //DTOR
00030       virtual ~DtInterfaceContentMenuItem();
00031 
00032       //Build a menu item (via an action).
00033       virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00034 
00035       static void processInterfaceMessage(DtSimMessage* msg);
00036 
00037    protected:
00038 
00039       virtual void on_triggered();
00040 
00041    protected:
00042       makVrv::DtDe&  myDe;
00043    };
00044 }

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)