From: Pascale Noyret Date: Fri, 7 May 2010 13:19:48 +0000 (+0000) Subject: fiche 14622 X-Git-Tag: V2_0~109 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0a146e331c2ab4425897c7bd88422ece32bddaa6;p=modules%2Feficas.git fiche 14622 --- diff --git a/InterfaceQT4/browser.py b/InterfaceQT4/browser.py index 3c81d370..1252b4a1 100644 --- a/InterfaceQT4/browser.py +++ b/InterfaceQT4/browser.py @@ -42,7 +42,11 @@ class JDCTree( QTreeWidget ): self.setHeaderLabels(mesLabels) #self.setMinimumSize(QSize(600,505)) - self.setColumnWidth(0,300) + try : + self.setColumnWidth(0,300) + except : + QMessageBox.critical(self.editor, "L environnement doit etre en QT4") + exit self.itemCourrant=None self.connect(self, SIGNAL("itemClicked ( QTreeWidgetItem * ,int) "), self.handleOnItem)