Changeset View
Changeset View
Standalone View
Standalone View
lib/qml/ResultDelegate.qml
Context not available. | |||||
81 | 81 | | |||
---|---|---|---|---|---|
82 | acceptedButtons: Qt.LeftButton | 82 | acceptedButtons: Qt.LeftButton | ||
83 | hoverEnabled: true | 83 | hoverEnabled: true | ||
84 | onEntered: { | | |||
85 | listView.currentIndex = index | | |||
86 | } | | |||
87 | 84 | | |||
88 | onPressed: { | 85 | onPressed: { | ||
89 | __pressed = true; | 86 | __pressed = true; | ||
Context not available. | |||||
120 | __pressX = -1; | 117 | __pressX = -1; | ||
121 | __pressY = -1; | 118 | __pressY = -1; | ||
122 | } | 119 | } | ||
120 | else if (listView.moved) { | ||||
121 | listView.currentIndex = index | ||||
122 | } | ||||
123 | else listView.moved = true | ||||
123 | } | 124 | } | ||
124 | 125 | | |||
125 | PlasmaComponents.Label { | 126 | PlasmaComponents.Label { | ||
Context not available. |