VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiRealElement.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2007 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: uiRealElement.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DTUIREALELEMENT_H_
13
#define DTUIREALELEMENT_H_
14
15
#include "
entityEditorImpl/uiElement.h
"
16
#include "
vrfutil/rwInt.h
"
17
#include "
vrfutil/rwReal.h
"
18
19
class
QDoubleValidator;
20
class
QLineEdit
;
21
22
#include "
entityEditorImpl/entityEditorImplDefines.h
"
23
24
class
DT_DLL_entityeditorimpl
DtUiRealElement
:
public
DtUiElement
25
{
26
public
:
27
29
DtUiRealElement
30
(
31
const
DtString
& name,
32
DtReaderWriterRegistry
*
const
parentRegistry = NULL
33
);
34
36
virtual
~
DtUiRealElement
();
37
39
DtUiRealElement
(
const
DtUiRealElement
& orig);
40
42
DtUiRealElement
&
operator=
(
const
DtUiRealElement
& orig);
43
44
virtual
void
setFromParameters
(
DtReaderWriter
* parentRw);
45
46
protected
:
47
virtual
QWidget
*
createDataEntryElement
(
QWidget
*);
48
virtual
void
elementChanged
();
49
50
protected
:
51
virtual
DtUiElement
*
clone
();
52
53
protected
:
54
QDoubleValidator*
myValidator
;
55
56
DtRwReal
myLowerBound
;
57
DtRwReal
myUpperBound
;
58
DtRwInt
myDecimals
;
59
QLineEdit
*
myLineEdit
;
60
double
myDiff
;
61
};
62
63
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)