以下成員源於類 QMetaProperty 已過時。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(obsolete)
bool
|
isEditable (const QObject * object = Q_NULLPTR) const |
返迴
true
if the property is editable for the given
object
;否則返迴
false
.
若無
object
is given, the function returns
false
若
Q_PROPERTY()
's
EDITABLE
attribute is false; otherwise returns true (if the attribute is true or is a function or expression).
另請參閱 isDesignable (), isScriptable (),和 isStored ().