VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiOrientationElement.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: uiOrientationElement.h,v $ $Revision: 1.1 $ $State: Exp $
7
** Created: 5/31/11 MEM
8
*******************************************************************************/
9
12
14
15
#pragma once
16
17
#include "
entityEditorImpl/uiFrameElement.h
"
18
#include "
vrfutil/rwInt.h
"
19
#include "
vrfutil/rwReal.h
"
20
21
class
QDoubleValidator;
22
class
QLineEdit
;
23
class
QLabel
;
24
class
DtRwTaitBryan
;
25
28
29
#include "
entityEditorImpl/entityEditorImplDefines.h
"
30
31
class
DT_DLL_entityeditorimpl
DtUiOrientationElement
:
public
DtUiFrameElement
32
{
33
public
:
34
36
DtUiOrientationElement
37
(
38
const
DtString
& name,
39
DtReaderWriterRegistry
*
const
parentRegistry = NULL
40
);
41
43
virtual
~
DtUiOrientationElement
();
44
46
DtUiOrientationElement
(
const
DtUiOrientationElement
& orig);
47
49
DtUiOrientationElement
&
operator=
(
const
DtUiOrientationElement
& orig);
50
51
virtual
QWidget
*
createLabelWidget
(
QWidget
* parent) {
return
0;};
52
virtual
QWidget
*
createControls
(
QWidget
*);
53
virtual
void
setFromParameters
(
DtReaderWriter
* parentRw);
54
55
protected
:
56
virtual
void
elementChanged
();
57
virtual
void
decorateElement
();
58
59
virtual
void
setModifiedFont(
QLabel
* l,
bool
modified);
60
virtual
void
setOrientation(
DtRwTaitBryan
* sourceOrient);
61
62
protected
:
63
virtual
DtUiElement
*
clone
();
64
65
protected
:
66
QDoubleValidator*
myValidator
;
67
68
DtRwInt
myDecimals
;
69
QLabel
*
myFiLabel
;
70
QLabel
*
myThetaLabel
;
71
QLabel
*
myPsiLabel
;
72
QLineEdit
*
myFiLineEdit
;
73
QLineEdit
*
myThetaLineEdit
;
74
QLineEdit
*
myPsiLineEdit
;
75
double
myPsiDiff
;
76
double
myThetaDiff
;
77
double
myFiDiff
;
78
};
79
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
)