VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
stealthViewModesWidget.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 
16 
17 class QComboBox;
18 class QHBoxLayout;
19 
20 namespace makVrf
21 {
25  {
26  Q_OBJECT
27 
28  public:
29  DtStealthViewModesWidget(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0, const CreationFlags& cflags = NormalMode);
30 
31  //DTOR
32  virtual ~DtStealthViewModesWidget();
33 
36  virtual void setLabel(const QString&);
37  virtual QString label() const;
38 
41  virtual void setRange(double, double) {};
42 
44  virtual void setDefaultValue(const std::string&);
46 
48  virtual std::string viewMode() const;
49 
51  virtual void setViewMode(const std::string&);
52 
54  virtual DtReaderWriter* createBoundVariable(const std::string& variableName);
55 
57  virtual void setupFromBoundVariable(const DtReaderWriter* variableName);
58 
59  static makVrv::DtUnicode codeVariableType()
60  {
61  return makVrv::DtUnicode::tr("String");
62  }
63 
64  static std::string designerGroup()
65  {
66  return tr("VR-Forces Stealth Control").toUtf8().constData();
67  }
68 
69  static std::string headerFile()
70  {
71  return tr("<vrfGuiCoreQt/stealthViewModesWidget.h>").toUtf8().constData();
72  }
73 
74  static std::string variableName()
75  {
76  return tr("viewMode").toUtf8().constData();
77  }
78 
79  public:
82  QHBoxLayout* myContentLayout;
83  };
84 
86 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)