]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
Hide DETERMINISTICVARIABLE in OpenTURNS catalog
authorRenaud Barate <renaud.barate@edf.fr>
Mon, 14 Nov 2011 09:43:27 +0000 (09:43 +0000)
committerRenaud Barate <renaud.barate@edf.fr>
Mon, 14 Nov 2011 09:43:27 +0000 (09:43 +0000)
InterfaceQT4/qtCommun.py
Openturns_Study/OpenTURNS_Cata_Study_V8.py

index e142d11188bd23a2ccea4dd43fe1aeb2dc55ba5a..8b0197560bd6232990909fdeee9a3a9d4eef95da 100644 (file)
@@ -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 )
 
index 6a43ee357993d32ea7cfac87e187e49ebb5b812f..e19a5a3f481d9dfaad9dea82d431601445c585af 100644 (file)
@@ -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",