VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 <QtGui/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 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)