VR-Forces 4.6 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) 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 QComboBox;
27 class QTreeWidget;
28 class QTreeWidgetItem;
29 
30 namespace makVrv
31 {
32 
33  class DtSceneGraphTreeLogic;
34 
39  {
40  Q_OBJECT
41 
42  public:
43 
45  DtSceneGraphPage(DtDe& de, QWidget* pParent = 0);
46 
48  virtual ~DtSceneGraphPage();
49 
51  virtual void clear();
52 
54  virtual bool insertTreeWidgetItem(QTreeWidgetItem* pItem,
55  QTreeWidgetItem* pParent);
56 
58  virtual QTreeWidgetItem* rootItem();
59 
61  virtual QIcon icon();
62 
64  virtual QString title();
65 
67  virtual const std::string& pageClassName() const;
68 
69  protected slots:
70 
71  void updateSize();
72  void refresh();
73  void expandAll();
74 
75  protected:
76 
77  void setupGui();
78  void tearDownGui();
79 
81  virtual void activate();
82 
84  virtual void deactivate();
85 
86  protected:
87 
88  std::string myClassName;
90  QGridLayout* myLayout;
97  };
98 
102  {
103  public:
106 
108  virtual ~DtSceneGraphPageCreator();
109 
113  virtual std::string pageClassName() const;
114 
116  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
117 
118  };
119 
120 }

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)