From: Gilles DAVID Date: Wed, 29 Mar 2017 13:03:43 +0000 (+0200) Subject: [PY3] Fix plugins relative imports X-Git-Tag: V9_0_0~7^2~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eac27d01ced6c7bb6389b94a644370a1719c3a2c;p=modules%2Fgui.git [PY3] Fix plugins relative imports --- diff --git a/src/GUI_PY/genericdialog.py b/src/GUI_PY/genericdialog.py index 8b8be1710..78183833b 100644 --- a/src/GUI_PY/genericdialog.py +++ b/src/GUI_PY/genericdialog.py @@ -18,12 +18,9 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -__author__="gboulant" -__date__ ="$31 mars 2010 17:09:53$" - from qtsalome import QDialog, QMessageBox +from salome.gui.genericdialog_ui import Ui_GenericDialog -from genericdialog_ui import Ui_GenericDialog class GenericDialog(QDialog): """ diff --git a/src/GUI_PY/mytestdialog.py b/src/GUI_PY/mytestdialog.py index c03fbb299..baa2d7826 100644 --- a/src/GUI_PY/mytestdialog.py +++ b/src/GUI_PY/mytestdialog.py @@ -18,11 +18,10 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -__author__="gboulant" -__date__ ="$31 mars 2010 17:09:53$" from qtsalome import * -from mytestdialog_ui import Ui_MyTestDialog -from .genericdialog import GenericDialog +from salome.gui.genericdialog import GenericDialog +from salome.gui.mytestdialog_ui import Ui_MyTestDialog + class MyTestDialog(GenericDialog): """