VR-Forces 4.0.4 Class Documentation
include/entityEditorImpl/uiOrientationElement.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2011 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: uiOrientationElement.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ** Created: 5/31/11 MEM
00008 *******************************************************************************/
00009 
00012 
00014 
00015 #pragma once
00016 
00017 #include "entityEditorImpl/uiFrameElement.h"
00018 #include "vrfutil/rwInt.h"
00019 #include "vrfutil/rwReal.h"
00020 
00021 class QDoubleValidator;
00022 class QLineEdit;
00023 class QLabel;
00024 class DtRwTaitBryan;
00025 
00028 
00029 #include "entityEditorImpl/entityEditorImplDefines.h"
00030 
00031 class DT_DLL_entityeditorimpl  DtUiOrientationElement : public DtUiFrameElement
00032 {
00033 public:
00034 
00036    DtUiOrientationElement
00037       (
00038       const DtString& name,
00039       DtReaderWriterRegistry* const parentRegistry = NULL
00040       );
00041 
00043    virtual ~DtUiOrientationElement();
00044 
00046    DtUiOrientationElement(const DtUiOrientationElement& orig);
00047 
00049    DtUiOrientationElement& operator=(const DtUiOrientationElement& orig);
00050 
00051    virtual QWidget* createLabelWidget(QWidget* parent) {return 0;};
00052    virtual QWidget* createControls(QWidget*);
00053    virtual void setFromParameters(DtReaderWriter* parentRw);
00054 
00055 protected:
00056    virtual void elementChanged();
00057    virtual void decorateElement();
00058 
00059    virtual void setModifiedFont(QLabel* l, bool modified);
00060    virtual void setOrientation(DtRwTaitBryan* sourceOrient);
00061 
00062 protected:
00063    virtual DtUiElement* clone();
00064 
00065 protected:
00066    QDoubleValidator* myValidator;
00067 
00068    DtRwInt  myDecimals;
00069    QLabel* myFiLabel;
00070    QLabel* myThetaLabel;
00071    QLabel* myPsiLabel;
00072    QLineEdit*  myFiLineEdit;  
00073    QLineEdit*  myThetaLineEdit;  
00074    QLineEdit*  myPsiLineEdit;  
00075    double myPsiDiff;
00076    double myThetaDiff;
00077    double myFiDiff;
00078 };
00079 

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)