VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
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
16
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
17
#include <vrvCoreQt/DtMenuItem.h>
18
#include <vrvCoreQt/DtMenu.h>
19
20
namespace
makVrf
21
{
22
class
DtVrfGuiRecentScenarios;
23
25
class
DT_DLL_VRFGUICOREQT
DtRecentScenarioMenuItem
:
public
makVrv::DtMenuItem
26
{
27
public
:
28
//CTOR
29
DtRecentScenarioMenuItem
(makVrv::DtDe& de);
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
:
42
makVrv::DtDe&
myDe
;
43
};
44
48
class
DT_DLL_VRFGUICOREQT
DtRecentScenariosMenu
:
public
makVrv::DtMenu
49
{
50
public
:
51
53
DtRecentScenariosMenu
(makVrv::DtDe&);
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
:
68
QMenu
*
myMenu
;
69
DtRecentScenarioMenuItem
*
myRecentScenarioMenuItemCreator
;
70
std::vector<QAction*>
myActionsToDelete
;
71
};
72
}
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)