Salome HOME
Modifying build procedure to expose PyConsole and PyInterp as tools.
[modules/gui.git] / src / SALOME_PYQT / SALOME_PYQT_GUILight / SALOME_PYQT_PyModule.h
index b14a7c6006a1368d5387f5789968e332f7a90893..d4948508030ae4ff20ca317a281079b27c8c7820 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -86,6 +86,7 @@ public slots:
   void                       initialize( CAM_Application* );
   bool                       activate( SUIT_Study* study );
   bool                       deactivate( SUIT_Study* study );
+  void                       modelClosed( SUIT_Study* study );
   void                       preferencesChanged( const QString&, const QString& setting );
   void                       preferenceChanged( const QString&, const QString&, const QString& setting );
   void                       studyActivated( SUIT_Study* );
@@ -102,9 +103,11 @@ public slots:
   bool                       isDraggable( const SUIT_DataObject* ) const;
   bool                       isDropAccepted( const SUIT_DataObject* ) const;
   void                       dropObjects( const DataObjectList&, SUIT_DataObject*,
-                                         const int, Qt::DropAction );
+                                          const int, Qt::DropAction );
   QString                    engineIOR() const;
 
+  void                       onObjectBrowserClicked(SUIT_DataObject*, int);
+
 private:
   void                       initInterp( int );
   void                       importModule();
@@ -114,6 +117,7 @@ private:
   void                       internalActivate( SUIT_Study* );
   void                       internalCustomize( SUIT_Study* );
   void                       internalDeactivate( SUIT_Study* );
+  void                       internalClosedStudy( SUIT_Study* );
   void                       internalPreferencesChanged( const QString&, const QString& );
   void                       internalStudyChanged( SUIT_Study* );
   void                       internalActionActivated( int );
@@ -129,8 +133,9 @@ private:
   bool                       internalIsDraggable( LightApp_DataObject* );
   bool                       internalIsDropAccepted( LightApp_DataObject* );
   void                       internalDropObjects( const DataObjectList&, SUIT_DataObject*,
-                                                 const int, Qt::DropAction );
+                                                  const int, Qt::DropAction );
   QString                    internalEngineIOR() const;
+  void                       internalOBClickedPython( const QString&, int );
 
   void                       connectView( SUIT_ViewWindow* );
 };