VR-Forces Development_Version 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
lifeformSurrenderedConditional.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtLifeformSurrenderedConditional.h,v $ $Revision: 1.1 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrfGuiCoreQt/baseEntityConditionalExpressionDialog.h
>
17
#include <
vrfGuiCoreQt/baseEntityConditionalExpressionLogic.h
>
18
19
class
QHBoxLayout;
20
class
QWidget
;
21
class
QComboBox
;
22
class
QLabel
;
23
class
QGroupBox;
24
25
namespace
makVrf
26
{
28
class
DT_DLL_VRFGUICOREQT
DtLifeformSurrenderedConditionalCreator
:
public
DtVrfConditionalExpressionCreator
29
{
30
public
:
31
virtual
DtConditionalExpressionInterface
* create(
makVrv::DtDe
&,
QWidget
* parent);
32
virtual
QString title()
const
;
33
virtual
bool
canEditType(
int
)
const
;
34
};
35
36
class
DT_DLL_VRFGUICOREQT
DtLifeformSurrenderedConditionalLogic
:
public
DtBaseEntityConditionalExpressionLogic
37
{
38
public
:
39
DtLifeformSurrenderedConditionalLogic
(
makVrv::DtDe
&,
DtConditionalExpressionInterface
*);
40
41
virtual
~
DtLifeformSurrenderedConditionalLogic
();
42
43
public
:
44
virtual
void
createConditional(
DtConditionalExpressionViewInterface
* parentView,
45
const
std::vector<makVrv::DtSimEntry*>& data);
46
47
virtual
DtSimCondExpr
* conditionalExpression()
const
;
48
virtual
void
setupConditional(
const
DtSimCondExpr
*,
const
std::vector<makVrv::DtSimEntry*>& data);
49
50
protected
:
51
virtual
bool
surrendered()
const
;
52
virtual
void
setSurrendered(
bool
);
53
virtual
void
initializeSelectionFilters();
54
};
55
56
class
DT_DLL_VRFGUICOREQT
DtLifeformSurrenderedConditional
:
public
DtBaseEntityConditionalExpressionDialog
57
{
58
Q_OBJECT
59
public
:
60
//CTOR
61
DtLifeformSurrenderedConditional
(
makVrv::DtDe
& de,
QWidget
* parent,
const
Qt::WindowFlags& flags = 0);
62
63
//DTOR
64
virtual
~
DtLifeformSurrenderedConditional
();
65
66
virtual
bool
surrendered()
const
;
67
virtual
void
setSurrendered(
bool
);
68
69
protected
:
70
virtual
QWidget
* expressionExtension();
71
72
virtual
QString value()
const
;
73
virtual
void
setValue(
const
QString&);
74
virtual
void
setupConditional(
const
DtSimCondExpr
* expr,
const
std::vector<makVrv::DtSimEntry*>& data);
75
76
public
:
77
QHBoxLayout*
myExtensionLayout
;
78
QGroupBox*
myExtension
;
79
80
QLabel
*
mySurrenderedLabel
;
81
QComboBox
*
mySurrendered
;
82
};
83
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)