VR-Forces 4.3.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfGuiCoreQt
embeddedEntitySetMenu.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
9
#include <
vrfGuiCoreQt/configurableMenu.h
>
10
#include <
vrfGuiCoreQt/vrfTaskSetMenu.h
>
11
#include <
vrfGuiCoreQt/setMenu.h
>
12
#include <
vrvCoreQt/DtToolbar.h
>
13
#include <
vrfGuiConstants/vrfMenuIds.h
>
14
#include <
vrfmsgs/ifEmbeddedEntityInfoCacheResponse.h
>
15
16
class
DtSimTask
;
17
18
namespace
makVrf
19
{
22
class
DT_DLL_VRFGUICOREQT
DtEmbeddedEntitySetMenu
:
public
DtSetMenu
23
{
24
public
:
31
DtEmbeddedEntitySetMenu
(std::string parentName,
32
const
DtEmbeddedEntity
& entity,
makVrv::DtDe
&,
33
const
std::string& menuIdName =
DtEmbeddedEntitySetMenuId
,
34
int
partOfPlanDialog = 3);
35
37
virtual
~
DtEmbeddedEntitySetMenu
();
38
41
virtual
QMenu
* createMenu(
makVrv::DtDe
&,
QWidget
* parent);
42
45
46
boost::signal<void (const DtSimTask&)>
signal_planTaskCreated
;
48
virtual
void
slot_planTaskCreated(
const
DtSimTask
&
set
);
49
50
protected
:
51
DtEmbeddedEntity
myEntity
;
52
std::string
myParentName
;
53
int
myPartOfPlanDialog
;
54
};
55
57
class
DT_DLL_VRFGUICOREQT
DtEmbeddedEntityVrfSetMenu
:
public
DtVrfSetMenu
58
{
59
public
:
62
DtEmbeddedEntityVrfSetMenu
(std::string parentName,
63
const
DtEmbeddedEntity
& entity,
const
std::string& className,
64
const
QString& title,
QWidget
* parent,
makVrv::DtDe
& de,
65
int
partOfPlanDialog = 3);
66
68
virtual
~
DtEmbeddedEntityVrfSetMenu
();
69
71
virtual
makVrv::DtSelectionManager::IdSet
selectionsToUseForTaskSetDialog()
const
;
72
75
virtual
void
availableMenuItems(
76
const
makVrv::DtSelectionManager::IdSet
& selections,
77
std::vector<int>& available,
78
bool
noTaskSetValueMeansAll);
79
81
boost::signal<void (const DtSimTask&)>
signal_planTaskCreated
;
82
83
protected
:
87
virtual
void
slot_setRequest(std::vector<std::string> names,
88
const
DtSetDataRequest
&
set
);
89
90
91
protected
:
92
DtEmbeddedEntity
myEntity
;
93
std::string
myParentName
;
94
};
95
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)