VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiIntegerElement.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2007 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: uiIntegerElement.h,v $ $Revision: 1.1 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifndef DTUIINTEGERELEMENT_H_
13
#define DTUIINTEGERELEMENT_H_
14
15
#include "
entityEditorImpl/uiElement.h
"
16
17
#include "
vrfutil/rwInt.h
"
18
19
class
QIntValidator;
20
class
QLineEdit
;
21
22
#include "
entityEditorImpl/entityEditorImplDefines.h
"
23
24
class
DT_DLL_entityeditorimpl
DtUiIntegerElement
:
public
DtUiElement
25
{
26
public
:
27
29
DtUiIntegerElement
30
(
31
const
DtString
& name,
32
DtReaderWriterRegistry
*
const
parentRegistry = NULL
33
);
34
36
virtual
~
DtUiIntegerElement
();
37
39
DtUiIntegerElement
(
const
DtUiIntegerElement
& orig);
40
42
DtUiIntegerElement
&
operator=
(
const
DtUiIntegerElement
& orig);
43
44
protected
:
45
virtual
QWidget
*
createDataEntryElement
(
QWidget
*);
46
47
protected
:
48
virtual
DtUiElement
*
clone
();
49
virtual
void
setFromParameters
(
DtReaderWriter
* parentRw);
50
virtual
void
elementChanged
();
51
52
protected
:
53
QIntValidator*
myValidator
;
54
55
DtRwInt
myLowerBound
;
56
DtRwInt
myUpperBound
;
57
QLineEdit
*
myLineEdit
;
58
};
59
60
#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
)