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
否則。