VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
simulationObjectEditorImpl
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 "
simulationObjectEditorImpl/simulationObjectEditorImplDefines.h
"
12
#include "
simulationObjectEditorImpl/uiMapAwareElement.h
"
13
#include "
vrfutil/rwInt.h
"
14
15
class
DT_DLL_simulationObjectEditorimpl
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 Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)