KDDockWidgets API Documentation 2.0
|
#include <binding_evaluator.h>
Static Public Member Functions | |
static ImmediateBindingEvaluator | instance () |
Additional Inherited Members | |
Public Member Functions inherited from KDBindings::BindingEvaluator | |
BindingEvaluator ()=default | |
BindingEvaluator (BindingEvaluator &&other) noexcept=delete | |
BindingEvaluator (const BindingEvaluator &) noexcept=default | |
void | evaluateAll () const |
BindingEvaluator & | operator= (BindingEvaluator &&other) noexcept=delete |
BindingEvaluator & | operator= (const BindingEvaluator &) noexcept=default |
This subclass of BindingEvaluator doesn't do anything special on its own. It is used together with a template specialization of Binding to provide old-school, immediate mode Bindings.
Any Binding that is constructed with an ImmediateBindingEvaluator will not wait for the evaluator to call evaluateAll, but rather evaluate the Binding immediately when any of its bindables (i.e. Property instances) change. This can lead to a Property Binding being evaluated many times before the result is ever used in a typical GUI application.
Definition at line 129 of file binding_evaluator.h.
|
inlinestatic |
Definition at line 132 of file binding_evaluator.h.