KOSMIndoorMap
9import QtQuick.Controls as QQC2
10import org.kde.kirigami as Kirigami
12Kirigami.ScrollablePage {
15 property var publicTransportManager
18 id: attributionDelegate
20 width: ListView.view.width
22 contentItem: ColumnLayout {
24 Layout.fillWidth:
true
25 wrapMode:
Text.WordWrap
26 text:
"<a href=\"" + modelData.url +
"\">" + modelData.name +
"</a>"
27 onLinkActivated:
Qt.openUrlExternally(link)
30 Layout.fillWidth:
true
31 text:
"License: <a href=\"" + modelData.liceseUrl +
"\">" + (modelData.license !=
"" ? modelData.license : modelData.licenseUrl) +
"</a>"
32 onLinkActivated:
Qt.openUrlExternally(
link)
33 visible: modelData.hasLicense
34 wrapMode:
Text.WordWrap
41 model: publicTransportManager.attributions
42 delegate: attributionDelegate
KIOCORE_EXPORT CopyJob * link(const QList< QUrl > &src, const QUrl &destDir, JobFlags flags=DefaultFlags)
@ Text
maximum width before wrapping
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:03 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.