VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDynamicTerrainPage.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: 176902 $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvOsgQt/vrvOsgQt.h>
16 #include <vrvCoreQt/DtPage.h>
18 
19 #include <QtCore/QModelIndex>
20 
21 class QCheckBox;
22 class QGridLayout;
23 class QPushButton;
24 class QTreeWidget;
25 class QTreeWidgetItem;
26 class QTreeView;
27 class QThread;
28 class QSortFilterProxyModel;
29 class QMenu;
30 
31 namespace makVrv
32 {
33  class DtDynamicTerrainPageLogic;
34 
38  : public DtPage
40  {
41  Q_OBJECT
42 
43  public:
44 
46  DtDynamicTerrainPage(DtDe& de, QWidget* pParent = 0);
47 
48  virtual ~DtDynamicTerrainPage();
49 
50  virtual void executeInNewThread(const boost::function<void ()>& callback);
51 
53  virtual QIcon icon();
54 
56  virtual QString title();
57 
59  virtual const std::string& pageClassName() const;
60 
61  virtual const std::string& className();
62 
63  protected slots:
64  void selectIndex(const QModelIndex&);
65 
66  void updateSize();
67  void expandAll();
68  void contextMenuAt(const QPoint&);
69 
70  protected:
71 
72  void setupGui();
73  void tearDownGui();
74 
76  virtual void activate();
77 
79  virtual void deactivate();
80 
81  protected:
82 
83  std::string myClassName;
84 
88  QGridLayout* myLayout;
90 
91  QSortFilterProxyModel* myProxyModel;
92  boost::shared_ptr<DtDynamicTerrainPageLogic> myLogic;
93 
94  class EventProcessor;
95  friend class EventProcessor;
96  EventProcessor* myEventProcessor;
97  };
98 
102  {
103  public:
106 
110  virtual std::string pageClassName() const;
111 
113  virtual DtPage* create(QWidget* parent = 0, Qt::WindowFlags f = 0);
114 
115  };
116 
117 }

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)