VR-Forces 4.6.1 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
extendedPropertiesPage.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 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 <
vrfutil/rwProperties.h
>
15
16
namespace
makVrf
17
{
18
19
namespace
makVrfGuiObjectInformationQt
20
{
21
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtExtendedPropertiesPage
:
public
DtInformationDialogPage
22
{
23
Q_OBJECT
24
25
public
:
26
27
enum
StatePropObjCategory
28
{
29
UnknownStateProps
,
30
AggStateProps
,
31
EntStateProps
,
32
EnvStateProps
33
};
34
36
DtExtendedPropertiesPage
(
makVrv::DtDe
& de, QWidget* parent, Qt::WindowFlags f = Qt::SubWindow);
37
39
virtual
~
DtExtendedPropertiesPage
();
40
42
virtual
QIcon icon();
43
45
virtual
QString title();
46
48
virtual
const
std::string& pageClassName()
const
;
49
51
static
const
std::string& thePageClassName();
52
53
virtual
DtInformationDialogPageLogic
* createLogic();
54
56
virtual
ShowStatus setupGui(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
57
58
protected
:
59
virtual
void
activate();
60
61
StatePropObjCategory
myStatePropertyObjectCategory
;
62
};
63
64
typedef
makVrv::DtPageCreatorTemplate<DtExtendedPropertiesPage>
65
DtExtendedPropertiesPageCreator
;
66
68
class
DT_DLL_VRFGUIOBJECTINFORMATIONQT
DtExtendedPropertiesPageLogic
:
public
DtInformationDialogPageLogic
69
{
70
public
:
71
DtExtendedPropertiesPageLogic
(
makVrv::DtDe
&,
DtInformationDialogPage
* iface);
72
73
virtual
~
DtExtendedPropertiesPageLogic
();
74
75
virtual
void
activate(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
76
77
virtual
const
DtRwProperties
& stateProperties()
const
78
{
79
return
myStateProperties;
80
}
81
82
virtual
DtExtendedPropertiesPage::StatePropObjCategory
statePropertyCateogry()
const
83
{
84
return
myStatePropertyObjectCategory;
85
}
86
87
virtual
void
setStatePropertyCategory(
DtExtendedPropertiesPage::StatePropObjCategory
cat)
88
{
89
myStatePropertyObjectCategory = cat;
90
}
91
92
protected
:
93
DtRwProperties
myStateProperties
;
94
DtExtendedPropertiesPage::StatePropObjCategory
myStatePropertyObjectCategory
;
95
};
96
}
97
}
98
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)