wifi & bluetooth dialogs: indeterminate progressbar while scanning

This commit is contained in:
end-4
2025-08-30 22:09:05 +02:00
parent eb0bad1af6
commit 021a49a72d
3 changed files with 38 additions and 6 deletions
@@ -19,8 +19,17 @@ WindowDialog {
WindowDialogTitle {
text: Translation.tr("Bluetooth devices")
}
// TODO: add indeterminate progress bar when scanning
WindowDialogSeparator {}
WindowDialogSeparator {
visible: !Bluetooth.defaultAdapter.discovering
}
StyledIndeterminateProgressBar {
visible: Bluetooth.defaultAdapter.discovering
Layout.fillWidth: true
Layout.topMargin: -8
Layout.bottomMargin: -8
Layout.leftMargin: -Appearance.rounding.large
Layout.rightMargin: -Appearance.rounding.large
}
StyledListView {
Layout.fillHeight: true
Layout.fillWidth: true