]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_MainWindow.h
Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / XGUI / XGUI_MainWindow.h
index 4cdbba52c77782110b8287065eea657d2632afec..17357858d7a89abc248b8113be9392368966aaf0 100644 (file)
@@ -1,11 +1,12 @@
 #ifndef XGUI_MAINWINDOW_H
 #define XGUI_MAINWINDOW_H
 
+#include "XGUI.h"
 #include <QMainWindow>
 
 class XGUI_MainMenu;
 class XGUI_Viewer;
-class XGUI_ObjectsBrowser;
+class XGUI_ActionsMgr;
 class QMdiArea;
 class PyConsole_EnhConsole;
 
@@ -14,7 +15,7 @@ class PyConsole_EnhConsole;
  * \brief Main window of the application (Desktop).
  * It contains: Object Browser, 3d Viewer, Python console, property panel, main menu
  */
-class XGUI_MainWindow: public QMainWindow
+class XGUI_EXPORT XGUI_MainWindow: public QMainWindow
 {
 Q_OBJECT
 
@@ -28,12 +29,6 @@ public:
     return myMenuBar;
   }
 
-  //! Returns Object browser
-  XGUI_ObjectsBrowser* objectBrowser() const
-  {
-    return myObjectBrowser;
-  }
-
   //! Returns MDI area
   QMdiArea* mdiArea() const;
 
@@ -46,20 +41,9 @@ public:
 public slots:
   void showPythonConsole();
   void hidePythonConsole();
-  void showPropertyPanel();
-  void hidePropertyPanel();
-  void showObjectBrowser();
-  void hideObjectBrowser();
 
 private:
-  void createDockWidgets();
-  QDockWidget* createObjectBrowser();
-  QDockWidget* createPropertyPanel();
-
   XGUI_MainMenu* myMenuBar;
-  XGUI_ObjectsBrowser* myObjectBrowser;
-  QDockWidget* myPropertyPanelDock;
-
   XGUI_Viewer* myViewer;
 
   PyConsole_EnhConsole* myPythonConsole;