From ef48575f5c5872f0a71b5390d014f30d90e23694 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 17 Nov 2005 10:12:35 +0000 Subject: [PATCH] SalomePyQt: add enumeration for dockable windows types --- src/SALOME_PYQT/SalomePyQt/SalomePyQt.h | 9 +++++++++ src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip | 7 +++++++ src/SALOME_PYQT/SalomePyQt/SalomePyQt_v4.sip | 7 +++++++ 3 files changed, 23 insertions(+) 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 -- 2.39.2