![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
UntypedProxyPropertyBindable (UntypedProxyProperty *property) | |
![]() | |
constexpr | QUntypedBindable ()=default |
Default-constructs a QUntypedBindable. | |
template<typename Property > | |
QUntypedBindable (Property *p) | |
Constructs a QUntypedBindable from the property property. | |
bool | isValid () const |
Returns true if the QUntypedBindable is valid. | |
bool | isBindable () const |
bool | isReadOnly () const |
QUntypedPropertyBinding | makeBinding (const QPropertyBindingSourceLocation &location=QT_PROPERTY_DEFAULT_BINDING_LOCATION) const |
Creates a binding returning the underlying properties' value, using a specified source location. | |
QUntypedPropertyBinding | takeBinding () |
Removes the currently set binding from the property and returns it. | |
void | observe (QPropertyObserver *observer) const |
template<typename Functor > | |
QPropertyChangeHandler< Functor > | onValueChanged (Functor f) const |
Installs f as a change handler. | |
template<typename Functor > | |
QPropertyChangeHandler< Functor > | subscribe (Functor f) const |
Behaves like a call to f followed by onValueChanged(f) ,. | |
template<typename Functor > | |
QPropertyNotifier | addNotifier (Functor f) |
Installs f as a change handler. | |
QUntypedPropertyBinding | binding () const |
Returns the underlying property's binding if there is any, or a default constructed QUntypedPropertyBinding otherwise. | |
bool | setBinding (const QUntypedPropertyBinding &binding) |
Sets the underlying property's binding to binding. | |
bool | hasBinding () const |
Returns true if the underlying property has a binding. | |
QMetaType | metaType () const |
Additional Inherited Members | |
![]() | |
constexpr | QUntypedBindable (QUntypedPropertyData *d, const QtPrivate::QBindableInterface *i) |
Q_CORE_EXPORT | QUntypedBindable (QObject *obj, const QMetaProperty &property, const QtPrivate::QBindableInterface *i) |
Q_CORE_EXPORT | QUntypedBindable (QObject *obj, const char *property, const QtPrivate::QBindableInterface *i) |
![]() | |
QUntypedPropertyData * | data = nullptr |
const QtPrivate::QBindableInterface * | iface = nullptr |
Definition at line 120 of file qquickbehavior.cpp.
|
inline |
Definition at line 121 of file qquickbehavior.cpp.