VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtUiOrientationElement Class Reference

UI Element for specifying a body orientation on an entity. More...

Inheritance diagram for DtUiOrientationElement:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtUiOrientationElement (const DtString &name, DtReaderWriterRegistry *const parentRegistry=NULL)
 Constructor.
virtual ~DtUiOrientationElement ()
 Destructor.
 DtUiOrientationElement (const DtUiOrientationElement &orig)
 Copy constructor.
DtUiOrientationElementoperator= (const DtUiOrientationElement &orig)
 Assignment operator.
virtual QWidgetcreateLabelWidget (QWidget *parent)
 Create and return the label widget for this element.
virtual QWidgetcreateControls (QWidget *)
 Creates and returns the non-label part of the element.
virtual void setFromParameters (DtReaderWriter *parentRw)

Protected Member Functions

virtual void elementChanged ()
virtual void decorateElement ()
 Sets element decoration depending on the isModified state of the element.
virtual void setModifiedFont (QLabel *l, bool modified)
virtual void setOrientation (DtRwTaitBryan *sourceOrient)
virtual DtUiElementclone ()

Protected Attributes

QDoubleValidator * myValidator
DtRwInt myDecimals
QLabelmyFiLabel
QLabelmyThetaLabel
QLabelmyPsiLabel
QLineEditmyFiLineEdit
QLineEditmyThetaLineEdit
 Rotation around x axis(pitch)
QLineEditmyPsiLineEdit
 Rotation around y axis(roll)
double myPsiDiff
 Rotation around Z axis(yaw)
double myThetaDiff
double myFiDiff

Detailed Description

UI Element for specifying a body orientation on an entity.

Fills is a DtTaitBryan.


Constructor & Destructor Documentation

DtUiOrientationElement::DtUiOrientationElement ( const DtString name,
DtReaderWriterRegistry *const  parentRegistry = NULL 
)

Constructor.

Destructor.

Copy constructor.


Member Function Documentation

DtUiOrientationElement& DtUiOrientationElement::operator= ( const DtUiOrientationElement orig)

Assignment operator.

virtual QWidget* DtUiOrientationElement::createLabelWidget ( QWidget parent) [inline, virtual]

Create and return the label widget for this element.

May return NULL if not special label element is needed.

Reimplemented from DtUiElement.

virtual QWidget* DtUiOrientationElement::createControls ( QWidget parent) [virtual]

Creates and returns the non-label part of the element.

Reimplemented from DtUiFrameElement.

virtual void DtUiOrientationElement::setFromParameters ( DtReaderWriter parentRw) [virtual]

Reimplemented from DtUiElement.

virtual void DtUiOrientationElement::elementChanged ( ) [protected, virtual]

Reimplemented from DtUiElement.

virtual void DtUiOrientationElement::decorateElement ( ) [protected, virtual]

Sets element decoration depending on the isModified state of the element.

This version changes myLabel font.

Reimplemented from DtUiFrameElement.

virtual void DtUiOrientationElement::setModifiedFont ( QLabel l,
bool  modified 
) [protected, virtual]
virtual void DtUiOrientationElement::setOrientation ( DtRwTaitBryan sourceOrient) [protected, virtual]
virtual DtUiElement* DtUiOrientationElement::clone ( ) [protected, virtual]

Reimplemented from DtUiFrameElement.


Member Data Documentation

QDoubleValidator* DtUiOrientationElement::myValidator [protected]

Rotation around x axis(pitch)

Rotation around y axis(roll)

Rotation around Z axis(yaw)


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)