VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
forestExampleMainWindow.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: forestExampleMainWindow.h,v $ $Revision: 1.25 $ $State: Exp $
7 ******************************************************************************/
8 
9 #ifndef FORESTEXAMPLEMAINWINDOW_H
10 #define FORESTEXAMPLEMAINWINDOW_H
11 
12 // Include this header before any Qt header.
13 #include <vrvUtil/signalslib.h>
14 
15 #include <vrvCore/DtDe.h>
20 #include <vrvCore/DtWindow.h>
22 
23 #include <QtGui/QMainWindow>
24 #include <osg/Group>
25 #include <osg/Node>
26 
27 class QAction;
28 class QMenu;
29 class QTreeWidget;
30 class QTreeWidgetItem;
31 class ForestDriver;
32 
35 {
36 
37  Q_OBJECT
38 
39 public:
40 
43 
45  virtual ~ForestExampleMainWindow();
46 
47  // The adapter widgets. These will become owned and
48  // deleted by MainWindow.
50 
51  void buildGui();
52 
53 public slots:
54 
55  void open();
56  void closeFile();
57  void removeAllTrees();
60  void onRebuildForest();
61  void onSpeedTreeSettings();
62 
63 protected:
64 
66  void preIgInitialize();
67  void createIg();
69 
70  void initializeIg();
71 
72  void postIgInitialize();
73 
74  virtual void closeEvent(QCloseEvent *event);
75 
76  void createActions();
77  void createMenus();
78  void createToolBars();
79  void createStatusBar();
80 
83 
85 
86 
88 
95 
101 
102 };
103 
105 {
106 public:
108  {
109  myMainWindow = mw;
110  }
111 
114 
115 protected:
117 
118 };
119 
120 #endif

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)