44 lines · 820 B · Text
RawDownload
import QtQuick 2.12import QtQuick.Window 2.12import QtQuick.Controls 1.6import QtQuick.Layouts 1.3import QtQuick.Dialogs 1.0  Row {    id: row    height: 20    width: 300    anchors.left: parent.left    anchors.leftMargin: 0    anchors.right: parent.right    anchors.rightMargin: 0     property string key    property string value    property bool optional     function setValue(newValue) {        parent.fieldChanged(key, newValue);    }     Text {        id: keyText        y: 5        width: 100        text: key + ":"        font.pixelSize: 12        color: optional ? "blue" : "black"    }     TextField {        id: valueTextField        x: 100        width: 200        text: value        onEditingFinished: {            value = text;            setValue(text);        }    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t