VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtStealthControlWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtStealthControlWidget_H_
11 #define DtStealthControlWidget_H_
12 
13 #include <vrvCoreQt/vrvCoreQt.h>
14 #include <QtWidgets/QWidget>
15 #include <QtWidgets/QMainWindow>
17 #include "DtStealthControlWidgetUI.hpp"
18 #include <vrvCoreQt/DtDockable.h>
19 #include <vrvCoreQt/DtDockable.h>
20 
21 namespace makVrv
22 {
23  class DtStealthControlWidgetLogic;
24  class DtAttachWidget;
25  class DtEyepointInfoWidget;
26  class DtEyepointControlWidget;
27 
30  class DT_DLL_VRVCOREQT DtStealthControlWidget : public QWidget,
31  public DtDockable , public Ui::DtStealthControlWidgetUI,
33  {
34  Q_OBJECT
35  public:
37  DtStealthControlWidget( DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
38 
40  virtual ~DtStealthControlWidget();
41 
43  virtual void addObserver( const std::string& displayName,
44  const DtUniqueID& id );
45 
47  virtual void removeObserver( const std::string& displayName,
48  const DtUniqueID& id );
49 
51  virtual void setCurrentObserver( const std::string& observerName );
52 
53  virtual QSize sizeHint() const;
54 
55  virtual int numObservers() const;
56 
57  virtual void setAutoHide(bool);
58 
59  virtual void setWidgetVisible(bool);
60 
61  public slots:
62  void observerChanged( int index );
63 
64  void onAddObserverClicked();
65 
66  void onRemoveObserverClicked();
67 
68  protected:
69 
72  };
73 }
74 #endif
The logic for controlling and updating the makVrv::DtStealthControlWidget.
Definition: DtStealthControlWidgetLogic.h:24
The dockable class provides the docking interface for any class to be a dockable widget in the DtDeMa...
Definition: DtDockable.h:27
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
Contains makVrv::DtStealthControlWidgetInterface class.
Contains makVrv::DtDockable class.
Abstract interface for the stealth control widget.
Definition: DtStealthControlWidgetInterface.h:23
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
DtStealthControlWidgetLogic * myLogic
Pointer to our logic handler.
Definition: DtStealthControlWidget.h:71
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 widget class for managing attachment.
Definition: DtStealthControlWidget.h:30

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)