Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 549 of file qproperty.h.

Member Data Documentation

◆ iface

template<typename Property , typename = void>
constexpr 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>(); }
}
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:212
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLint location

Definition at line 555 of file qproperty.h.


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