10 import QtQuick.Controls 2.4 as QQC2
11 import QtQuick.Layouts 1.3
27 Layout.fillWidth:
true
33 source: root.metaData.iconName
34 fallback:
"application-x-plasma"
38 Layout.fillWidth:
true
41 Layout.fillWidth:
true
42 text: root.metaData.version ?
i18nc(
"Plugin name and plugin version",
"%1 %2", root.metaData.name, root.metaData.version) : root.metaData.name
43 wrapMode: Text.WordWrap
46 Layout.fillWidth:
true
48 text: root.metaData.description
49 wrapMode: Text.WordWrap
56 Layout.fillWidth:
true
64 text:
i18nd(
"org.kde.kcmutils",
"Copyright")
68 text: root.metaData.copyrightText
69 visible: text.length > 0
73 url: root.metaData.website ? root.metaData.website :
""
74 visible: url.length > 0
81 text:
i18nd(
"org.kde.kcmutils",
"License:")
84 text: root.metaData.license
86 licenseSheet.text = root.metaData.licenseText
87 licenseSheet.title = root.metaData.license
97 visible: repAuthors.visible
100 text:
i18nd(
"org.kde.kcmutils",
"Authors")
101 visible: repAuthors.visible
106 model: root.metaData.authors
107 delegate: personDelegate
114 visible: repCredits.visible
117 text:
i18nd(
"org.kde.kcmutils",
"Credits")
118 visible: repCredits.visible
123 model: root.metaData.otherContributors
124 delegate: personDelegate
131 visible: repTranslators.visible
134 text:
i18nd(
"org.kde.kcmutils",
"Translators")
135 visible: repTranslators.visible
140 model: root.metaData.translators
141 delegate: personDelegate
157 visible: modelData.emailAddress
158 icon.name:
"mail-sent"
160 QQC2.ToolTip.visible: hovered
161 QQC2.ToolTip.text:
i18nd(
"org.kde.kcmutils",
"Send an email to %1", modelData.emailAddress)
162 onClicked:
Qt.openUrlExternally(
"mailto:%1".arg(modelData.emailAddress))
165 visible: modelData.webAddress
168 QQC2.ToolTip.visible: hovered
169 QQC2.ToolTip.text: modelData.webAddress
170 onClicked:
Qt.openUrlExternally(modelData.webAddress)
177 property alias text: licenseLabel.text
180 height: parent.height
181 anchors.centerIn: parent
188 contentItem: QQC2.ScrollView {
190 Component.onCompleted: background.visible =
true
194 contentHeight: licenseLabel.contentHeight
199 wrapMode: Text.WordWrap