1 // Copyright (C) 2003 CEA/DEN, EDF R&D
5 // File : SalomePyQt.hxx
11 #include <SALOME_Selection.h>
14 #include <qworkspace.h>
21 static QWidget* getDesktop();
22 static QWorkspace* getMainFrame();
23 static QMenuBar* getMainMenuBar();
24 static SALOME_Selection* getSelection();
25 static int getStudyId();
26 static void putInfo( const QString& );
27 static void putInfo( const QString&, int );
29 static const QString& getActiveComponent();
31 static void updateObjBrowser( int studyId, bool updateSelection);
33 static void addStringSetting(QString _name, QString _value, bool _autoValue);
34 static void addIntSetting(QString _name, int _value, bool _autoValue);
35 static void addDoubleSetting(QString _name, double _value, bool _autoValue);
36 static bool removeSettings(QString name);
37 static QString getSetting(QString name);
39 static QString getFileName(QWidget* parent,
40 const QString& initial,
41 const QStringList& filters,
42 const QString& caption,
44 static QString getExistingDirectory(QWidget* parent,
45 const QString& initial,
46 const QString& caption);