VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ElementInspectorPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrvCoreQt/DtPage.h>
12 
15 #include <matrix/vlVector.h>
16 
17 class QGridLayout;
18 class QLabel;
19 class QComboBox;
20 class QTimer;
21 
22 namespace makVrv
23 {
24  class DtElementEntry;
25 
26  namespace vrvExampleDisplayUnitsPlugin
27  {
28 
32  class ElementInspectorPage : public DtPage, public DtDeObserver
33  {
34  Q_OBJECT;
35  public:
38  ElementInspectorPage(DtDe& de,QWidget* parent = 0, Qt::WindowFlags f = 0);
39 
41  virtual ~ElementInspectorPage();
42 
44  virtual QIcon icon();
45 
47  virtual QString title();
48 
50  virtual const std::string& pageClassName() const;
51 
53  static const std::string& thePageClassName();
54 
55  protected slots:
56 
58  void onCurrentElementIdChanged(int index);
59 
62 
63  protected:
64 
65  void setupGui();
66 
68  virtual void activate();
69 
71  virtual void deactivate();
72 
74  virtual void slot_activate(DtDe* de);
75 
77  virtual void slot_deactivate(DtDe* de);
78 
82  void selectionChanged(const DtSelectionManager::IdSet& selected,
83  const DtSelectionManager::IdSet& deselected,
86 
89 
92 
94  void updateElementType( DtElementEntry* entry ) ;
95 
99 
102  std::string getElementName( DtElementEntry * entry );
103 
104  protected:
105 
107  QGridLayout* myMainLayout;
110 
113 
117 
121 
122  QTimer* myRefreshTimer;
123  };
124 
126  }
127 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)