VR-Forces 4.3 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 
88  std::string myClassName;
89  QGridLayout* myLayout;
95  };
96 
100  {
101  public:
104 
106  virtual ~DtSceneGraphPageCreator();
107 
111  virtual std::string pageClassName() const;
112 
114  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
115 
116  };
117 
118 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)