Salome HOME
Copyright update 2022
[modules/gui.git] / tools / CurvePlot / src / python / pyqtside / uic.py
index 3f9565b8eb9ac8b5ed678cb6b81179d7f1c9de1f..94043c6c86d0aa37d89e4b76c1494a5613ad3dcf 100644 (file)
@@ -1,7 +1,26 @@
+# Copyright (C) 2016-2022  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.uic import loadUi as loadUiGen
-else: 
-  from pyside_dynamic import loadUi as loadUiGen
+  from PyQt5.uic import loadUi as loadUiGen
+else:
+  from .pyside_dynamic import loadUi as loadUiGen