From: Pascale Noyret Date: Mon, 4 May 2009 14:15:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V0_a1_SEPQT4~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4b488eb42be8d13908edb59e3b92e702cce826ed;p=modules%2Feficas.git *** empty log message *** --- diff --git a/InterfaceQT/editor.py b/InterfaceQT/editor.py index 98834438..6346902a 100644 --- a/InterfaceQT/editor.py +++ b/InterfaceQT/editor.py @@ -660,10 +660,10 @@ class JDCEditor(QSplitter): if QFileInfo(fn).exists(): abort = QMessageBox.warning( self, - self.trUtf8("Save File"), - self.trUtf8("The file %1 already exists.").arg(fn), - self.trUtf8("&Overwrite"), - self.trUtf8("&Abort") ) + self.trUtf8("Sauvegarde Fichier"), + self.trUtf8("Le fichier %1 existe deja.").arg(fn), + self.trUtf8("&Remplacer"), + self.trUtf8("&Abandonner") ) print abort if abort: return (0, None) diff --git a/InterfaceQT/qtCommun.py b/InterfaceQT/qtCommun.py index 4b43a5b8..7e5b13e5 100644 --- a/InterfaceQT/qtCommun.py +++ b/InterfaceQT/qtCommun.py @@ -181,10 +181,17 @@ class QTPanelTBW2(QTPanel): def handleCurrentChanged(self): - try : - self.LEFiltre.setFocus() - except : - pass + label=self.TWChoix.tabLabel(self.TWChoix.currentPage()) + if label==QString("Nouvelle Commande"): + try : + self.LEFiltre.setFocus() + except : + pass + if label==QString("Nommer Concept"): + try : + self.LENomConcept.setFocus() + except : + pass def BuildLBNouvCommande(self): self.LBNouvCommande.clear() @@ -270,6 +277,7 @@ class QTPanelTBW3(QTPanel): self.typeConcept.setText(type_sd) self.LENomConcept.setText("") self.LENomConcept.setText(nomConcept) + self.LENomConcept.setFocus() @@ -327,11 +335,11 @@ class ViewText(QDialog): if not fn.isNull(): if QFileInfo(fn).exists(): abort = QMessageBox.warning(self, - self.trUtf8("Save File"), - self.trUtf8("The file %1 already exists.") + self.trUtf8("Sauvegarde Fichier"), + self.trUtf8("Le fichier %1 existe.") .arg(fn), - self.trUtf8("&Overwrite"), - self.trUtf8("&Abort"), None, 1) + self.trUtf8("&Remplacer"), + self.trUtf8("&Abandonner"), None, 1) if abort: return fn = unicode(QDir.convertSeparators(fn)) diff --git a/Traducteur/traduitV7V8.py b/Traducteur/traduitV7V8.py index 3efb2ca1..543b34ad 100644 --- a/Traducteur/traduitV7V8.py +++ b/Traducteur/traduitV7V8.py @@ -36,13 +36,11 @@ atraiter=( "IMPR_GENE","CALC_FONCTION", "DEFI_MATERIAU","STAT_NON_LINE", "CALC_PRECONT","DEFI_TEXTURE","TEST_RESU","COMB_CHAM_NO","COMB_CHAM_ELEM", "CALC_FATIGUE","IMPR_OAR", "AFFE_CHAR_MECA_F", "MACR_ASCOUF_CALC","MACR_ASPIC_CALC","MACR_CABRI_CALC", - "MACR_ADAP_MAIL","IMPR_FICO_HOMARD","DEFI_PART_FETI", - "DEBUT" + "MACR_ADAP_MAIL","IMPR_FICO_HOMARD","DEFI_PART_FETI" ) dict_erreurs={ #STA8.4 - "DEBUT" : "tiiiiiiiiiiiiiiiiiiii", "DIST_LIGN_3D": "la commande DIST_LIGN_3D a ete supprimee", "DEFI_THER_JOULE": "la commande DIST_LIGN_3D a ete supprimee", "DIST_LIGN_3D": "la commande DIST_LIGN_3D a ete supprimee", diff --git a/Traducteur/traduitV8V9.py b/Traducteur/traduitV8V9.py index 6882a4cf..c43121d4 100644 --- a/Traducteur/traduitV8V9.py +++ b/Traducteur/traduitV8V9.py @@ -28,7 +28,6 @@ atraiter=( "DEFI_MAILLAGE","CALC_VECT_ELEM","DYNA_TRAN_EXPLI","DYNA_NON_LINE","S dict_erreurs={ #STA8.4 - "DEBUT" : "tiiiiiiiiiiiiiiiiiiii", "DIST_LIGN_3D": "la commande DIST_LIGN_3D a ete supprimee", "DEFI_THER_JOULE": "la commande DIST_LIGN_3D a ete supprimee", "DIST_LIGN_3D": "la commande DIST_LIGN_3D a ete supprimee",