From: Renaud Barate Date: Mon, 14 Nov 2011 09:43:27 +0000 (+0000) Subject: Hide DETERMINISTICVARIABLE in OpenTURNS catalog X-Git-Tag: LOGILAB~277 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5742ef46dd3722d4f0a77ba1e6709c21d80bfa55;p=tools%2Feficas.git Hide DETERMINISTICVARIABLE in OpenTURNS catalog --- diff --git a/InterfaceQT4/qtCommun.py b/InterfaceQT4/qtCommun.py index e142d111..8b019756 100644 --- a/InterfaceQT4/qtCommun.py +++ b/InterfaceQT4/qtCommun.py @@ -1,4 +1,4 @@ -# -*- coding: utf-8 -*- +# -*- coding: iso-8859-1 -*- # CONFIGURATION MANAGEMENT OF EDF VERSION # ====================================================================== # COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG @@ -228,7 +228,8 @@ class QTPanelTBW2(QTPanel): if len(listeCmd) != len(listeCmd2): listeCmd = listeCmd2 for aCmd in listeCmd: - self.LBNouvCommande.addItem( aCmd ) + if aCmd not in aExclure : + self.LBNouvCommande.addItem( aCmd ) #QObject.connect( self.LBNouvCommande, SIGNAL("itemClicked(QListWidgetItem*)"),self.DefCmd ) QObject.connect( self.LBNouvCommande, SIGNAL("itemDoubleClicked(QListWidgetItem*)"),self.DefCmd ) diff --git a/Openturns_Study/OpenTURNS_Cata_Study_V8.py b/Openturns_Study/OpenTURNS_Cata_Study_V8.py index 6a43ee35..e19a5a3f 100644 --- a/Openturns_Study/OpenTURNS_Cata_Study_V8.py +++ b/Openturns_Study/OpenTURNS_Cata_Study_V8.py @@ -836,6 +836,7 @@ DETERMINISTICVARIABLE = OPER ( nom = "DETERMINISTICVARIABLE", op = None, fr = "Variable deterministe", ang = "Deterministic variable", + UIinfo = {"groupes": ("CACHE")}, N = SIMP ( statut = 'o', typ = "TXM",