VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGhostedToolbarWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvCoreQt/vrvCoreQt.h>
12 
17 
19 
20 class QHBoxLayout;
21 class QComboBox;
22 class QLabel;
23 class QSlider;
24 class QWidget;
25 
26 namespace makVrv
27 {
28  class DtPopupToolbarButton;
29  class DtPopupToolbar;
30 
41  {
42  Q_OBJECT
43 
45 
46  public:
48  virtual ~DtGhostedToolbarWidget();
49 
51  DtGhostedToolbarWidget() = delete;
52 
55 
57  DtGhostedToolbarWidget& operator=(const DtGhostedToolbarWidget&) = delete;
58 
59  virtual void setGhostedEnabled(bool enabled);
60 
61  virtual void setEchelonLevel(int echelonLevel);
62 
63  protected:
65  DtGhostedToolbarWidget(DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
66 
68  virtual void setupUi();
69 
72  virtual void on_toolButtonClicked(bool checked);
73 
77  virtual void setWidgetsVisible(bool visible);
78 
79  protected slots:
81  virtual void selectedEchelonChanged();
82 
83  public:
84  QHBoxLayout* myMainLayout;
87 
91 
92  protected:
94  };
95 
99  {
100  public:
103 
106 
108  virtual QWidget* create(DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
109  };
110 }
Contains makVrv::DtWidgetBuilder class.
The DtPopupToolbarButton class is a toolbar which controls the display of a toolbar.
Definition: DtPopupToolbarButton.h:24
This logic class is responsible for populating the bullseye selection widget with all the names of th...
Definition: DtGhostedToolbarLogic.h:33
QSlider * myEchelonLevelSlider
Definition: DtGhostedToolbarWidget.h:86
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
DtPopupToolbarButton * myEchelonSelectionSliderEnableButton
Definition: DtGhostedToolbarWidget.h:89
The DtPopupToolbar class provides a toolbar can be easily shown and hidden.
Definition: DtPopupToolbar.h:22
Abstract interface for the stealth control widget.
Definition: DtGhostedToolbarWidgetInterface.h:18
Builder class for DtEchelonSelectionWidget.
Definition: DtGhostedToolbarWidget.h:98
QWidget * myEchelonSelectionWidget
Definition: DtGhostedToolbarWidget.h:88
QLabel * myEchelonLabel
Definition: DtGhostedToolbarWidget.h:85
DtPopupToolbar * myEchelonSelectionSliderToolBar
Definition: DtGhostedToolbarWidget.h:90
Base class to provide boost signal/slot management.
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 wrapper class for toolbar widgets.
Definition: DtToolbarWidget.h:39
DtGhostedToolbarLogic * myLogic
Definition: DtGhostedToolbarWidget.h:93
QHBoxLayout * myMainLayout
Definition: DtGhostedToolbarWidget.h:84
The echelon selection widget is used within the echelon selection toolbar. The widget consists of two...
Definition: DtGhostedToolbarWidget.h:39
This class is the generic builder base class for building a widget.
Definition: DtWidgetBuilder.h:22

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)