X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FVerima%2FGui%2FmaFenetreChoix.py;h=a92b149451598cf06eec37bc654e6eff5956ae1b;hp=359ceb4add2702a319352367b748bc9aec7de9f2;hb=442fd64c19a6e27a339ca36264c15ec91732cf32;hpb=75d61804dc733ab5c810e416dec646406af11422 diff --git a/src/Tools/Verima/Gui/maFenetreChoix.py b/src/Tools/Verima/Gui/maFenetreChoix.py index 359ceb4ad..a92b14945 100644 --- a/src/Tools/Verima/Gui/maFenetreChoix.py +++ b/src/Tools/Verima/Gui/maFenetreChoix.py @@ -1,34 +1,32 @@ -from desFenetreChoix import Ui_Choix -from PyQt4 import * -from PyQt4.QtCore import * -from PyQt4.QtGui import * -from monEditor import TableEditor +from desFenetreChoix_ui import Ui_Choix +from qtsalome import * +from .monEditor import TableEditor # Import des panels -class MaFenetreChoix(Ui_Choix ,QtGui.QDialog): +class MaFenetreChoix(Ui_Choix ,QDialog): """ """ def __init__(self,db): - QtGui.QDialog.__init__(self) + QDialog.__init__(self) self.setModal(True) self.setupUi(self) self.db=db self.connecterSignaux() def connecterSignaux(self): - self.connect(self.PBMailleur,SIGNAL("clicked()"),self.MailleurPush) - self.connect(self.PBMaillage,SIGNAL("clicked()"),self.MaillagePush) - self.connect(self.PBVersion,SIGNAL("clicked()"),self.VersionPush) - self.connect(self.PBMachine,SIGNAL("clicked()"),self.MachinePush) - self.connect(self.PBGroupe,SIGNAL("clicked()"),self.GroupePush) - self.connect(self.PBRatio,SIGNAL("clicked()"),self.RatioPush) - self.connect(self.PBGroupeRatio,SIGNAL("clicked()"),self.GroupeRatioPush) - self.connect(self.PBGroupeTaille,SIGNAL("clicked()"),self.GroupeTaillePush) - self.connect(self.PBPerf,SIGNAL("clicked()"),self.PerfPush) - self.connect(self.PBMaille,SIGNAL("clicked()"),self.MaillePush) - self.connect(self.PBTaille,SIGNAL("clicked()"),self.TaillePush) - self.connect(self.PBGroupesRef,SIGNAL("clicked()"),self.GroupesRefPush) + self.PBMailleur.clicked.connect(self.MailleurPush) + self.PBMaillage.clicked.connect(self.MaillagePush) + self.PBVersion.clicked.connect(self.VersionPush) + self.PBMachine.clicked.connect(self.MachinePush) + self.PBGroupe.clicked.connect(self.GroupePush) + self.PBRatio.clicked.connect(self.RatioPush) + self.PBGroupeRatio.clicked.connect(self.GroupeRatioPush) + self.PBGroupeTaille.clicked.connect(self.GroupeTaillePush) + self.PBPerf.clicked.connect(self.PerfPush) + self.PBMaille.clicked.connect(self.MaillePush) + self.PBTaille.clicked.connect(self.TaillePush) + self.PBGroupesRef.clicked.connect(self.GroupesRefPush) def MailleurPush(self): editor=TableEditor(self.db.maTableMailleurs,self)