From: vsr Date: Thu, 17 Nov 2005 10:12:35 +0000 (+0000) Subject: SalomePyQt: add enumeration for dockable windows types X-Git-Tag: V3_1_0a3~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ef48575f5c5872f0a71b5390d014f30d90e23694;p=modules%2Fgui.git SalomePyQt: add enumeration for dockable windows types --- diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.h b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.h index 6d9feb87d..0f8a37aac 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.h +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.h @@ -14,6 +14,8 @@ #include #include +#include + class LightApp_SelectionMgr; class SalomeApp_Application; class QMenuBar; @@ -54,6 +56,13 @@ enum MenuName { Help = 7 }; +enum { + WT_ObjectBrowser = LightApp_Application::WT_ObjectBrowser, + WT_PyConsole = LightApp_Application::WT_PyConsole, + WT_LogWindow = LightApp_Application::WT_LogWindow, + WT_User = LightApp_Application::WT_User +}; + class SalomePyQt { public: diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip index 4e40c673a..3824647dd 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip @@ -39,6 +39,13 @@ enum MenuName { Help = 7 }; +enum { + WT_ObjectBrowser, + WT_PyConsole, + WT_LogWindow, + WT_User +}; + class QtxAction : QAction { %TypeHeaderCode diff --git a/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip b/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip index f5a4a993b..eee54b26c 100644 --- a/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip +++ b/src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip @@ -39,6 +39,13 @@ enum MenuName { Help = 7 }; +enum { + WT_ObjectBrowser, + WT_PyConsole, + WT_LogWindow, + WT_User +}; + class QtxAction : QAction { %TypeHeaderCode