bluetooth use icon button
This commit is contained in:
parent
4171cc8d56
commit
23fa99ed4c
1 changed files with 4 additions and 14 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue