Commit Graph

13 Commits

Author SHA1 Message Date
wmayer
c016f1c1fb Gui: modernize C++: use equals default 2023-08-20 18:12:43 +02:00
wmayer
d150fa7164 modernize C++: avoid bind
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b modernize C++: move from boost::bind to std::bind 2023-08-08 17:36:13 +02:00
wmayer
6298a3a339 Gui: [skip ci] consistently use Py::asObject() in DocumentObserverPython 2022-11-15 11:04:07 +01:00
wmayer
96adb98f46 Gui: modernize C++11
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
5f9020b09a [Gui] Document and Download: remove unused includes 2022-03-04 04:37:36 +01:00
wmayer
76aac3a221 boost: [skip ci] fix for boost < 1.60 2020-06-15 21:33:56 +02:00
wmayer
4ec45b545e boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
wmayer
e5d23469f7 Gui: add function to observe before changing a property 2020-01-13 02:17:39 +01:00
wmayer
a5019828cf [skip ci] fix more -Wgnu-zero-variadic-macro-arguments 2019-11-17 21:32:19 +01:00
Zheng, Lei
08f0511b1f 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
2019-08-17 15:08:34 +02:00
ickby
3e3bfbabf5 Expose edit signals to Gui observer 2018-10-08 11:06:04 +02:00
ickby
a0de8c9a62 Add python document observer for GUI documents 2018-10-08 11:04:56 +02:00