X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=tools%2FCurvePlot%2Fsrc%2Fpython%2Fpyqtside%2FQtCore.py;h=a3c377f769213a56b561541acd7eb90589b27503;hb=320eb776e5eb37ade130d10326bf5cee4559ee86;hp=6e90c29e8df0979aec367bafb1469210640412ad;hpb=533affbecb3e001b103b2e7c41af58e33e4cce9c;p=modules%2Fgui.git diff --git a/tools/CurvePlot/src/python/pyqtside/QtCore.py b/tools/CurvePlot/src/python/pyqtside/QtCore.py index 6e90c29e8..a3c377f76 100644 --- a/tools/CurvePlot/src/python/pyqtside/QtCore.py +++ b/tools/CurvePlot/src/python/pyqtside/QtCore.py @@ -1,7 +1,26 @@ +# Copyright (C) 2016-2023 CEA/DEN, 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 +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + from . import _use_pyqt if _use_pyqt: - from PyQt4.QtCore import * - Slot = pyqtSlot - Signal = pyqtSignal + from PyQt5.QtCore import * + Slot = pyqtSlot + Signal = pyqtSignal else: from PySide.QtCore import *