KDDockWidgets API Documentation 2.0
|
An example of how to use KDBindings::BindingEvaluator together with a KDBindings::Property to create a Property binding that is only reevaluated on demand.
The output of this example is:
Note the difference to 05-property-bindings/main.cpp, where the new size of the image is calculated twice.
This feature is especially useful to reduce the performance impact of bindings and to create bindings that only update in specific intervals.