VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
scriptedTaskOptionsWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 
12 
15 
16 #include <QtWidgets/QWidget>
17 
19 //
21 
22 class QCheckBox;
23 class QHBoxLayout;
24 class QSpinBox;
25 class QLabel;
26 class QLineEdit;
27 class QPushButton;
28 class QToolButton;
29 
30 namespace makVrv
31 {
32  class DtDe;
33 }
34 
35 namespace makVrf
36 {
37  class DtScriptedTaskOptionsWidgetLogic;
38 
41  {
42  Q_OBJECT
43 
44  public:
45 
47  DtScriptedTaskOptionsWidget(makVrv::DtDe& de, QWidget* parent = NULL, const Qt::WindowFlags& flags = 0 );
48 
50  virtual ~DtScriptedTaskOptionsWidget();
51 
52  protected:
53 
54  void setupGui();
55 
56  virtual void setWarnOnSystemScriptChange(bool);
57  virtual bool warnOnSystemScriptChange() const;
58 
59  virtual void setShowWarnOnSystemScriptChange(bool);
60  virtual bool showWarnOnSystemScriptChange() const;
61 
62  virtual void setMonitorFrameRates(bool);
63  virtual bool monitorFrameRates() const;
64 
65  virtual void setIndent(int);
66  virtual int indent() const;
67 
68  virtual void setScriptEditor(const std::string&);
69  virtual std::string scriptEditor() const;
70 
71  protected slots:
73  virtual void onOptionChanged();
74  virtual void onChooseScriptEditor();
75 
76  private:
79 
82 
83  public:
86 
87  QHBoxLayout* myScriptEditorLayout;
93 
94  protected:
96  };
97 }
Definition: scriptedTaskOptionsWidgetInterface.h:25
#define DT_DLL_VRFGUISETTINGSWIDGETS
Definition: vrfGuiSettingsWidgets.h:22
QToolButton * myChooseScriptEditor
Definition: scriptedTaskOptionsWidget.h:90
QLabel * myIndentLabel
Definition: scriptedTaskOptionsWidget.h:92
QSpinBox * myIndent
Definition: scriptedTaskOptionsWidget.h:91
QCheckBox * myMonitorFrameRates
Definition: scriptedTaskOptionsWidget.h:85
QLabel * myScriptEditorLabel
Definition: scriptedTaskOptionsWidget.h:88
QLineEdit * myScriptEditor
Definition: scriptedTaskOptionsWidget.h:89
Definition: scriptedTaskOptionsWidget.h:39
makVrv::DtDe & myDe
Definition: scriptedTaskOptionsWidget.h:95
QCheckBox * myWarnOnSystemScriptChange
Definition: scriptedTaskOptionsWidget.h:84
QHBoxLayout * myScriptEditorLayout
Definition: scriptedTaskOptionsWidget.h:87
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)