VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiCombatRangeControllerElement.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2008 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: uiCombatRangeController.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DtUiCombatRangeControllerElement_H
13
#define DtUiCombatRangeControllerElement_H
14
15
#include "
entityEditorImpl/uiItemComponent.h
"
16
#include "
entityEditorImpl/entityEditorImplDefines.h
"
17
18
#include <
vrfutil/rwReal.h
>
19
#include <
vrfobjparam/combatRangeCtlDesc.h
>
20
21
class
QCheckBox
;
22
class
QLineEdit
;
23
class
QLabel
;
24
25
class
DT_DLL_entityeditorimpl
DtUiCombatRangeControllerElement
:
public
DtUiItemComponent
26
{
27
public
:
28
30
DtUiCombatRangeControllerElement
31
(
32
const
DtString
& name,
33
DtReaderWriterRegistry
*
const
parentRegistry = NULL
34
);
35
37
virtual
~
DtUiCombatRangeControllerElement
();
38
40
DtUiCombatRangeControllerElement
(
const
DtUiCombatRangeControllerElement
& orig);
41
43
DtUiCombatRangeControllerElement
&
operator=
(
const
DtUiCombatRangeControllerElement
& orig);
44
45
protected
:
46
virtual
QWidget
*
createLabelWidget
(
QWidget
* parent) {
return
0;};
47
virtual
QWidget
*
createControls
(
QWidget
*);
48
virtual
void
setFromParameters
(
DtReaderWriter
* parentRw);
49
virtual
void
elementChanged
();
50
51
virtual
bool
isModified
()
const
;
52
virtual
bool
rangeModified()
const
;
53
54
protected
:
55
virtual
DtUiElement
*
clone
();
56
virtual
DtComponentDescriptor
*
addComponentDescriptor
(
DtVrfObjectParameters
* params);
57
58
protected
:
59
60
bool
myRangeModified
;
61
QLineEdit
*
myLineEdit
;
62
QLabel
*
myLineEditLabel
;
63
DtRwReal
myDefaultRange
;
64
65
};
66
67
#endif
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
)