Changeset View
Changeset View
Standalone View
Standalone View
discover/qml/ApplicationPage.qml
Context not available. | |||||
157 | Layout.fillWidth: true | 157 | Layout.fillWidth: true | ||
---|---|---|---|---|---|
158 | wrapMode: Text.WordWrap | 158 | wrapMode: Text.WordWrap | ||
159 | text: appInfo.application.longDescription | 159 | text: appInfo.application.longDescription | ||
160 | onLinkActivated: Qt.openUrlExternally(link); | ||||
161 | // Since Text (and Label) lack cursor-changing abilities of their own, | ||||
162 | // as suggested by QTBUG-30804, use a MouseAra to do our dirty work. | ||||
163 | // See comment https://bugreports.qt.io/browse/QTBUG-30804?#comment-206287 | ||||
164 | MouseArea { | ||||
165 | anchors.fill: parent | ||||
166 | cursorShape: parent.hoveredLink ? Qt.PointingHandCursor : Qt.ArrowCursor | ||||
167 | acceptedButtons: Qt.NoButton // Not actually accepting clicks, just changing the cursor | ||||
168 | } | ||||
160 | } | 169 | } | ||
161 | 170 | | |||
162 | Kirigami.Heading { | 171 | Kirigami.Heading { | ||
Context not available. |