VR-Forces 4.1.1 Class Documentation
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 
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 
30 
32 {
33 public:
34 
37  (
38  const DtString& name,
39  DtReaderWriterRegistry* const parentRegistry = NULL
40  );
41 
43  virtual ~DtUiOrientationElement();
44 
47 
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 
75  double myPsiDiff;
76  double myThetaDiff;
77  double myFiDiff;
78 };
79 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)