1 #ifndef XGUI_MAINWINDOW_H
2 #define XGUI_MAINWINDOW_H
8 class XGUI_ObjectsBrowser;
10 class PyConsole_EnhConsole;
12 class XGUI_MainWindow: public QMainWindow
17 XGUI_MainWindow(QWidget* parent = 0);
18 virtual ~XGUI_MainWindow();
20 XGUI_MainMenu* menuObject() const
25 XGUI_ObjectsBrowser* objectBrowser() const
27 return myObjectBrowser;
30 void showObjectBrowser();
31 void hideObjectBrowser();
33 QMdiArea* mdiArea() const;
35 XGUI_Viewer* viewer() const
41 void showPythonConsole();
42 void hidePythonConsole();
43 void showPropertyPanel();
44 void hidePropertyPanel();
47 void createDockWidgets();
48 QDockWidget* createObjectBrowser();
49 QDockWidget* createPropertyPanel();
51 XGUI_MainMenu* myMenuBar;
52 XGUI_ObjectsBrowser* myObjectBrowser;
53 QDockWidget* myPropertyPanelDock;
55 XGUI_Viewer* myViewer;
57 PyConsole_EnhConsole* myPythonConsole;