VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfGuiObjectInformationQt
statePropertyPageItem.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h
>
13
#include <
vrfGuiObjectInformationQt/informationDialogPage.h
>
14
#include <
vrfGuiCore/aggregateState.h
>
15
#include <
vrfGuiCore/vrfObjectDataState.h
>
16
#include <
vrfGuiCore/vrlinkSimulatedEnvironmentProcess.h
>
17
18
namespace
makVrf
19
{
20
namespace
makVrfGuiObjectInformationQt
21
{
22
class
DtInformationDialogPageLogic;
23
25
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtStatePropertyPageItem
:
public
DtItemUpdateFunction
26
{
27
public
:
28
DtStatePropertyPageItem
(
makVrv::DtDe
& de)
29
:
DtItemUpdateFunction
(de)
30
, myAggregateState(0)
31
, myEntityState(0)
32
, myEnvironmentProcessState(0)
33
{
34
}
35
36
DtStatePropertyPageItem
(
DtInformationDialogPageLogic
* l)
37
:
DtItemUpdateFunction
(l)
38
{
39
}
40
41
virtual
QVariant value(
int
col,
int
role,
const
QTreeWidgetItem
*,
42
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
43
virtual
bool
valueNeedsUpdate(
int
col,
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
44
45
virtual
const
QString& title()
const
;
46
47
virtual
void
activate(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
48
49
static
std::string creatorName();
50
51
protected
:
52
54
virtual
QString stateValue()
const
;
55
57
virtual
QString propertyDisplayName()
const
;
58
59
QString
myTitle
;
60
DtString
myStatePropName
;
61
QString
myPropertyDisplayName
;
62
QString
myCurrentValue
;
63
const
makVrv::DtStateView<DtVrlinkSimulatedAggregateState>
*
myAggregateState
;
64
const
makVrv::DtStateView<DtVrfObjectDataState>
*
myEntityState
;
65
const
makVrv::DtStateView<DtVrlinkSimulatedEnvironmentProcess>
*
myEnvironmentProcessState
;
66
};
67
68
typedef
DtItemUpdateFunctionCreator<DtStatePropertyPageItem>
DtStatePropertyPageItemCreator
;
69
70
}
71
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)