FreeCAD: staging a9e81075

Author Committer Branch Timestamp Parent
Zheng, Lei Zheng, Lei staging 2019-07-11 05:57:53 staging 65689e3b
Changeset Python feature/observer related changes

* Add new API and signal handler in document observer

* Pre initialize python handler function to improve performance. In
  case Python code use dynamic patching, i.e. add class method at
  runtime (which is rare and should be discouraged), the python feature
  can be re-initialized by simply assign proeprty Proxy again.

* Add property tracking in DocumentObjectT

* WidgetFactory adds support for accepting python QIcon, which is used
  by ViewProviderPythonFeature
mod - src/App/DocumentObserver.cpp Diff File
mod - src/App/DocumentObserver.h Diff File
mod - src/App/DocumentObserverPython.cpp Diff File
mod - src/App/DocumentObserverPython.h Diff File
mod - src/App/FeaturePython.cpp Diff File
mod - src/App/FeaturePython.h Diff File
mod - src/Gui/DocumentObserverPython.cpp Diff File
mod - src/Gui/DocumentObserverPython.h Diff File
mod - src/Gui/ViewProviderPythonFeature.cpp Diff File
mod - src/Gui/ViewProviderPythonFeature.h Diff File
mod - src/Gui/WidgetFactory.cpp Diff File
mod - src/Gui/WidgetFactory.h Diff File