-----------------------------------------------------------------------------
| 702 | |
| 703 | //----------------------------------------------------------------------------- |
| 704 | void ctkAbstractPythonManager::addWrapperFactory(PythonQtForeignWrapperFactory* factory) |
| 705 | { |
| 706 | if (!PythonQt::self()) |
| 707 | { |
| 708 | qWarning() << Q_FUNC_INFO << " failed: PythonQt is not initialized"; |
| 709 | return; |
| 710 | } |
| 711 | PythonQt::self()->addWrapperFactory(factory); |
| 712 | } |
| 713 | |
| 714 | //----------------------------------------------------------------------------- |
| 715 | QVariant ctkAbstractPythonManager::getVariable(const QString& name) |