diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-13 15:50:04 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-13 15:50:04 +1000 |
| commit | 98a709af78b4d3e7a41f40526d9ac0f99608e36f (patch) | |
| tree | bb2a2b29784fd104e9ff731467b9ea33a834166a /modules | |
| parent | plugin: refactor into modules (diff) | |
| download | caelestia-shell-98a709af78b4d3e7a41f40526d9ac0f99608e36f.tar.gz caelestia-shell-98a709af78b4d3e7a41f40526d9ac0f99608e36f.tar.bz2 caelestia-shell-98a709af78b4d3e7a41f40526d9ac0f99608e36f.zip | |
plugin/managers: add CircularIndicatorManager
Basically move StyledBusyIndicator -> CircularIndicator + logic for it from js -> c++
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/bar/popouts/Bluetooth.qml | 2 | ||||
| -rw-r--r-- | modules/bar/popouts/Network.qml | 4 | ||||
| -rw-r--r-- | modules/controlcenter/bluetooth/DeviceList.qml | 2 | ||||
| -rw-r--r-- | modules/lock/Center.qml | 2 |
4 files changed, 5 insertions, 5 deletions
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 } |