Changeset View
Changeset View
Standalone View
Standalone View
applets/quickshare/plasmoid/contents/ui/ShareDialog.qml
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 44 | Purpose.AlternativesView { | |||
---|---|---|---|---|---|
46 | Layout.fillWidth: true | 46 | Layout.fillWidth: true | ||
47 | Layout.fillHeight: true | 47 | Layout.fillHeight: true | ||
48 | inputData: window.inputData | 48 | inputData: window.inputData | ||
49 | pluginType: "Export" | 49 | pluginType: "Export" | ||
50 | delegate: PlasmaComponents.ListItem { | 50 | delegate: PlasmaComponents.ListItem { | ||
51 | enabled: true | 51 | enabled: true | ||
52 | 52 | | |||
53 | onClicked: view.createJob(index) | 53 | onClicked: view.createJob(index) | ||
54 | Keys.onReturnPressed: view.createJob(index) | ||||
broulik: You should also do `Keys.onEnterPressed` (the Enter key on numpad) | |||||
55 | Keys.onEnterPressed: view.createJob(index) | ||||
56 | Keys.onEscapePressed: window.hide() | ||||
54 | 57 | | |||
55 | RowLayout { | 58 | RowLayout { | ||
56 | anchors.left: parent.left | 59 | anchors.left: parent.left | ||
57 | anchors.right: parent.right | 60 | anchors.right: parent.right | ||
58 | PlasmaComponents.Label { | 61 | PlasmaComponents.Label { | ||
59 | Layout.fillWidth: true | 62 | Layout.fillWidth: true | ||
60 | text: display | 63 | text: display | ||
61 | } | 64 | } | ||
Show All 21 Lines |
You should also do Keys.onEnterPressed (the Enter key on numpad)