-// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 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
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
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;
void onObjectBrowserClicked(SUIT_DataObject*, int);
private:
- void initInterp( int );
+ void initInterp();
void importModule();
void setWorkSpace();
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* );