VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtObserverModeSelectionWidget.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtObserverModeSelectionWidget.h,v $ $Revision: 1.22 $ $State: Exp $
7 ******************************************************************************/
8 
13 
14 #pragma once
15 #include <vrvCoreQt/vrvCoreQt.h>
18 #include <QtWidgets/QComboBox>
19 
20 namespace makVrv
21 {
22  class DtObserverModeSelectionWidgetLogic;
23 
28  : public QComboBox
30  {
31  Q_OBJECT
32 
33  public:
37  DtObserverModeSelectionWidget( DtDe& de, QWidget* parent = 0 );
38 
41 
43  virtual void initialize();
44 
45  virtual void addObserverMode( int mode, const char* name );
46  virtual void removeObserverMode( int mode );
47  virtual void enableObserverMode( int mode, bool trueFalse );
48  virtual void clearObserverModes();
49  virtual std::string selectedObserverMode() const;
50 
52  virtual void setObserverModeSelected( int mode );
53 
54  public slots:
55 
56  virtual void observerModeChanged( int index );
57 
58  protected:
62  };
63 
67  {
68  public:
69 
71 
73 
74  virtual QWidget* create( DtDe& de, QWidget* parent, const Qt::WindowFlags& flags);
75  };
76 }
Contains makVrv::DtWidgetBuilder class.
Contains makVrv::DtObserverModeSelectionWidgetInterface class.
Widget for choosing the current observer mode for an observer.
Definition: DtObserverModeSelectionWidget.h:27
DtDe & myDe
Definition: DtObserverModeSelectionWidget.h:59
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.
Logic to manage the Observer Mode Selection Widget.
Definition: DtObserverModeSelectionWidgetLogic.h:28
DtObserverModeSelectionWidgetLogic * myLogic
Pointer to our logic handler.
Definition: DtObserverModeSelectionWidget.h:61
The interface of the makVrv::DtObserverModeSelectionWidget for the makVrv::DtObserverModeSelectionLog...
Definition: DtObserverModeSelectionWidgetInterface.h:21
const char int mode
Definition: ioapi.h:38
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
This class is the generic builder base class for building a widget.
Definition: DtWidgetBuilder.h:25
Builder for creatine an makVrv::DtObserverModeSelectionWidget.
Definition: DtObserverModeSelectionWidget.h:66

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)