From: pascale.noyret Date: Fri, 16 Sep 2016 10:07:52 +0000 (+0200) Subject: QString et ses amis X-Git-Tag: V8_1_0p0~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2f95ea634cb90376a8efd6e01ad3b2e93e802d9c;p=modules%2Feficas.git QString et ses amis --- diff --git a/InterfaceQT4/gereIcones.py b/InterfaceQT4/gereIcones.py index 6b2fd485..99e593ec 100644 --- a/InterfaceQT4/gereIcones.py +++ b/InterfaceQT4/gereIcones.py @@ -314,7 +314,7 @@ class ContientIcones: def BSalomePressed(self): - self.editor.affiche_commentaire(QString("")) + self.editor.affiche_commentaire("") selection=[] commentaire="" genea=self.node.item.get_genealogie() @@ -340,7 +340,7 @@ class ContientIcones: tr("Impossibilite d exporter le Fichier"),) return else : - self.lineEditVal.setText(QString(selection)) + self.lineEditVal.setText(str(selection)) return from Accas import SalomeEntry @@ -348,13 +348,13 @@ class ContientIcones: selection, commentaire = self.appliEficas.selectEntryFromSalome(kwType,editor=self.editor) if commentaire !="" : - self.editor.affiche_infos(QString(tr(str(commentaire)))) + self.editor.affiche_infos(tr(str(commentaire))) monTexte="" if selection == [] : return for geomElt in selection: monTexte=geomElt+"," monTexte= monTexte[0:-1] - self.lineEditVal.setText(QString(monTexte)) + self.lineEditVal.setText(str(monTexte)) self.LEValeurPressed() def BView2DPressed(self):