VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverSelectionWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtObserverSelectionWidget.h,v $ $Revision: 1.22 $ $State: Exp $
7 ******************************************************************************/
8 
11 
12 #pragma once
13 #include <vrvCoreQt/vrvCoreQt.h>
16 #include <QtWidgets/QWidget>
17 
18 class QComboBox;
19 class QLabel;
20 
21 namespace makVrv
22 {
23  class DtStealthControlWidgetLogic;
24 
32  {
33  Q_OBJECT
34 
35  public:
37  DtObserverSelectionWidget( DtDe& de, QWidget* parent = 0, Qt::WindowFlags flags = 0);
38 
40  virtual ~DtObserverSelectionWidget();
41 
42  virtual void setAutoHide(bool);
43 
46  virtual void setSelectionMode(bool);
47 
48  protected:
50  virtual void addObserver( const std::string& displayName,
51  const DtUniqueID& id );
52 
54  virtual void removeObserver( const std::string& displayName,
55  const DtUniqueID& id );
56 
58  virtual void setCurrentObserver( const std::string& observerName );
59 
61  virtual void setWidgetVisible(bool b);
62 
64  virtual int numObservers() const;
65 
66  protected slots:
67  virtual void observerChanged(int);
68 
69  public:
72 
73  protected:
75  };
76 
80  {
81 
82  public:
83 
85 
87 
88  virtual QWidget* create( DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
89  };
90 }
Contains makVrv::DtWidgetBuilder class.
The logic for controlling and updating the makVrv::DtStealthControlWidget.
Definition: DtStealthControlWidgetLogic.h:27
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
QLabel * myCurrentObserver
Definition: DtObserverSelectionWidget.h:71
DtStealthControlWidgetLogic * myLogic
Definition: DtObserverSelectionWidget.h:74
Contains makVrv::DtStealthControlWidgetInterface class.
Abstract interface for the stealth control widget.
Definition: DtStealthControlWidgetInterface.h:26
unsigned long long DtUniqueID
Definition: DtUniqueID.h:22
Contains makVrv::DtObserverSelectionWidget class.
Definition: DtObserverSelectionWidget.h:30
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QComboBox * myObserversComboBox
Definition: DtObserverSelectionWidget.h:70
Builder for the makVrv::DtObserverSelectionWidget.
Definition: DtObserverSelectionWidget.h:79
This class is the generic builder base class for building a widget.
Definition: DtWidgetBuilder.h:25

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)