VR-Forces 4.8 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) 2019 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 class QLineEdit;
31 
32 namespace makVrv
33 {
34 
35  class DtSceneGraphTreeLogic;
36 
41  {
42  Q_OBJECT
43 
44  public:
45 
47  DtSceneGraphPage(DtDe& de, QWidget* pParent = 0);
48 
50  virtual ~DtSceneGraphPage();
51 
53  virtual void clear();
54 
56  virtual bool insertTreeWidgetItem(QTreeWidgetItem* pItem,
57  QTreeWidgetItem* pParent);
58 
60  virtual QTreeWidgetItem* rootItem();
61 
63  virtual QIcon icon();
64 
66  virtual QString title();
67 
69  virtual const std::string& pageClassName() const;
70 
71  protected slots:
72 
73  void updateSize();
74  void refresh();
75  void expandAll();
76  void findPrevious();
77  void findNext();
78  void contextMenuAt(const QPoint& point);
79 
80  protected:
81 
82  void setupGui();
83  void tearDownGui();
84 
86  virtual void activate();
87 
89  virtual void deactivate();
90 
91  protected:
92 
93  std::string myClassName;
95  QGridLayout* myLayout;
107  };
108 
112  {
113  public:
116 
118  virtual ~DtSceneGraphPageCreator();
119 
123  virtual std::string pageClassName() const;
124 
126  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
127 
128  };
129 
130 }
std::string myClassName
Definition: DtSceneGraphPage.h:93
Contains makVrv::DtPage class.
This creator is responsible for creating the makVrv::DtSceneGraphPage.
Definition: DtSceneGraphPage.h:111
QPushButton * myExpandAllButton
Definition: DtSceneGraphPage.h:98
The page creator.
Definition: DtPage.h:117
QPushButton * myFindNextButton
Definition: DtSceneGraphPage.h:101
#define DT_DLL_VRVOSGQT
Definition: vrvOsgQt.h:22
QComboBox * myRootSelector
Definition: DtSceneGraphPage.h:104
QPushButton * myRefreshButton
Definition: DtSceneGraphPage.h:97
QCheckBox * myResizeBox
Definition: DtSceneGraphPage.h:103
Contains DLL export macros.
QTreeWidget * myTreeWidget
Definition: DtSceneGraphPage.h:96
QLineEdit * mySearchStatusText
Definition: DtSceneGraphPage.h:99
Logic for scene graph tree display widget.
Definition: DtSceneGraphTreeLogic.h:256
The scene graph page displays the scene graph in a page.
Definition: DtSceneGraphPage.h:39
QMenu * myContextMenu
Definition: DtSceneGraphPage.h:106
DtSceneGraphTreeLogic * myLogic
Definition: DtSceneGraphPage.h:105
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:30
QGridLayout * myLayout
Definition: DtSceneGraphPage.h:95
QLineEdit * mySearchTextField
Definition: DtSceneGraphPage.h:100
QPushButton * myFindPrevButton
Definition: DtSceneGraphPage.h:102
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
bool myExpandingAll
Definition: DtSceneGraphPage.h:94
Interface to a widget that displays the scene graph as a tree.
Definition: DtSceneGraphTreeWidgetInterface.h:22

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)