VR-Forces 4.1.1 Class Documentation
DtRecentScenariosMenu.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtConditionalMenu.h,v $ $Revision: 1.2 $ $State: Exp $
7 ******************************************************************************/
8 
11 
12 #pragma once
13 
14 #include <vrvUtil/signalslib.h>
15 
17 #include <vrvCoreQt/DtMenuItem.h>
18 #include <vrvCoreQt/DtMenu.h>
19 
20 namespace makVrf
21 {
22  class DtVrfGuiRecentScenarios;
23 
26  {
27  public:
28  //CTOR
30 
31  //DTOR
32  virtual ~DtRecentScenarioMenuItem();
33 
35  virtual QAction* createAction(makVrv::DtDe&, QWidget* parent);
36 
37  protected:
38 
39  virtual void on_triggered();
40 
41  protected:
43  };
44 
49  {
50  public:
51 
54 
56  virtual ~DtRecentScenariosMenu();
57 
59  virtual QMenu* createMenu(makVrv::DtDe&, QWidget* parent);
60 
61  protected:
62  virtual void setupMenuFromSettings(DtVrfGuiRecentScenarios*);
63 
65  virtual void cleanupActions();
66 
67  protected:
70  std::vector<QAction*> myActionsToDelete;
71  };
72 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)