Стиль BusyIndicator QML
Предоставляет настраиваемый стиль для BusyIndicatorStyle Подробнее...
| Заявление об импорте: | import QtQuick.Controls.Styles 1.4 |
| С: | Qt 5.2 |
Свойства
Подробное описание
Вы можете создать индикатор ожидания, заменив делегат «indicator» стиля BusyIndicatorStyle на пользовательский дизайн.
Пример:
BusyIndicator {
style: BusyIndicatorStyle {
indicator: Image {
visible: control.running
source: "spinner.png"
RotationAnimator on rotation {
running: control.running
loops: Animation.Infinite
duration: 2000
from: 0 ; to: 360
}
}
}
} Документация по свойствам
[только для чтения] control : BusyIndicator
Индикатор ожидания BusyIndicator, к которому прикреплен данный стиль.
indicator : Component
Определяет внешний вид индикатора ожидания.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.9/qml-qtquick-controls-styles-busyindicatorstyle.html