VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiStringElement.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2013 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
8
9
#pragma once
10
11
#include "
entityEditorImpl/entityEditorImplDefines.h
"
12
#include "
entityEditorImpl/uiElement.h
"
13
#include "
vrfutil/rwInt.h
"
14
15
class
DT_DLL_entityeditorimpl
DtUiStringElement
:
public
DtUiElement
16
{
17
public
:
18
20
DtUiStringElement
(makVrv::DtDe&);
21
23
virtual
~
DtUiStringElement
();
24
25
static
DtUiElement
*
CreatorFunction
(makVrv::DtDe&);
26
28
virtual
void
setValue(
const
QString&);
29
virtual
QString value()
const
;
30
31
virtual
void
elementChanged
();
32
33
protected
:
34
virtual
void
setFromParameters
(
const
std::vector<DtReaderWriter*>& parentRw);
35
37
virtual
void
createControls
(
QWidget
* widget);
38
39
virtual
DtString
sourceValueToDisplayLabel(
const
DtString
& source);
40
virtual
DtString
displayLabelToSourceValue(
const
DtString
& display);
41
42
protected
:
44
bool
myIsLineEdit
;
45
46
typedef
std::map<DtString, DtString>
DisplayLabelToSourceValueMap
;
47
DisplayLabelToSourceValueMap
myDisplayToSourceValues
;
48
};
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)