VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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/uiMapAwareElement.h
"
13
#include "
vrfutil/rwInt.h
"
14
15
class
DT_DLL_entityeditorimpl
DtUiStringElement
:
public
DtUiMapAwareElement
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)