22import QtQuick.Controls
26import org.mauikit.controls as Maui
36 maxHeight: implicitHeight
38 Maui.Theme.inherit: false
39 Maui.Theme.colorSet: Maui.Theme.Complementary
43 imageSource: Maui.App.iconName
45 template.fillMode: Image.PreserveAspectFit
47 template.iconSizeHint: Maui.Style.iconSizes.huge
48 template.imageSizeHint: template.iconSizeHint
49 template.isMask: false
50 template.headerSizeHint: template.iconSizeHint
53 label1.wrapMode: Text.WrapAtWordBoundaryOrAnywhere
54 label1.text: Maui.App.about.displayName
55 label1.font.weight: Font.Black
56 label1.font.pointSize: Maui.Style.fontSizes.enormous
58 label2.text: Maui.App.about.shortDescription
59 label2.font.pointSize: Maui.Style.fontSizes.big
60 label2.elide: Text.ElideRight
61 label2.wrapMode: Text.WrapAtWordBoundaryOrAnywhere
66 Maui.Theme.inherit: true
67 Layout.alignment: horizontalAlignment
69 horizontalAlignment:Qt.AlignLeft
70 text: Maui.App.about.version + " " + Maui.App.about.otherText
71 font.family:
"Monospace"
73 font.pointSize: Maui.Style.fontSizes.tiny
74 padding: Maui.Style.space.small
79 radius: Maui.Style.radiusV
86 cursorShape:
Qt.PointingHandCursor
89 Maui.Handy.copyTextToClipboard(parent.text)
90 root.notify(
"dialog-information",
i18n(
"Version ID copied to clipboard"))
104 spacing: Maui.Style.defaultSpacing
105 Layout.fillWidth:
true
110 text:
i18nd(
"mauikit",
"Reports")
111 onClicked:
Qt.openUrlExternally(Maui.App.about.bugAddress)
117 text:
i18nd(
"mauikit",
"Home Page")
118 onClicked:
Qt.openUrlExternally(Maui.App.about.homepage)
124 Layout.fillWidth:
true
131 label1.text:
i18nd(
"mauikit",
"Authors")
132 visible: Maui.App.about.authors.length > 0
135 template.isMask: true
136 template.iconSizeHint: Maui.
Style.iconSize
140 spacing: Maui.Style.defaultSpacing
141 Layout.fillWidth:
true
146 model: Maui.App.about.authors
148 Maui.ListItemTemplate
154 label1.text: modelData.emailAddress ? formatLink(modelData.name, String(
"mailto:%1").arg(modelData.emailAddress)) : modelData.
name
157 label3.text: modelData.
task
161 target: _credits.label1
162 function onLinkActivated(link)
164 Qt.openUrlExternally(link)
174 label1.text:
i18nd(
"mauikit",
"Translators")
175 visible: Maui.App.about.translators.length > 0
177 template.isMask: true
178 template.iconSizeHint: Maui.
Style.iconSize
183 spacing: Maui.Style.defaultSpacing
184 Layout.fillWidth:
true
189 model: Maui.App.about.translators
191 Maui.ListItemTemplate
197 label1.text: modelData.emailAddress ? formatLink(modelData.name, String(
"mailto:%1").arg(modelData.emailAddress)) : modelData.
name
199 label3.text: modelData.
task
202 target: _tCredits.label1
203 function onLinkActivated(link)
205 Qt.openUrlExternally(link)
215 label1.text:
i18nd(
"mauikit",
"Credits")
216 visible: Maui.App.about.credits.length > 0
218 template.isMask: true
219 template.iconSizeHint: Maui.
Style.iconSize
223 spacing: Maui.Style.defaultSpacing
224 Layout.fillWidth:
true
229 model: Maui.App.about.credits
231 Maui.ListItemTemplate
237 label1.text: modelData.emailAddress ? formatLink(modelData.name, String(
"mailto:%1").arg(modelData.emailAddress)) : modelData.
name
239 label3.text: modelData.
task
242 target: _tCredits.label1
243 function onLinkActivated(link)
245 Qt.openUrlExternally(link)
255 visible: Maui.App.about.licenses.length > 0
258 template.isMask:
true
259 template.iconSizeHint: Maui.Style.iconSize
261 label1.text:
i18nd(
"mauikit",
"Licenses")
265 spacing: Maui.Style.defaultSpacing
266 Layout.fillWidth:
true
271 model: Maui.App.about.licenses
272 Maui.ListItemTemplate
275 label1.text: modelData.name
276 label3.text: modelData.spdx
285 visible: Maui.App.about.components.length > 0
286 template.isMask:
true
287 template.iconSizeHint: Maui.Style.iconSize
289 label1.text:
i18nd(
"mauikit",
"Components")
293 spacing: Maui.Style.defaultSpacing
294 Layout.fillWidth:
true
298 model: Maui.App.about.components
299 Maui.ListItemTemplate
302 label1.textFormat:
Text.RichText
304 label1.text: modelData.webAddress ? formatLink(modelData.name, modelData.webAddress) : modelData.
name
306 label2.text: modelData.description
312 function onLinkActivated(link)
314 Qt.openUrlExternally(link)
324 Layout.fillWidth:
true
325 implicitHeight: Maui.Style.space.big
330 Layout.fillWidth:
true
332 spacing: Maui.Style.space.small
336 visible: Maui.App.about.copyrightStatement.indexOf(
"Maui") > 0
337 Layout.alignment:
Qt.AlignCenter
338 source:
"qrc:/assets/mauikit.svg"
339 color: Maui.Theme.textColor
341 implicitHeight: Maui.Style.iconSizes.big
342 implicitWidth: implicitHeight
345 Maui.ListItemTemplate
347 Layout.fillWidth:
true
350 iconSizeHint: Maui.Style.iconSizes.medium
353 spacing: Maui.Style.defaultSpacing
354 label1.text: Maui.App.about.copyrightStatement
355 label1.horizontalAlignment:
Qt.AlignHCenter
356 label1.font.pointSize: Maui.Style.fontSizes.small
357 label1.font.family:
"Monospace"
363 parent: control.background
370 source:
"qrc:/assets/subtle-dots.png"
377 enabled: !Maui.Handy.isMobile
379 grabPermissions: TapHandler.CanTakeOverFromAnything
380 onActiveChanged:
if (active) { Maui.App.rootComponent.startSystemMove(); }
387 function formatLink(text, url)
389 return String(
"<a href='%1' style=\"text-decoration:none;color:%2\">%3</a>").arg(url).arg(control.Maui.Theme.textColor).arg(text)
The MauiKit Style preferences singleton object.
QString i18nd(const char *domain, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
KCOREADDONS_EXPORT unsigned int version()
QString name(StandardAction id)
QTaskBuilder< Task > task(Task &&task)