bluetooth use icon button
This commit is contained in:
parent
4171cc8d56
commit
23fa99ed4c
1 changed files with 4 additions and 14 deletions
|
|
@ -1,23 +1,13 @@
|
|||
import qs.config
|
||||
import qs.components
|
||||
import qs.constants
|
||||
import qs.widgets
|
||||
|
||||
StyledButton {
|
||||
StyledIconButton {
|
||||
id: root
|
||||
|
||||
text: Icons.bluetooth
|
||||
|
||||
onClicked: popup.toggle()
|
||||
|
||||
content: StyledText {
|
||||
id: text
|
||||
|
||||
font.family: Theme.lucide.font.family
|
||||
font.pixelSize: Dimensions.bluetooth.fontSize
|
||||
font.bold: true
|
||||
text: Icons.bluetooth
|
||||
|
||||
color: root.containsMouse ? Theme.palette.base300 : Theme.palette.basecontent
|
||||
}
|
||||
|
||||
BluetoothMenu {
|
||||
id: popup
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue