指示器控件
Qt Quick Controls 提供了一系列类似指示器的控件。
用于指示后台活动,例如内容正在加载时 | |
指示当前处于活动状态的页面 | |
指示操作的进度 | |
垂直或水平的交互式滚动条 | |
垂直或水平的非交互式滚动指示器 |
每种指示器都有其特定的适用场景。以下各节将根据具体场景,提供选择合适指示器类型的指南。
BusyIndicator 控件

BusyIndicator 可用于显示操作正在进行中,且用户界面必须等待该操作完成。
PageIndicator 控件

PageIndicator 用于在包含多个页面的容器中指示当前活动页面。
ProgressBar 控件
ProgressBar 用于显示操作的进度。该值应定期更新。
ScrollBar 控件
ScrollBar 是一个交互式条形控件,用于指示当前滚动位置,可用于在Flickable 中滚动到特定位置。
ScrollIndicator 控件
ScrollIndicator 是一个非交互式指示器,用于显示当前滚动位置,并可用于在Flickable 中滚动到特定位置。
相关信息
© 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.