From: bourcier <> Date: Mon, 30 Apr 2007 13:49:11 +0000 (+0000) Subject: Pour ne pas avoir la fenĂȘtre "Message Log" au chargement du module EFICAS X-Git-Tag: mergedu070507versMaintenance~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb6a9576f8c17f0322f02d835b69c721b2797ddd;p=modules%2Feficas.git Pour ne pas avoir la fenĂȘtre "Message Log" au chargement du module EFICAS --- 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 # -----------------------------------------------------------------------------