From ba115b588d5693730204e33923bce24369733d98 Mon Sep 17 00:00:00 2001 From: TMA Salome Date: Tue, 23 Feb 2016 17:09:34 +0100 Subject: [PATCH] Qt5 porting avec Pascale --- src/EFICASGUI/EFICASGUI.py | 4 ++-- src/EFICASGUI/eficasSalome.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/EFICASGUI/EFICASGUI.py b/src/EFICASGUI/EFICASGUI.py index a56ac522..cb34b702 100644 --- a/src/EFICASGUI/EFICASGUI.py +++ b/src/EFICASGUI/EFICASGUI.py @@ -5,8 +5,8 @@ import os """ Interface PyQt """ -from PyQt4.QtGui import * -from PyQt4.QtCore import * +from PyQt5.QtWidgets import * +from PyQt5.QtCore import * import salome import SalomePyQt diff --git a/src/EFICASGUI/eficasSalome.py b/src/EFICASGUI/eficasSalome.py index 02f78fa1..e7364e0a 100644 --- a/src/EFICASGUI/eficasSalome.py +++ b/src/EFICASGUI/eficasSalome.py @@ -3,8 +3,8 @@ import sys, os, re,types import traceback -from PyQt4.QtGui import QMessageBox -from PyQt4.QtGui import QApplication +from PyQt5.QtWidgets import QMessageBox +from PyQt5.QtWidgets import QApplication from salome.kernel.logger import Logger logger = Logger( "EFICAS_SRC.EFICASGUI.eficasSalome.py" ) -- 2.39.2