Salome HOME
Updated copyright comment
[modules/gui.git] / src / SALOME_PYQT / SALOME_PYQT_GUILight / SALOME_PYQT_PyModule.h
index b2adf2131e29245fce07d99d4c24ad5d5cea8a65..c9030744a871b868e219a6bdc32f6878cbe755ed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -54,9 +54,6 @@ private:
   class XmlHandler;
   class InitLocker;
 
-  typedef QMap<int, PyInterp_Interp*> InterpMap;
-
-  static InterpMap           myInterpMap;          //!< study to Python subinterpreter map
   static LightApp_Module*    myInitModule;         //!< Python GUI being initialized (not zero only during the initialization)
 
   LightApp_Module*           myModule;             //!< GUI module
@@ -91,14 +88,15 @@ public slots:
   void                       preferenceChanged( const QString&, const QString&, const QString& setting );
   void                       studyActivated( SUIT_Study* );
   void                       actionActivated();
+  void                       selectionUpdated(const QStringList&);
   void                       contextMenu( const QString&, QMenu* );
   void                       createPreferences();
   void                       activeViewChanged( SUIT_ViewWindow* );
   void                       tryCloseView( SUIT_ViewWindow* );
   void                       closeView( SUIT_ViewWindow* );
   void                       cloneView( SUIT_ViewWindow* );
-  void                       save( QStringList& );
-  bool                       load( const QStringList& );
+  void                       save( QStringList&, const QString& );
+  bool                       load( const QStringList&, const QString& );
   void                       dumpPython( QStringList& files );
   bool                       isDraggable( const SUIT_DataObject* ) const;
   bool                       isDropAccepted( const SUIT_DataObject* ) const;
@@ -109,7 +107,7 @@ public slots:
   void                       onObjectBrowserClicked(SUIT_DataObject*, int);
 
 private:
-  void                       initInterp( int );
+  void                       initInterp();
   void                       importModule();
   void                       setWorkSpace();
 
@@ -121,14 +119,15 @@ private:
   void                       internalPreferencesChanged( const QString&, const QString& );
   void                       internalStudyChanged( SUIT_Study* );
   void                       internalActionActivated( int );
+  void                       internalSelectionUpdated(const QStringList&);
   void                       internalContextMenu( const QString&, QMenu* );
   void                       internalCreatePreferences();
   void                       internalActiveViewChanged( SUIT_ViewWindow* );
   void                       internalTryCloseView( SUIT_ViewWindow* );
   void                       internalCloseView( SUIT_ViewWindow* );
   void                       internalCloneView( SUIT_ViewWindow* );
-  void                       internalSave( QStringList& );
-  void                       internalLoad( const QStringList&, bool& );
+  void                       internalSave( QStringList&, const QString& );
+  void                       internalLoad( const QStringList&, const QString&, bool& );
   void                       internalDumpPython( QStringList& );
   bool                       internalIsDraggable( LightApp_DataObject* );
   bool                       internalIsDropAccepted( LightApp_DataObject* );