From c9a348502d3eb9f4663a99a9bb4c3a6db0a4ccd3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Fri, 2 Jun 2017 10:13:43 +0200 Subject: [PATCH] Fix Qt5 porting --- InterfaceQT4/monVisu.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/InterfaceQT4/monVisu.py b/InterfaceQT4/monVisu.py index fd8461e9..68257209 100644 --- a/InterfaceQT4/monVisu.py +++ b/InterfaceQT4/monVisu.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2007-2013 EDF R&D +# Copyright (C) 2007-2017 EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -27,11 +27,11 @@ from PyQt5.QtWidgets import QDialog # Import des panels -class DVisu(Ui_DVisu ,QtGui.QDialog): +class DVisu(Ui_DVisu, QDialog): """ """ def __init__(self,parent = None , name = None,fl = 0): - QtGui.QDialog.__init__(self,parent) + QDialog.__init__(self,parent) self.setModal(True) self.setupUi(self) @@ -40,4 +40,3 @@ class DVisu(Ui_DVisu ,QtGui.QDialog): def on_buttonOk_clicked(self): QDialog.accept(self) - -- 2.39.2