Salome HOME
updated copyright message
[modules/gui.git] / src / SALOME_PYQT / SalomePyQt / SalomePyQt.h
index e911bce616fc9aa5a79ca57cbef5b0ffa27a3f23..ac69fc282598cb8e6977a5526d4b1d716330ca92 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -89,6 +89,7 @@ enum {
   WT_ObjectBrowser = LightApp_Application::WT_ObjectBrowser,
   WT_PyConsole     = LightApp_Application::WT_PyConsole,
   WT_LogWindow     = LightApp_Application::WT_LogWindow,
+  WT_InfoPanel     = LightApp_Application::WT_InfoPanel,
 #ifndef GUI_DISABLE_CORBA
   WT_NoteBook      = SalomeApp_Application::WT_NoteBook,
   WT_User          = SalomeApp_Application::WT_User
@@ -179,6 +180,9 @@ enum Axis {
 class SalomePyQt
 {
 public:
+  static QString           getAppName();
+  static bool              isLightApp();
+
   static QWidget*          getDesktop();
   static QWidget*          getMainFrame();
   static QMenuBar*         getMainMenuBar();
@@ -193,8 +197,21 @@ public:
   static const QString     getActiveComponent();
   static PyObject*         getActivePythonModule();
   static bool              activateModule( const QString& );
+  static void              registerModule( const QString& );
   static void              updateObjBrowser();
 
+  static void              infoSetTitle( const QString& );
+  static int               infoAddLabel( const QString&, const int = -1 );
+  static int               infoAddLabel( const QString&, Qt::Alignment, const int = -1 );
+  static int               infoAddAction( QAction*, const int = -1 );
+  static int               infoAddGroup( const QString&, const int = -1 );
+
+  static void              infoRemove( const int );
+  static void              infoClear( const int = -1 );
+
+  static void              infoSetVisible( const int, bool );
+  static void              infoSetEnabled( const int, bool );
+
   static void              putInfo( const QString&, const int = 0 );
   static int               showNotification( const QString&, const QString&, const int = -1 );
   static void              hideNotification( const QString& );