From: PASCALE NOYRET Date: Wed, 30 Mar 2022 10:05:44 +0000 (+0200) Subject: chgt d affichage du bouton de choix de code X-Git-Tag: V9_9_0a2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3c5482bab207d94d5535e81d3980a16ef019a1aa;p=tools%2Feficas.git chgt d affichage du bouton de choix de code --- diff --git a/InterfaceQT4/monChoixCode.py b/InterfaceQT4/monChoixCode.py index bae07cf3..80fdb0eb 100644 --- a/InterfaceQT4/monChoixCode.py +++ b/InterfaceQT4/monChoixCode.py @@ -58,7 +58,7 @@ class MonChoixCode(Ui_ChoixCode,QDialog): def verifieInstall(self): self.groupCodes=QButtonGroup(self.groupBox) vars=list(os.environ.items()) - listeCode=('Adao','Carmel3D','CarmelCND','CF','MAP','MT','PSEN','PSEN_N1','Telemac','ZCracks',) + listeCode=('Telemac','ReacteurNumerique','Adao') for code in listeCode: dirCode=os.path.abspath(os.path.join(os.path.abspath(__file__),'../..',code)) try : @@ -66,7 +66,7 @@ class MonChoixCode(Ui_ChoixCode,QDialog): bouton=QRadioButton(self.groupBox) bouton.setText(code) self.groupCodes.addButton(bouton) - self.vlBouton.addWidget(bouton) + self.vlBouton.insertWidget(0,bouton) except : clef="PREFS_CATA_"+code try :