Salome HOME
NRI : Comment unused ComponentType enum.
[modules/kernel.git] / src / SALOME_PYQT / SalomePyQt.hxx
1 #ifndef _SALOME_PYQT_H
2 #define _SALOME_PYQT_H
3
4 #include <SALOME_Selection.h>
5
6 #include <qwidget.h>
7 #include <qworkspace.h>
8 #include <qstring.h>
9 #include <qmenubar.h>
10
11 class SalomePyQt
12 {
13 public:
14   static QWidget*          getDesktop();
15   static QWorkspace*       getMainFrame();
16   static QMenuBar*         getMainMenuBar();
17   static SALOME_Selection* getSelection();
18   static int               getStudyId();
19   static void              putInfo( const QString& );
20   static void              putInfo( const QString&, int );
21
22   static const QString&    getActiveComponent();
23
24   static void              updateObjBrowser( int studyId, bool updateSelection);
25
26   static void addStringSetting(QString _name, QString _value, bool _autoValue);
27   static void addIntSetting(QString _name, int _value, bool _autoValue);
28   static void addDoubleSetting(QString _name, double _value, bool _autoValue);
29   static bool removeSettings(QString name);
30   static QString getSetting(QString name);
31 };
32
33 #endif