以下成员源于类 QMetaProperty 已过时。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(obsolete)
bool
|
isEditable (const QObject * object = 0) const |
Returns true if the property is editable for the given object ;否则返回 false。
若无
object
is given, the function returns false if the
Q_PROPERTY()
's
EDITABLE
attribute is false; otherwise returns true (if the attribute is true or is a function or expression).
另请参阅 isDesignable (), isScriptable (),和 isStored ().