# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2013 EDF R&D
+# Copyright (C) 2007-2017 EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande):
QWidget.__init__(self,None)
self.setupUi(self)
- valeur=node.item.get_valeur()
+ valeur=node.item.getValeur()
self.lineEditVal.setText(str(valeur))
+ self.lineEditVal.setReadOnly(True)
parentQt.commandesLayout.insertWidget(-1,self)
commande.listeAffichageWidget.append(self.lineEditVal)