From 98a709af78b4d3e7a41f40526d9ac0f99608e36f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 13 Sep 2025 15:50:04 +1000 Subject: plugin/managers: add CircularIndicatorManager Basically move StyledBusyIndicator -> CircularIndicator + logic for it from js -> c++ --- modules/bar/popouts/Bluetooth.qml | 2 +- modules/bar/popouts/Network.qml | 4 ++-- modules/controlcenter/bluetooth/DeviceList.qml | 2 +- modules/lock/Center.qml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'modules') diff --git a/modules/bar/popouts/Bluetooth.qml b/modules/bar/popouts/Bluetooth.qml index e623eae..53d8b29 100644 --- a/modules/bar/popouts/Bluetooth.qml +++ b/modules/bar/popouts/Bluetooth.qml @@ -110,7 +110,7 @@ ColumnLayout { radius: Appearance.rounding.full color: Qt.alpha(Colours.palette.m3primary, device.modelData.state === BluetoothDeviceState.Connected ? 1 : 0) - StyledBusyIndicator { + CircularIndicator { anchors.fill: parent running: device.loading } diff --git a/modules/bar/popouts/Network.qml b/modules/bar/popouts/Network.qml index 21d1913..f21a92d 100644 --- a/modules/bar/popouts/Network.qml +++ b/modules/bar/popouts/Network.qml @@ -104,7 +104,7 @@ ColumnLayout { radius: Appearance.rounding.full color: Qt.alpha(Colours.palette.m3primary, networkItem.modelData.active ? 1 : 0) - StyledBusyIndicator { + CircularIndicator { anchors.fill: parent running: networkItem.loading } @@ -183,7 +183,7 @@ ColumnLayout { } } - StyledBusyIndicator { + CircularIndicator { anchors.centerIn: parent strokeWidth: Appearance.padding.small / 2 bgColour: "transparent" diff --git a/modules/controlcenter/bluetooth/DeviceList.qml b/modules/controlcenter/bluetooth/DeviceList.qml index 359886c..020eced 100644 --- a/modules/controlcenter/bluetooth/DeviceList.qml +++ b/modules/controlcenter/bluetooth/DeviceList.qml @@ -242,7 +242,7 @@ ColumnLayout { radius: Appearance.rounding.full color: Qt.alpha(Colours.palette.m3primaryContainer, device.connected ? 1 : 0) - StyledBusyIndicator { + CircularIndicator { anchors.fill: parent running: device.loading } diff --git a/modules/lock/Center.qml b/modules/lock/Center.qml index ce5db92..a827bdd 100644 --- a/modules/lock/Center.qml +++ b/modules/lock/Center.qml @@ -174,7 +174,7 @@ ColumnLayout { } } - StyledBusyIndicator { + CircularIndicator { anchors.fill: parent running: root.lock.pam.passwd.active } -- cgit v1.2.3-freya