VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiVectorElement.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 <matrix/vlVector.h>
14
15
class
QLayout;
16
class
QLineEdit
;
17
class
QDoubleValidator;
18
21
class
DT_DLL_entityeditorimpl
DtUiVectorElement
:
public
DtUiElement
22
{
23
public
:
24
26
DtUiVectorElement
(makVrv::DtDe&);
27
29
virtual
~
DtUiVectorElement
();
30
31
static
DtUiElement
*
CreatorFunction
(makVrv::DtDe&);
32
33
virtual
void
setSingleRowLabel(
const
QString&);
34
virtual
void
setFromParameters
(
const
std::vector<DtReaderWriter*>& parentRw);
35
36
protected
:
37
virtual
void
createControls
(
QWidget
*);
38
virtual
void
updateLabelTitle
();
39
virtual
bool
allXValuesTheSame()
const
;
40
virtual
bool
allYValuesTheSame()
const
;
41
virtual
bool
allZValuesTheSame()
const
;
42
43
protected
:
44
virtual
void
decorateElement
();
45
virtual
void
elementChanged
();
46
virtual
void
setModified(
QWidget
* l,
bool
modified);
47
48
virtual
bool
inGridLayout()
const
;
49
virtual
QLayout* gridLayout()
const
;
50
virtual
int
gridRowPosition()
const
;
51
virtual
QString
labelTitle
()
const
;
52
53
virtual
void
setBlockSignals(
bool
block);
54
55
public
:
56
QLayout*
myLayout
;
57
QWidget
*
myContainer
;
58
59
QLabel*
myLocationLabelX
;
60
QLineEdit
*
myX
;
61
62
QLabel*
myLocationLabelY
;
63
QLineEdit
*
myY
;
64
65
QLabel*
myLocationLabelZ
;
66
QLineEdit
*
myZ
;
67
QString
myOriginalSingleLabelTitle
;
68
bool
myInParentGridLayout
;
69
int
myGridRowPosition
;
70
QDoubleValidator*
myValidator
;
71
bool
mySingleRow
;
72
};
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
)