From 5742ef46dd3722d4f0a77ba1e6709c21d80bfa55 Mon Sep 17 00:00:00 2001 From: Renaud Barate Date: Mon, 14 Nov 2011 09:43:27 +0000 Subject: [PATCH] Hide DETERMINISTICVARIABLE in OpenTURNS catalog --- InterfaceQT4/qtCommun.py | 5 +++-- Openturns_Study/OpenTURNS_Cata_Study_V8.py | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) 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", -- 2.39.2