VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCoreQt
DtLifeformSurrenderedConditional.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/DtBaseEntityConditionalExpressionDialog.h
>
17
#include <
vrfGuiCoreQt/DtBaseEntityConditionalExpressionLogic.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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)