QtBase
v6.3.1
|
Declares a \l QObjectBindableProperty inside containingClass of type type with name name. If the optional argument signal is given, this signal will be emitted when the property is marked dirty. More...
#include <qproperty_p.h>
Public Types | |
using | value_type = typename QPropertyData< T >::value_type |
using | parameter_type = typename QPropertyData< T >::parameter_type |
using | arrow_operator_result = typename QPropertyData< T >::arrow_operator_result |
Public Types inherited from QPropertyData< T > | |
using | value_type = T |
using | parameter_type = std::conditional_t< UseReferences, const T &, T > |
using | rvalue_ref = typename std::conditional_t< UseReferences, T &&, DisableRValueRefs > |
using | arrow_operator_result = std::conditional_t< std::is_pointer_v< T >, const T &, std::conditional_t< QTypeTraits::is_dereferenceable_v< T >, const T &, void > > |
Friends | |
template<typename Property , typename > | |
class | QtPrivate::QBindableInterfaceForProperty |
Additional Inherited Members | |
Protected Attributes inherited from QPropertyData< T > | |
T | val = T() |
Static Protected Attributes inherited from QPropertyData< T > | |
static constexpr bool | UseReferences = !(std::is_arithmetic_v<T> || std::is_enum_v<T> || std::is_pointer_v<T>) |
Declares a \l QObjectBindableProperty inside containingClass of type type with name name. If the optional argument signal is given, this signal will be emitted when the property is marked dirty.
\macro Q_OBJECT_BINDABLE_PROPERTY(containingClass, type, name, signal)
\macro Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(containingClass, type, name, initialvalue, signal)
Declares a \l QObjectBindableProperty inside containingClass of type type with name name which is initialized to initialvalue. If the optional argument signal is given, this signal will be emitted when the property is marked dirty.
\inmodule QtCore
The QObjectCompatProperty class is a template class to help port old properties to the bindable property system.
Definition at line 460 of file qproperty_p.h.
using QObjectCompatProperty< Class, T, Offset, Setter, Signal, Getter >::arrow_operator_result = typename QPropertyData<T>::arrow_operator_result |
Definition at line 509 of file qproperty_p.h.
using QObjectCompatProperty< Class, T, Offset, Setter, Signal, Getter >::parameter_type = typename QPropertyData<T>::parameter_type |
Definition at line 508 of file qproperty_p.h.
using QObjectCompatProperty< Class, T, Offset, Setter, Signal, Getter >::value_type = typename QPropertyData<T>::value_type |
Definition at line 507 of file qproperty_p.h.
|
default |
|
inlineexplicit |
Definition at line 512 of file qproperty_p.h.
|
inlineexplicit |
Definition at line 513 of file qproperty_p.h.
|
inline |
Definition at line 663 of file qproperty_p.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 563 of file qproperty_p.h.
|
inline |
|
inline |
|
inline |
Definition at line 546 of file qproperty_p.h.
|
inline |
|
inline |
|
inline |
Definition at line 515 of file qproperty_p.h.
|
friend |
Definition at line 463 of file qproperty_p.h.