123456789101112131415161718192021222324252627282930313233343536373839 |
- // CTK includes
- #include "ctkSimplePythonManager.h"
- //#include "qSlicerBaseQTBasePythonQtDecorators.h"
- //-----------------------------------------------------------------------------
- ctkSimplePythonManager::ctkSimplePythonManager(QObject* _parent) : Superclass(_parent)
- {
- }
- //-----------------------------------------------------------------------------
- ctkSimplePythonManager::~ctkSimplePythonManager()
- {
- }
- //-----------------------------------------------------------------------------
- QStringList ctkSimplePythonManager::pythonPaths()
- {
- QStringList paths;
-
- return paths;
- }
- //-----------------------------------------------------------------------------
- void ctkSimplePythonManager::preInitialization()
- {
- Superclass::preInitialization();
- // Register decorators
- //this->registerPythonQtDecorator(new qSlicerBaseQTBasePythonQtDecorators(this));
- // Add object to python interpreter context
- //this->addObjectToPythonMain("_qSlicerCoreApplicationInstance", app);
- // Evaluate application script
- //this->executeFile(app->slicerHome() + "/bin/Python/slicer/slicerqt.py");
- }
|