From: adv Date: Tue, 10 Sep 2013 06:24:52 +0000 (+0000) Subject: Additional libraries for python dump added. X-Git-Tag: BR_hydro_v_0_1~50 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c07845fcad4a7156b8244d15867639478d31a1c4;p=modules%2Fhydro.git Additional libraries for python dump added. --- diff --git a/src/HYDROData/HYDROData_Document.cxx b/src/HYDROData/HYDROData_Document.cxx index 665748a6..a92695f8 100644 --- a/src/HYDROData/HYDROData_Document.cxx +++ b/src/HYDROData/HYDROData_Document.cxx @@ -226,6 +226,8 @@ QStringList HYDROData_Document::DumpToPython( MapOfTreatedObjects& theTreatedObj QStringList aResScript; aResScript << QString( "from HYDROData import *" ); + aResScript << QString( "from PyQt4.QtCore import *" ); + aResScript << QString( "from PyQt4.QtGui import *" ); aResScript << QString( "" ); aResScript << QString( "%1 = HYDROData_Document.Document( %2 );" ).arg( aDocName ).arg( aDocId );