Salome HOME
This commit was generated by cvs2git to create tag 'V1_4_0b1'.
[modules/kernel.git] / src / SALOME_PYQT / SalomePyQt.sip
1 %Module SalomePyQt
2
3 %Import qtmod.sip
4
5 class SALOME_Selection : QObject
6 {
7 %HeaderCode
8 #include <SALOME_Selection.h>
9 %End
10
11 public:
12   SALOME_Selection(const QString &);
13   void Clear();
14   void ClearIObjects();
15
16 signals:
17   void currentSelectionChanged();
18 };
19
20 class SalomePyQt
21 {
22 %HeaderCode
23 #include <SalomePyQt.hxx>
24 %End
25
26 public:
27   static QWidget*    getDesktop();
28   static QWorkspace* getMainFrame();
29   static QMenuBar*   getMainMenuBar();
30   static SALOME_Selection* getSelection();
31   static int getStudyId();
32   static void putInfo( const QString& );
33   static void putInfo( const QString&, int );
34
35   static const QString& getActiveComponent();
36
37   static void updateObjBrowser( int, bool );
38
39
40   static bool removeSettings(QString);
41   static QString getSetting(QString);
42   static void addStringSetting(QString, QString, bool);
43   static void addIntSetting(QString, int, bool);
44   static void addDoubleSetting(QString, double, bool);
45
46   static QString getFileName(QWidget*, const QString&, const QStringList&, const QString&, bool);
47   static QString getExistingDirectory(QWidget*, const QString&, const QString&);
48   static void helpContext(const QString&, const QString&);
49 };