From: Cédric Aguerre Date: Fri, 2 Jun 2017 08:13:43 +0000 (+0200) Subject: Fix Qt5 porting X-Git-Tag: V8_3_0~6^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c9a348502d3eb9f4663a99a9bb4c3a6db0a4ccd3;p=tools%2Feficas.git Fix Qt5 porting --- 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) -