Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.0.0
-
None
Description
It is common for a function to be bound to a change-signal in order to
adjust some aspect of the QML element to the new value of the property.
But often the change to the property is incremental rather than atomic,
meaning that there are multiple change-signals sent in quick succession,
of which only the final one is of interest. This means a lot of time
spent on executing the function is wasted.
A way of postponing the execution of a function is needed, such that
the function is only executed if there has not been another call to
execute the function for some short period of time.
Attachments
Issue Links
- relates to
-
QTBUG-71577 QML needs a way to atomically update multiple bindings at the same time
- Open