import QtQuick // Grab bar below the keyboard. Only emits dragStarted(); the parent starts // the window manager's move (works for mouse and touch). Item { id: handle // Set smaller when the bar's buttons take up more width. property real pillWidth: 120 signal dragStarted() implicitHeight: 22 Rectangle { anchors.centerIn: parent width: handle.pillWidth height: 5 radius: height / 2 color: Theme.handle } DragHandler { target: null onActiveChanged: if (active) handle.dragStarted() } }