VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSceneGraphPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvOsgQt/vrvOsgQt.h>
15 #include <vrvCoreQt/DtPage.h>
17 
18 namespace osg
19 {
20  class Node;
21 }
22 
23 class QCheckBox;
24 class QGridLayout;
25 class QPushButton;
26 class QComboBox;
27 class QTreeWidget;
28 class QTreeWidgetItem;
29 class QMenu;
30 
31 namespace makVrv
32 {
33 
34  class DtSceneGraphTreeLogic;
35 
40  {
41  Q_OBJECT
42 
43  public:
44 
46  DtSceneGraphPage(DtDe& de, QWidget* pParent = 0);
47 
49  virtual ~DtSceneGraphPage();
50 
52  virtual void clear();
53 
55  virtual bool insertTreeWidgetItem(QTreeWidgetItem* pItem,
56  QTreeWidgetItem* pParent);
57 
59  virtual QTreeWidgetItem* rootItem();
60 
62  virtual QIcon icon();
63 
65  virtual QString title();
66 
68  virtual const std::string& pageClassName() const;
69 
70  protected slots:
71 
72  void updateSize();
73  void refresh();
74  void expandAll();
75  void contextMenuAt(const QPoint& point);
76 
77  protected:
78 
79  void setupGui();
80  void tearDownGui();
81 
83  virtual void activate();
84 
86  virtual void deactivate();
87 
88  protected:
89 
90  std::string myClassName;
92  QGridLayout* myLayout;
100  };
101 
105  {
106  public:
109 
111  virtual ~DtSceneGraphPageCreator();
112 
116  virtual std::string pageClassName() const;
117 
119  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
120 
121  };
122 
123 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)