VR-Forces 4.2 Class Documentation
DtPrecisionMovementEntryWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
10 
11 #pragma once
12 
15 
16 class DtSimMessage;
17 class QComboBox;
18 class QGridLayout;
19 
20 namespace makVrf
21 {
25  {
26  Q_OBJECT
27 
28  public:
29  DtPrecisionMovementEntryWidget(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
30 
31  //DTOR
33 
35  virtual void setAllowEmptyEntry(bool);
36  virtual bool allowEmptyEntry() const;
37 
41  virtual void setRange(double bottom, double top);
42 
44  virtual void setDefaultValue(const std::string&);
45 
48  virtual void setVariableData(const std::string&);
50 
52  virtual DtString animationModel() const;
53 
55  virtual void setAnimationModel(const DtString&);
56 
58  virtual DtReaderWriter* createBoundVariable(const std::string& variableName);
59 
61  virtual void receiveScriptedMovementObjects(DtSimMessage* msg);
62 
64  virtual void setupFromBoundVariable(const DtReaderWriter* variableName);
65 
67  virtual DtTaskSetVariableWidgetExtensionInterface* parameterContents(QWidget* parent, const Qt::WindowFlags& flags = 0) const;
68 
69  static makVrv::DtUnicode codeVariableType()
70  {
71  return makVrv::DtUnicode::tr("String");
72  }
73 
74  protected slots:
75  virtual void onModelChanged();
76  virtual void onCategoryChanged();
77 
78  public:
79  QGridLayout* myLayout;
80  QLabel* myValueLabel;
81  QLabel* myDescription;
84  QLabel* myCategoryLabel;
85  QString myDefaultValue;
87 
88  protected:
90  };
91 
93 }

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)