1 #ifndef XGUI_MAINWINDOW_H
2 #define XGUI_MAINWINDOW_H
10 class XGUI_ViewWindow;
13 class PyConsole_EnhConsole;
15 /**\class XGUI_MainWindow
17 * \brief Main window of the application (Desktop).
18 * It contains: Object Browser, 3d Viewer, Python console, property panel, main menu
20 class XGUI_EXPORT XGUI_MainWindow: public QMainWindow
25 XGUI_MainWindow(QWidget* parent = 0);
26 virtual ~XGUI_MainWindow();
28 //! Returns main menu object
29 XGUI_MainMenu* menuObject() const
35 QMdiArea* mdiArea() const;
38 XGUI_Viewer* viewer() const
44 void showPythonConsole();
45 void hidePythonConsole();
47 void createSubWindow();
50 void cascadeWindows();
51 void onViewCreated(XGUI_ViewWindow* theWindow);
52 void onDeleteView(XGUI_ViewWindow* theWindow);
54 void onViewActivated(QMdiSubWindow* theSubWnd);
57 XGUI_MainMenu* myMenuBar;
58 XGUI_Viewer* myViewer;
60 PyConsole_EnhConsole* myPythonConsole;