mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-03 01:55:17 +03:00
29 lines
585 B
QML
29 lines
585 B
QML
|
import QtQuick 2.5
|
||
|
import QtQuick.Controls 1.4
|
||
|
import QtQuick.Layouts 1.1
|
||
|
import QtQuick.Controls.Styles 1.4
|
||
|
|
||
|
ProgressBar {
|
||
|
|
||
|
property bool shouldBeVisible
|
||
|
|
||
|
visible: shouldBeVisible
|
||
|
Layout.alignment: Qt.AlignLeft | Qt.AlignTop
|
||
|
Layout.maximumHeight: 10
|
||
|
Layout.minimumHeight: 10
|
||
|
Layout.minimumWidth: 300
|
||
|
Layout.fillWidth: true
|
||
|
maximumValue: 30
|
||
|
minimumValue: 0
|
||
|
|
||
|
style: ProgressBarStyle {
|
||
|
progress: Rectangle {
|
||
|
color: "#9aca3c"
|
||
|
}
|
||
|
|
||
|
background: Rectangle {
|
||
|
color: palette.alternateBase
|
||
|
}
|
||
|
}
|
||
|
}
|