Represents a QML property. 更多...
| 头: |
#include <Property>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
|
| 状态: | 技术预览 |
| Property () | |
| Property (const QQmlSA::Property & other ) | |
| Property (QQmlSA::Property && other ) | |
| ~Property () | |
| bool | isReadonly () const |
| bool | isValid () const |
| QQmlSA::Element | type () const |
| QString | typeName () const |
| QQmlSA::Property & | operator= (QQmlSA::Property && other ) |
| QQmlSA::Property & | operator= (const QQmlSA::Property & other ) |
| bool | operator!= (const QQmlSA::Property & lhs , const QQmlSA::Property & rhs ) |
| bool | operator== (const QQmlSA::Property & lhs , const QQmlSA::Property & rhs ) |
Constructs a new Property object.
创建副本为 other .
[noexcept]
Property::
特性
(
QQmlSA::Property
&&
other
)
Move-constructs a Property instance.
[noexcept]
Property::
~Property
()
Destroys this property.
返回
true
if this property is read-only,
false
否则。
返回
true
if this property is valid,
false
否则。
Returns the type of this property.
Returns the name of the type of this property.
[noexcept]
QQmlSA::Property
&Property::
operator=
(
QQmlSA::Property
&&
other
)
移动赋值 other to this Property instance.
赋值 other to this Property instance.
返回
true
if
lhs
and
rhs
are not equal, and
false
否则。
返回
true
if
lhs
and
rhs
are equal, and
false
否则。