-# 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).