VR-Forces 4.1 Class Documentation
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 
73  protected:
74 
75  void setupGui();
76  void tearDownGui();
77 
79  virtual void activate();
80 
82  virtual void deactivate();
83 
84  protected:
85 
87  std::string myClassName;
88  QGridLayout* myLayout;
93  };
94 
98  {
99  public:
102 
104  virtual ~DtSceneGraphPageCreator();
105 
109  virtual std::string pageClassName() const;
110 
112  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
113 
114  };
115 
116 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)