本页内容

FocusScope QML Type

显式创建一个焦点作用域。更多...

Import Statement: import QtQuick
Inherits:

Item

详细说明

在构建可重用的 QML 组件时,焦点作用域有助于处理键盘焦点。所有详细信息均在键盘焦点文档中有所说明。

另请参阅 Qt Quick 示例 - 键盘交互。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.