KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
binding.h File Reference
#include <kdbindings/node.h>
#include <kdbindings/node_operators.h>
#include <kdbindings/node_functions.h>
#include <kdbindings/make_node.h>
#include <kdbindings/binding_evaluator.h>
#include <kdbindings/property_updater.h>
Include dependency graph for binding.h:

Go to the source code of this file.

Classes

class  KDBindings::Binding< T, EvaluatorT >
 A combination of a root Node with an evaluator. More...
 
class  KDBindings::Binding< T, ImmediateBindingEvaluator >
 Provides a convenience for old-school, immediate mode Bindings. More...
 

Namespaces

namespace  KDBindings
 The main namespace of the KDBindings library.
 

Functions

template<typename EvaluatorT , typename Func , typename... Args, typename = std::enable_if_t<sizeof...(Args) != 0>, typename ResultType = Private::operator_node_result_t<Func, Args...>>
std::unique_ptr< Binding< ResultType, EvaluatorT > > KDBindings::makeBinding (EvaluatorT &evaluator, Func &&func, Args &&...args)
 Helper function to create a Binding from a function and its arguments.
 
template<typename T , typename EvaluatorT >
std::unique_ptr< Binding< T, EvaluatorT > > KDBindings::makeBinding (EvaluatorT &evaluator, Private::Node< T > &&rootNode)
 Helper function to create a Binding from a root Node.
 
template<typename T , typename EvaluatorT >
std::unique_ptr< Binding< T, EvaluatorT > > KDBindings::makeBinding (EvaluatorT &evaluator, Property< T > &property)
 Helper function to create a Binding from a Property.
 
template<typename Func , typename... Args, typename = std::enable_if_t<sizeof...(Args) != 0>, typename ResultType = Private::operator_node_result_t<Func, Args...>>
std::unique_ptr< Binding< ResultType, ImmediateBindingEvaluator > > KDBindings::makeBinding (Func &&func, Args &&...args)
 Helper function to create an immediate mode Binding from a function and its arguments.
 
template<typename T >
std::unique_ptr< Binding< T, ImmediateBindingEvaluator > > KDBindings::makeBinding (Private::Node< T > &&rootNode)
 Helper function to create an immediate mode Binding from a root Node.
 
template<typename T >
std::unique_ptr< Binding< T, ImmediateBindingEvaluator > > KDBindings::makeBinding (Property< T > &property)
 Helper function to create an immediate mode Binding from a Property.
 
template<typename... T>
auto KDBindings::makeBoundProperty (T &&...args)
 Helper function to create a Property with a Binding.
 

© 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