Стиль 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.14/qml-qtquick-controls-styles-busyindicatorstyle.html