VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
debugDrawNavMeshPage.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
12 
15 
16 class QLabel;
17 class QGridLayout;
18 class QCheckBox;
19 class QLineEdit;
20 class QComboBox;
21 class QRadioButton;
22 class QSlider;
23 class QListWidget;
24 class DtDebugDrawColors;
25 
26 
27 namespace makVrv
28 {
29  class DtDe;
30 }
31 
32 namespace makVrf
33 {
34  class DtDebugDrawNavMeshLogic;
35  class DtDebugDrawConnectorPage;
36 
39  {
40  Q_OBJECT
41 
42  public:
43 
45  DtDebugDrawNavMeshPage(makVrv::DtDe& de,QWidget* parent, Qt::WindowFlags f);
46 
48  virtual ~DtDebugDrawNavMeshPage() override;
49 
51  virtual QIcon icon() override;
52 
55  virtual makVrv::DtQIconConfigurations qIconConfigurations() const override;
56 
58  virtual QString title() override;
59 
61  virtual const std::string& pageClassName() const override;
62 
64  static const std::string& thePageClassName();
65 
66  protected:
67 
69  virtual void fillNavColor();
71  virtual void setupGui() override;
73  virtual void activate() override;
75  virtual void deactivate() override;
77  virtual void setupComboBox();
78 
79  protected slots:
80  virtual void on_myProfileBox_currentTextChanged(const QString &text);
81  virtual void on_myRefreshButton_clicked();
82  virtual void on_myConnectButton_clicked();
83  virtual void on_myQueryRange_textChanged(const QString &text);
84  virtual void on_myQueryRange_returnPressed();
85  virtual void on_myShowNavMesh_stateChanged(int state);
86  virtual void on_myShowNavMeshNoColor_clicked();
87  virtual void on_myShowNavMeshColor_clicked();
88  virtual void on_myAlphaColorSlider_valueChanged();
89  virtual void on_myOffsetSlider_valueChanged();
90 
91  public:
92  QGridLayout* myMainLayout;
98  QSlider* myOffsetSlider;
100  QRadioButton* myShowNavMeshNoColor;
101  QRadioButton* myShowNavMeshColor;
106  QListWidget* myColorList;
108 
109  };
110 
113 }
makVrv::DtPageCreatorTemplate< DtDebugDrawNavMeshPage > DtDebugDrawNavMeshPageCreator
Definition: debugDrawNavMeshPage.h:112
QLabel * myProfileLabel
Definition: debugDrawNavMeshPage.h:102
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
QListWidget * myColorList
Definition: debugDrawNavMeshPage.h:106
QString myProfileString
Definition: debugDrawNavMeshPage.h:105
QRadioButton * myShowNavMeshNoColor
Definition: debugDrawNavMeshPage.h:100
QRadioButton * myShowNavMeshColor
Definition: debugDrawNavMeshPage.h:101
Definition: debugDrawNavMeshInterface.h:22
QLabel * myColorSliderName
Definition: debugDrawNavMeshPage.h:95
DtDebugDrawColors * myDebugDrawColors
Definition: debugDrawNavMeshPage.h:107
Definition: DtPage.h:181
QSlider * myAlphaColorSlider
Definition: debugDrawNavMeshPage.h:96
QLabel * myOffsetSliderName
Definition: debugDrawNavMeshPage.h:97
A widget for configuring the debug draw connector for the selected sim engine.
Definition: debugDrawConnectorPage.h:36
QSlider * myOffsetSlider
Definition: debugDrawNavMeshPage.h:98
QGridLayout * myMainLayout
Definition: debugDrawNavMeshPage.h:92
QLabel * myOffsetUnitLabel
Definition: debugDrawNavMeshPage.h:99
DtDebugDrawConnectorPage * myConnectorToolbar
Definition: debugDrawNavMeshPage.h:94
Contains makVrf::DtDebugDrawNavMeshLogic class. This class is trigger by the DebugDrawNavMeshPage dia...
Definition: debugDrawNavMeshLogic.h:31
DtDebugDrawNavMeshLogic * myLogic
Definition: debugDrawNavMeshPage.h:93
This class will read ammunition, entity, weapons and assemblies and provide information about them...
Definition: debugDrawColors.h:16
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
QCheckBox * myShowNavMesh
Definition: debugDrawNavMeshPage.h:104
A widget for configuring the sim nav mesh debug information.
Definition: debugDrawNavMeshPage.h:38
QComboBox * myProfileBox
Definition: debugDrawNavMeshPage.h:103

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)