Salome HOME
compilation errors (on Mandrake) fixed.
[modules/gui.git] / src / SalomeApp / SalomeApp_Application.h
index 8617be9c9d916e4eb8a41df33ddb2b9072756582..b6328e688c16e5c6661cfc0bf85ea6aa66125507 100644 (file)
@@ -27,9 +27,13 @@ class QDockWindow;
 
 class LogWindow;
 class OB_Browser;
+class PythonConsole;
+class QtxResourceEdit;
 class SalomeApp_Module;
 class SalomeApp_SelectionMgr;
+class SalomeApp_PreferencesDlg;
 class SalomeApp_WidgetContainer;
+
 class SALOME_LifeCycleCORBA;
 
 #ifdef WIN32
@@ -49,7 +53,7 @@ public:
   typedef enum { WT_ObjectBrowser, WT_PyConsole, WT_LogWindow, WT_User } WindowTypes;
 
   enum { ModulesListId = STD_Application::UserID, NewGLViewId,
-         NewPlot2dId, NewOCCViewId, NewVTKViewId, UserID };
+         NewPlot2dId, NewOCCViewId, NewVTKViewId, LoadScriptId, PropertiesId, UserID };
 
 public:
   SalomeApp_Application();
@@ -63,8 +67,11 @@ public:
   
   SalomeApp_SelectionMgr*             selectionMgr() const;
 
-  OB_Browser*                         objectBrowser();
   LogWindow*                          logWindow();
+  OB_Browser*                         objectBrowser();
+  PythonConsole*                      pythonConsole();   
+
+  QtxResourceEdit*                    resourceEdit() const;
 
   virtual QString                     getFileFilter() const;
   SUIT_ViewManager*                   getViewManager( const QString&, const bool );
@@ -100,6 +107,7 @@ public slots:
 
 private slots:
   void                                onSelection();
+  void                                onAboutRefresh();
 
 protected:
   virtual void                        createActions();
@@ -117,6 +125,8 @@ protected:
   virtual void                        beforeCloseDoc( SUIT_Study* );
   virtual void                        afterCloseDoc();
 
+  virtual QString                     getFileName( bool );
+
 private slots:
   void                                onNewWindow();
   void                                onModuleActivation( QAction* );
@@ -126,6 +136,9 @@ private slots:
   void                                onStudyOpened( SUIT_Study* );
   void                                onStudySaved( SUIT_Study* );
   void                                onStudyClosed( SUIT_Study* );
+  
+  void                                onLoadScript(); 
+  void                                onProperties();
 
 private:
   void                                updateWindows();
@@ -149,6 +162,7 @@ private:
 
 private:
   SalomeApp_SelectionMgr*             mySelMgr;
+  SalomeApp_PreferencesDlg*           myPrefDlg;
   ActionMap                           myActions;
   WindowMap                           myWindows;
 };