Import 2017-06-07 23:51:09: master 1a55da6c
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
msmolens | msmolens | master | 2015-09-22 09:58:25 | master 6cf055d8 |
Changeset | ENH: Support writing scripted modules and widgets as new-style Python classes This commit adds support for writing scripted module and widget classes as The motivation for this change is to allow widget classes to take advantage of While old-style classes are used with PyClass_XXX and PyInstance_XXX functions The Python error that occurred when attempting to instanciate a new-style Python
Fixes the following issues:
[1] https://docs.python.org/2/reference/datamodel.html#newstyle From: Max Smolens <max.smolens@kitware.com> git-svn-id: http://svn.slicer.org/Slicer4/trunk@24569 3bd1e089-480b-0410-8dfb-8563597acbee |
|||
mod - Base/QTCore/qSlicerScriptedUtils.cxx | Diff File | |||
mod - Base/QTGUI/Testing/Cxx/Resources/qSlicerBaseQTGUITesting.qrc | Diff File | |||
mod - Base/QTGUI/Testing/Cxx/qSlicerScriptedLoadableModuleTest.cxx | Diff File | |||
mod - Base/QTGUI/Testing/Cxx/qSlicerScriptedLoadableModuleWidgetTest.cxx | Diff File | |||
add - Base/QTGUI/Testing/Data/Input/qSlicerScriptedLoadableModuleNewStyleTest.py | Diff File | |||
add - Base/QTGUI/Testing/Data/Input/qSlicerScriptedLoadableModuleNewStyleTestWidget.py | Diff File |