VR-Forces 4.10 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 
9 
10 #pragma once
11 #include <vrvOsgQt/vrvOsgQt.h>
12 #include <vrvCoreQt/DtPage.h>
14 
15 namespace osg
16 {
17  class Node;
18 }
19 
20 class QCheckBox;
21 class QGridLayout;
22 class QPushButton;
23 class QComboBox;
24 class QTreeWidget;
25 class QTreeWidgetItem;
26 class QMenu;
27 class QLineEdit;
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  void findPrevious();
74  void findNext();
75  void contextMenuAt(const QPoint& point);
76 
77  protected:
78 
79  void setupGui();
80  void tearDownGui();
81 
83  virtual void activate();
84 
86  virtual void deactivate();
87 
88  protected:
89 
90  std::string myClassName;
92  QGridLayout* myLayout;
104  };
105 
109  {
110  public:
113 
115  virtual ~DtSceneGraphPageCreator();
116 
120  virtual std::string pageClassName() const;
121 
123  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
124 
125  };
126 
127 }
std::string myClassName
Definition: DtSceneGraphPage.h:90
Contains makVrv::DtPage class.
This creator is responsible for creating the makVrv::DtSceneGraphPage.
Definition: DtSceneGraphPage.h:108
QPushButton * myExpandAllButton
Definition: DtSceneGraphPage.h:95
The page creator.
Definition: DtPage.h:114
QPushButton * myFindNextButton
Definition: DtSceneGraphPage.h:98
#define DT_DLL_VRVOSGQT
Definition: vrvOsgQt.h:22
QComboBox * myRootSelector
Definition: DtSceneGraphPage.h:101
QPushButton * myRefreshButton
Definition: DtSceneGraphPage.h:94
QCheckBox * myResizeBox
Definition: DtSceneGraphPage.h:100
Contains DLL export macros.
QTreeWidget * myTreeWidget
Definition: DtSceneGraphPage.h:93
QLineEdit * mySearchStatusText
Definition: DtSceneGraphPage.h:96
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:36
QMenu * myContextMenu
Definition: DtSceneGraphPage.h:103
DtSceneGraphTreeLogic * myLogic
Definition: DtSceneGraphPage.h:102
The page is a single widget component which is viewed in a page collection.
Definition: DtPage.h:27
QGridLayout * myLayout
Definition: DtSceneGraphPage.h:92
QLineEdit * mySearchTextField
Definition: DtSceneGraphPage.h:97
QPushButton * myFindPrevButton
Definition: DtSceneGraphPage.h:99
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
bool myExpandingAll
Definition: DtSceneGraphPage.h:91
Interface to a widget that displays the scene graph as a tree.
Definition: DtSceneGraphTreeWidgetInterface.h:22

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)