VR-Forces 4.0.4 Class Documentation
include/vrfGuiCoreQt/DtRecentScenariosMenu.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtConditionalMenu.h,v $ $Revision: 1.2 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00012 #pragma once
00013 
00014 #include <vrvUtil/signalslib.h>
00015 
00016 #include <vrfGuiCoreQt/vrfGuiCoreQt.h>
00017 #include <vrvCoreQt/DtMenuItem.h> 
00018 #include <vrvCoreQt/DtMenu.h>
00019 
00020 namespace makVrf
00021 {
00022    class DtVrfGuiRecentScenarios;
00023 
00025    class DT_DLL_VRFGUICOREQT DtRecentScenarioMenuItem : public makVrv::DtMenuItem
00026    {
00027    public:
00028       //CTOR
00029       DtRecentScenarioMenuItem(makVrv::DtDe& de);
00030 
00031       //DTOR
00032       virtual ~DtRecentScenarioMenuItem();
00033 
00035       virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
00036 
00037    protected:
00038 
00039       virtual void on_triggered();
00040 
00041    protected:
00042       makVrv::DtDe&  myDe;
00043    };
00044 
00048    class DT_DLL_VRFGUICOREQT DtRecentScenariosMenu : public makVrv::DtMenu
00049    { 
00050    public:
00051 
00053       DtRecentScenariosMenu(makVrv::DtDe&);
00054 
00056       virtual ~DtRecentScenariosMenu();
00057 
00059       virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
00060 
00061    protected:
00062       virtual void setupMenuFromSettings(DtVrfGuiRecentScenarios*);
00063 
00065       virtual void cleanupActions();
00066 
00067    protected:
00068       QMenu*         myMenu;
00069       DtRecentScenarioMenuItem*  myRecentScenarioMenuItemCreator;
00070       std::vector<QAction*>   myActionsToDelete;
00071    }; 
00072 }

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)