The following members of QML type 应用程序 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated since 5.2)
[read-only] active : bool |
This property is deprecated since 5.2. We strongly advise against using it in new code.
Returns whether the application is active. Use Application.state == Qt.ApplicationActive instead