KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
KDBindings::ImmediateBindingEvaluator Class Referencefinal

#include <binding_evaluator.h>

Inheritance diagram for KDBindings::ImmediateBindingEvaluator:
Inheritance graph
[legend]
Collaboration diagram for KDBindings::ImmediateBindingEvaluator:
Collaboration graph
[legend]

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
 
BindingEvaluatoroperator= (BindingEvaluator &&other) noexcept=delete
 
BindingEvaluatoroperator= (const BindingEvaluator &) noexcept=default
 

Detailed Description

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.

Member Function Documentation

◆ instance()

static ImmediateBindingEvaluator KDBindings::ImmediateBindingEvaluator::instance ( )
inlinestatic

Definition at line 132 of file binding_evaluator.h.


The documentation for this class was generated from the following file:

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8