]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Additional libraries for python dump added.
authoradv <adv@opencascade.com>
Tue, 10 Sep 2013 06:24:52 +0000 (06:24 +0000)
committeradv <adv@opencascade.com>
Tue, 10 Sep 2013 06:24:52 +0000 (06:24 +0000)
src/HYDROData/HYDROData_Document.cxx

index 665748a66b1863ebf8d52b2039cd71f4b7f37b93..a92695f82fd47b95615a1ad4a9c7240badefbb11 100644 (file)
@@ -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 );