From 8fb446379711ba9b06f3d29fb4378a9a912dc408 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Thu, 19 Jun 2008 08:41:22 +0000 Subject: [PATCH] *** empty log message *** --- InterfaceQT/editor.py | 8 ++++++++ Ui/myMain.py | 4 ++-- Ui/myMain.ui | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/InterfaceQT/editor.py b/InterfaceQT/editor.py index 0a9d920b..f44f1e05 100644 --- a/InterfaceQT/editor.py +++ b/InterfaceQT/editor.py @@ -432,6 +432,14 @@ class JDCEditor(QSplitter): #------------------------------# def affiche_infos(self,message): #------------------------------# + if self.salome : + if not hasattr(self.appliEficas,'MessageLabel') : + h=self.appliEficas.height() + w=self.appliEficas.width() + self.appliEficas.MessageLabel = QLabel(self.appliEficas,"MessageLabel") + self.appliEficas.MessageLabel.setGeometry(QRect(0,h,w,20)) + self.appliEficas.MessageLabel.setText(message) + self.appliEficas.MessageLabel.show() if self.sb: self.sb.message(message)#,2000) diff --git a/Ui/myMain.py b/Ui/myMain.py index 1de67dd7..c19f1424 100644 --- a/Ui/myMain.py +++ b/Ui/myMain.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'myMain.ui' # -# Created: Mon Jun 2 15:38:21 2008 +# Created: Thu Jun 19 11:40:51 2008 # by: The PyQt User Interface Compiler (pyuic) 3.16 # # WARNING! All changes made in this file will be lost! @@ -364,7 +364,7 @@ class Eficas(QMainWindow): self.languageChange() - self.resize(QSize(902,575).expandedTo(self.minimumSizeHint())) + self.resize(QSize(902,594).expandedTo(self.minimumSizeHint())) self.clearWState(Qt.WState_Polished) self.connect(self.fileNewAction,SIGNAL("activated()"),self.fileNew) diff --git a/Ui/myMain.ui b/Ui/myMain.ui index 955c4b2d..210e50a1 100644 --- a/Ui/myMain.ui +++ b/Ui/myMain.ui @@ -12,7 +12,7 @@ 0 0 902 - 575 + 594 -- 2.39.2