Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QtPrivate::QBindableInterfaceForProperty< Property, typename > Class Template Reference

#include <qproperty.h>

+ Collaboration diagram for QtPrivate::QBindableInterfaceForProperty< Property, typename >:

Static Public Attributes

static constexpr QBindableInterface iface
 

Detailed Description

template<typename Property, typename = void>
class QtPrivate::QBindableInterfaceForProperty< Property, typename >

Definition at line 550 of file qproperty.h.

Member Data Documentation

◆ iface

template<typename Property, typename = void>
QBindableInterface QtPrivate::QBindableInterfaceForProperty< Property, typename >::iface
staticconstexpr
Initial value:
= {
[](const QUntypedPropertyData *d, void *value) -> void
{ *static_cast<T*>(value) = static_cast<const Property *>(d)->value(); },
nullptr,
nullptr,
nullptr,
{ return Qt::makePropertyBinding([d]() -> T { return static_cast<const Property *>(d)->value(); }, location); },
[](const QUntypedPropertyData *d, QPropertyObserver *observer) -> void
{ observer->setSource(static_cast<const Property *>(d)->bindingData()); },
[]() { return QMetaType::fromType<T>(); }
}
static constexpr QMetaType fromType()
Definition qmetatype.h:2681
auto makePropertyBinding(Functor &&f, const QPropertyBindingSourceLocation &location=QT_PROPERTY_DEFAULT_BINDING_LOCATION, std::enable_if_t< std::is_invocable_v< Functor > > *=nullptr)
Definition qproperty.h:213
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLint location
double d
[1]

Definition at line 556 of file qproperty.h.


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