VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
stealthObserverViewModesWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
17 
18 class QListWidget;
19 
20 namespace makVrf
21 {
27  {
28  Q_OBJECT
29 
30  public:
31  DtStealthObserverViewModesWidget(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, const CreationFlags& cflags = NormalMode);
32 
33  //DTOR
35 
38  virtual void setRange(double, double) {};
39 
41  virtual void setDefaultValue(const std::string&);
42 
44 
46  virtual std::string viewMode() const;
47 
49  virtual void setViewMode(const std::string&);
50 
52  virtual DtReaderWriter* createBoundVariable(const std::string& variableName);
53 
55  virtual void setupFromBoundVariable(const DtReaderWriter* variableName);
56 
57  static makVrv::DtUnicode codeVariableType()
58  {
59  return makVrv::DtUnicode::tr("String");
60  }
61 
62  static std::string designerGroup()
63  {
64  return tr("VR-Forces Stealth Control").toUtf8().constData();
65  }
66 
67  static std::string headerFile()
68  {
69  return tr("<vrfGuiCoreQt/stealthObserverViewModelsWidget.h>").toUtf8().constData();
70  }
71 
72  static std::string variableName()
73  {
74  return tr("observerViewMode").toUtf8().constData();
75  }
76 
77  public:
78  QListWidget* myStealthModes;
79 
80  protected:
82  };
83 
85 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)