Salome HOME
Switch development flag ON
[modules/smesh.git] / src / Tools / YamsPlug / yamsplug_plugin.py
index 94a4cd9fe2b5d0d8ef0a31e328b0f7d8b58a989c..d502effc87129e1606a19bb865d0f09755b5390c 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: utf-8 -*-
-# Copyright (C) 2006-2014  EDF R&D
+# Copyright (C) 2006-2015  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
@@ -30,10 +30,7 @@ def YamsLct(context):
   import os
   import subprocess
   import tempfile
-  from PyQt4 import QtCore
-  from PyQt4 import QtGui
-  from PyQt4.QtGui import QFileDialog
-  from PyQt4.QtGui import QMessageBox
+  from qtsalome import QFileDialog, QMessageBox
   
   #prior test to avoid unnecessary user GUI work with ending crash
   try :