qs bluetooth
This commit is contained in:
parent
c6699a5b52
commit
6c73e52f6d
16 changed files with 277 additions and 3 deletions
19
modules/user/modules/quickshell/shell/bar/ActivityButton.qml
Normal file
19
modules/user/modules/quickshell/shell/bar/ActivityButton.qml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
|
||||
ClickableIcon {
|
||||
id: root
|
||||
property bool showAction: false
|
||||
showPressed: mouseArea.pressed || showAction
|
||||
|
||||
BusyIndicator {
|
||||
parent: root
|
||||
anchors.centerIn: parent
|
||||
opacity: root.showAction ? 1 : 0
|
||||
Behavior on opacity { SmoothedAnimation { velocity: 8 }}
|
||||
visible: opacity != 0
|
||||
width: root.width - 3 + opacity * 11
|
||||
height: width
|
||||
padding: 0
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue