ctkSimplePythonQtDecorators.h 989 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef __ctkSimplePythonQtDecorators_h
  2. #define __ctkSimplePythonQtDecorators_h
  3. // CTK includes
  4. #include <ctkAbstractPythonManager.h>
  5. // NOTE:
  6. //
  7. // For decorators it is assumed that the methods will never be called
  8. // with the self argument as NULL. The self argument is the first argument
  9. // for non-static methods.
  10. //
  11. class ctkSimplePythonQtDecorators : public QObject
  12. {
  13. Q_OBJECT
  14. public:
  15. ctkSimplePythonQtDecorators(ctkAbstractPythonManager* pythonManager)
  16. {
  17. Q_ASSERT(pythonManager);
  18. //pythonManager->registerClassForPythonQt(&qSlicerCoreApplication::staticMetaObject);
  19. //pythonManager->registerClassForPythonQt(&qSlicerModuleManager::staticMetaObject);
  20. //pythonManager->registerClassForPythonQt(&qSlicerAbstractModule::staticMetaObject);
  21. //pythonManager->registerClassForPythonQt(&qSlicerAbstractModuleWidget::staticMetaObject);
  22. //pythonManager->registerCPPClassForPythonQt("qSlicerModuleFactoryManager");
  23. }
  24. public slots:
  25. };
  26. #endif