Salome HOME
updated copyright message
[modules/gui.git] / tools / CurvePlot / src / python / ui / PlotWidget.py
index aca4c80f38cb7fd37f44a96eecd0a2782b544eba..943f0d970cc82f010aa1960f5a1fb5ade774ff2a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2019  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-from pyqtside import QtGui
+from pyqtside import QtWidgets
 from pyqtside.uic import loadUiGen
-from utils import completeResPath
+from .utils import completeResPath
 
-class PlotWidget(QtGui.QMainWindow):
+class PlotWidget(QtWidgets.QMainWindow):
   def __init__(self):
-    QtGui.QMainWindow.__init__(self)
+    QtWidgets.QMainWindow.__init__(self)
     loadUiGen(completeResPath("PlotWidget.ui"), self)
-    
+
   def clearAll(self):
     """ In test context, the PlotWidget is never fully deleted (because the PyQt binding
     of QTabWidget doesn't remove completly the references it holds).