bluetooth use icon button

This commit is contained in:
Benjamin Palko 2025-08-29 15:27:21 -04:00
parent 4171cc8d56
commit 23fa99ed4c

View file

@ -1,22 +1,12 @@
import qs.config import qs.components
import qs.constants import qs.constants
import qs.widgets
StyledButton { StyledIconButton {
id: root id: root
onClicked: popup.toggle()
content: StyledText {
id: text
font.family: Theme.lucide.font.family
font.pixelSize: Dimensions.bluetooth.fontSize
font.bold: true
text: Icons.bluetooth text: Icons.bluetooth
color: root.containsMouse ? Theme.palette.base300 : Theme.palette.basecontent onClicked: popup.toggle()
}
BluetoothMenu { BluetoothMenu {
id: popup id: popup