import QtQuick import qs.config import qs.components import qs.services // Right section: the on-screen keyboard button. No menu behind it — a click // shows squeekboard, another hides it. Item { id: root // Machines with no squeekboard unit get no button at all. visible: Osk.available implicitWidth: button.implicitWidth PanelButton { id: button anchors.verticalCenter: parent.verticalCenter height: root.height - Theme.spacing minContentWidth: Theme.iconSize active: Osk.shown activeColor: Theme.accent onClicked: Osk.toggle() KeyboardGlyph { size: Theme.iconSize color: button.active ? Theme.background : Theme.text } } }