VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtStealthControlWidget.h,v $ $Revision: 1.18 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtStealthControlWidget_H_
14 #define DtStealthControlWidget_H_
15 
16 #include <vrvCoreQt/vrvCoreQt.h>
17 #include <QtWidgets/QWidget>
18 #include <QtWidgets/QMainWindow>
20 #include "DtStealthControlWidgetUI.hpp"
21 #include <vrvCoreQt/DtDockable.h>
22 #include <vrvCoreQt/DtDockable.h>
23 
24 namespace makVrv
25 {
26  class DtStealthControlWidgetLogic;
27  class DtAttachWidget;
28  class DtEyepointInfoWidget;
29  class DtEyepointControlWidget;
30 
33  class DT_DLL_VRVCOREQT DtStealthControlWidget : public QWidget,
34  public DtDockable , public Ui::DtStealthControlWidgetUI,
36  {
37  Q_OBJECT
38  public:
40  DtStealthControlWidget( DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
41 
43  virtual ~DtStealthControlWidget();
44 
46  virtual void addObserver( const std::string& displayName,
47  const DtUniqueID& id );
48 
50  virtual void removeObserver( const std::string& displayName,
51  const DtUniqueID& id );
52 
54  virtual void setCurrentObserver( const std::string& observerName );
55 
56  virtual QSize sizeHint() const;
57 
58  virtual int numObservers() const;
59 
60  virtual void setAutoHide(bool);
61 
62  virtual void setWidgetVisible(bool);
63 
64  public slots:
65  void observerChanged( int index );
66 
67  void onAddObserverClicked();
68 
69  void onRemoveObserverClicked();
70 
71  protected:
72 
75  };
76 }
77 #endif
The logic for controlling and updating the makVrv::DtStealthControlWidget.
Definition: DtStealthControlWidgetLogic.h:27
The dockable class provides the docking interface for any class to be a dockable widget in the DtDeMa...
Definition: DtDockable.h:31
#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:26
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
DtStealthControlWidgetLogic * myLogic
Pointer to our logic handler.
Definition: DtStealthControlWidget.h:74
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
A widget class for managing attachment.
Definition: DtStealthControlWidget.h:33

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)