VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSceneGraphPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 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 QTreeWidget;
27 class QTreeWidgetItem;
28 
29 namespace makVrv
30 {
31 
32  class DtSceneGraphTreeLogic;
33 
38  {
39  Q_OBJECT
40 
41  public:
42 
44  DtSceneGraphPage(DtDe& de, QWidget* pParent = 0);
45 
47  virtual ~DtSceneGraphPage();
48 
50  virtual void clear();
51 
53  virtual bool insertTreeWidgetItem(QTreeWidgetItem* pItem,
54  QTreeWidgetItem* pParent);
55 
57  virtual QTreeWidgetItem* rootItem();
58 
60  virtual QIcon icon();
61 
63  virtual QString title();
64 
66  virtual const std::string& pageClassName() const;
67 
68  protected slots:
69 
70  void updateSize();
71  void refresh();
72  void expandAll();
73 
74  protected:
75 
76  void setupGui();
77  void tearDownGui();
78 
80  virtual void activate();
81 
83  virtual void deactivate();
84 
85  protected:
86 
87  std::string myClassName;
88  QGridLayout* myLayout;
94  };
95 
99  {
100  public:
103 
105  virtual ~DtSceneGraphPageCreator();
106 
110  virtual std::string pageClassName() const;
111 
113  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
114 
115  };
116 
117 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)