Тип QML BusyIndicatorStyle
Предоставляет настраиваемое стилирование для 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/archives/qt-5.11/qml-qtquick-controls-styles-busyindicatorstyle.html