// A row whose trailing control is a button rather than a setting. // // ActionRow { // label: "Keyboard" // detail: "Use Fedora's hardware-backed input panels" // action: "Open keyboard" // onTriggered: SystemSettings.openGnomePanel("keyboard") // } // // Not schema-bound: these hand off to GNOME, launch an application, or run a // one-shot like restoring defaults. There is no key to name. import QtQuick import qs.config SettingRow { id: root property string action: "" property bool enabled: true signal triggered controlWidth: Math.max(110, button.implicitWidth + 8) SettingsButton { id: button anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter text: root.action enabled: root.enabled onClicked: root.triggered() } }