From bb6a9576f8c17f0322f02d835b69c721b2797ddd Mon Sep 17 00:00:00 2001 From: bourcier <> Date: Mon, 30 Apr 2007 13:49:11 +0000 Subject: [PATCH] =?utf8?q?Pour=20ne=20pas=20avoir=20la=20fen=C3=AAtre=20"M?= =?utf8?q?essage=20Log"=20au=20chargement=20du=20module=20EFICAS?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/EFICASGUI/EFICASGUI.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/EFICASGUI/EFICASGUI.py b/src/EFICASGUI/EFICASGUI.py index e7c8ea57..afdfac29 100644 --- a/src/EFICASGUI/EFICASGUI.py +++ b/src/EFICASGUI/EFICASGUI.py @@ -135,6 +135,20 @@ def customPopup(popup, theContext, theObject, theParent): popup.removeItem(99002) popup.removeItem(99003) + +def windows(): + """ + This method is called when GUI module is being created + and initialized. + Should return a map of the SALOME dockable windows id's + needed to be opened when module is activated. + """ + print "ASTERGUI::windows" + from qt import Qt + winMap = {} + winMap[ SalomePyQt.WT_ObjectBrowser ] = Qt.DockLeft + winMap[ SalomePyQt.WT_PyConsole ] = Qt.DockBottom + return winMap # ----------------------------------------------------------------------------- -- 2.39.2