VR-Forces 4.3 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
simulationCommandStealthCommand.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
10
11
#pragma once
12
13
#include <
vrfGuiCoreQt/vrfGuiCoreQt.h
>
14
#include <
vrfGuiCoreQt/simulationCommandDialogInterface.h
>
15
16
class
DtStealthCommandCommand
;
17
class
QComboBox
;
18
class
QLabel
;
19
class
QVBoxLayout;
20
class
QHBoxLayout;
21
22
namespace
makVrf
23
{
24
class
DtScriptedTaskDialog;
25
26
class
DT_DLL_VRFGUICOREQT
DtStealthCommandObjectWrapper
:
public
DtSimCommandObjectWrapper
27
{
28
public
:
29
DtStealthCommandObjectWrapper
(
makVrv::DtDe
&,
const
DtStealthCommandCommand
&);
30
DtStealthCommandObjectWrapper
(
const
DtStealthCommandObjectWrapper
&);
31
32
virtual
void
setObjectName(
const
DtString
&);
33
virtual
DtString
objectName()
const
;
34
35
virtual
DtSimCommandObjectWrapper
* clone()
const
;
36
};
37
39
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandStealthCommandWidget
:
public
DtSimulationCommandDialogInterface
40
{
41
Q_OBJECT
42
43
public
:
44
//CTOR
45
DtSimulationCommandStealthCommandWidget
(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
46
47
//DTOR
48
virtual
~
DtSimulationCommandStealthCommandWidget
();
49
50
protected
:
51
52
virtual
QWidget
* contents(
const
std::vector<makVrv::DtSimEntry*>& data);
53
54
virtual
void
sendRequest();
55
virtual
void
setupStatement(
const
DtSimStatement
*);
56
57
protected
:
58
virtual
bool
wantsSelectionOfObjectInCommandMode()
const
;
59
virtual
void
initializeItems(
const
std::vector<makVrv::DtSimEntry*>& data);
60
virtual
bool
valid()
const
;
61
virtual
void
validate();
62
virtual
void
resizeWidgetToContents();
63
virtual
void
showEvent(QShowEvent*);
64
65
protected
slots:
66
virtual
void
stealthCommandChanged();
67
68
public
:
69
QWidget
*
myCanvas
;
70
QVBoxLayout*
myMainLayout
;
71
QHBoxLayout*
myStealthCommandsLayout
;
72
QWidget
*
myStealthCommandsWidget
;
73
QLabel
*
myStealthCommandsLabel
;
74
QComboBox
*
myStealthCommandsCombo
;
75
76
DtScriptedTaskDialog
*
myVariables
;
77
78
protected
:
79
DtStealthCommandCommand
*
myStealthCommand
;
80
};
81
82
class
DT_DLL_VRFGUICOREQT
DtSimulationCommandStealthCommandWidgetCreator
:
public
DtVrfSimulationCommandDialogCreator
83
{
84
public
:
85
virtual
DtSimulationCommandDialogInterface
* create(
makVrv::DtDe
&,
QWidget
* parent);
86
virtual
bool
supportsType(
makVrv::DtDe
&,
const
DtSimCommandMessageType
&,
const
DtSimStatement
*)
const
;
87
virtual
std::string objectNameFromStatement(
makVrv::DtDe
&,
const
DtSimCommand
*)
const
;
88
};
89
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)