X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2Ffeuille.py;h=8eef0582d88dd587380924139c5193ae3c057b91;hb=68af27699b3d841d7d3b21223cbf4e27e4ddd45c;hp=1b11cbf0621a1b0557c515c223d7d31c130d21a0;hpb=fcb18e3a18b12e87c855602ef6b29a539e7ef875;p=tools%2Feficas.git diff --git a/InterfaceQT4/feuille.py b/InterfaceQT4/feuille.py index 1b11cbf0..8eef0582 100644 --- a/InterfaceQT4/feuille.py +++ b/InterfaceQT4/feuille.py @@ -79,30 +79,16 @@ class Feuille(QWidget,ContientIcones,SaisieValeur,FacultatifOuOptionnel): # self.debutToolTip=nomTraduit+"\n" longueur=QFontMetrics(self.label.font()).width(nomTraduit) if longueur >= nomMax : - print "je formate" nouveauNom=self.formate(nomTraduit) - print"________" - print nouveauNom - print"________" - print self - #self.label.setTextFormat(Qt.AutoText) self.label.setText(nouveauNom) - #self.agrandit() else : self.label.setText(nomTraduit) def agrandit(self): # inutile pour certains widgets if self.height() < 40 : - print "j agrandis" self.setMinimumHeight(50) - #self.setMaximumHeight(50) self.resize(self.width(),200) - #self.principalLayout.setAlignment(Qt.AlignTop) - #self.label.resize(self.label.width(),200) - print self.label.height() - print self.height() - print "__________" def setValeurs(self): @@ -120,7 +106,7 @@ class Feuille(QWidget,ContientIcones,SaisieValeur,FacultatifOuOptionnel): def setCommentaire(self): c = self.debutToolTip - if self.node.item.definition.validators : c+=self.node.item.definition.validators.aide() + #if self.node.item.definition.validators : c+=self.node.item.definition.validators.aide() self.aide=c if self.objSimp.get_fr() != None and self.objSimp.get_fr() != "": c2 = '

'+c+str(self.objSimp.get_fr())+"

"