VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
debugDrawConnectorPage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
15 
16 class QGridLayout;
17 class QPushButton;
18 class QLabel;
19 class QSpinBox;
20 class QFrame;
21 class QHBoxLayout;
22 class QToolButton;
23 class QLineEdit;
24 
25 namespace makVrv
26 {
27  class DtDe;
28 }
29 
30 namespace makVrf
31 {
32  class DtDebugDrawConnectorLogic;
33  class DtBackEndSelectionCombo;
34 
37  {
38  Q_OBJECT
39 
40  public:
41 
43  DtDebugDrawConnectorPage(makVrv::DtDe& de,QWidget* parent=0, Qt::WindowFlags f=0);
44 
46  virtual ~DtDebugDrawConnectorPage() override;
47 
49  virtual QIcon icon() override;
50 
53  virtual makVrv::DtQIconConfigurations qIconConfigurations() const override;
54 
56  virtual QString title() override;
57 
59  virtual const std::string& pageClassName() const override;
60 
62  static const std::string& thePageClassName();
63 
65  virtual const DtSimulationAddress& simAddress() const override;
66 
68  virtual bool connected() const override;
69 
71  virtual void connect();
72 
74  virtual void disconnect();
75 
77  virtual void setPageName(QString name);
78 
79  protected:
80 
81  virtual void setupGui() override;
82 
84  virtual void activate() override;
85 
87  virtual void deactivate() override;
88 
89  protected slots:
90  virtual void on_myPortSpinBox_valueChanged(int value);
91  virtual void on_myConnectButton_clicked();
92 
93  public:
94 
97 
98  QGridLayout* myMainLayout;
106  QHBoxLayout* myButtonLayout;
109  };
110 
113 
116  {
117  public:
119  static DtDebugDrawConnectorPageManager& instance(makVrv::DtDe& de);
120 
122  virtual ~DtDebugDrawConnectorPageManager() override;
123 
125  virtual DtDebugDrawConnectorPage* debugDrawConnectorPage(QString pageName);
126 
127  protected:
128 
131 
134  };
135 }
QLineEdit * myQueryRange
Definition: debugDrawConnectorPage.h:107
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
makVrv::DtDe & myDe
Definition: debugDrawConnectorPage.h:95
QSpinBox * myPortSpinBox
Definition: debugDrawConnectorPage.h:104
QToolButton * myRefreshButton
Definition: debugDrawConnectorPage.h:102
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
QFrame * mySeparator
Definition: debugDrawConnectorPage.h:105
Definition: DtPage.h:181
QLabel * myCurrentPage
Definition: debugDrawConnectorPage.h:99
QHBoxLayout * myButtonLayout
Definition: debugDrawConnectorPage.h:106
QToolButton * myConnectButton
Definition: debugDrawConnectorPage.h:101
A widget for configuring the debug draw connector for the selected sim engine.
Definition: debugDrawConnectorPage.h:36
Contains makVrv::DtVirtualBaseClass class.
Contains makVrf::DtDebugDrawConnectorLogic class. This class is trigger by the DebugDrawConnectorPage...
Definition: debugDrawConnectorLogic.h:31
This class is a static singleton manager for getting page connector.
Definition: debugDrawConnectorPage.h:115
DtDebugDrawConnectorLogic * myLogic
Definition: debugDrawConnectorPage.h:96
QLabel * myPortLabel
Definition: debugDrawConnectorPage.h:103
A widget class for managing simulation back-ends.
Definition: backEndSelectionList.h:101
makVrv::DtDe & myDe
Definition: debugDrawConnectorPage.h:132
Definition: debugDrawConnectorInterface.h:25
QGridLayout * myMainLayout
Definition: debugDrawConnectorPage.h:98
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:76
A collection of icon configurations. The collection maintains flags indicating whether to generate ic...
Definition: DtQIconConfiguration.h:131
DtDebugDrawConnectorPage * myDebugDrawConnectorPage
Definition: debugDrawConnectorPage.h:133
QLabel * myMeters
Definition: debugDrawConnectorPage.h:108
DtBackEndSelectionCombo * myBackendSelection
Definition: debugDrawConnectorPage.h:100
makVrv::DtPageCreatorTemplate< DtDebugDrawConnectorPage > DtDebugDrawConnectorPageCreator
Definition: debugDrawConnectorPage.h:112

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)