ctkSimplePythonManager.cpp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // CTK includes
  2. #include "ctkSimplePythonManager.h"
  3. //#include "qSlicerBaseQTBasePythonQtDecorators.h"
  4. //-----------------------------------------------------------------------------
  5. ctkSimplePythonManager::ctkSimplePythonManager(QObject* _parent) : Superclass(_parent)
  6. {
  7. }
  8. //-----------------------------------------------------------------------------
  9. ctkSimplePythonManager::~ctkSimplePythonManager()
  10. {
  11. }
  12. //-----------------------------------------------------------------------------
  13. QStringList ctkSimplePythonManager::pythonPaths()
  14. {
  15. QStringList paths;
  16. return paths;
  17. }
  18. //-----------------------------------------------------------------------------
  19. void ctkSimplePythonManager::preInitialization()
  20. {
  21. Superclass::preInitialization();
  22. // Register decorators
  23. //this->registerPythonQtDecorator(new qSlicerBaseQTBasePythonQtDecorators(this));
  24. // Add object to python interpreter context
  25. //this->addObjectToPythonMain("_qSlicerCoreApplicationInstance", app);
  26. // Evaluate application script
  27. //this->executeFile(app->slicerHome() + "/bin/Python/slicer/slicerqt.py");
  28. }