Warning, /multimedia/kid3/src/qml/app/AboutDialog.qml is written in an unsupported language. File is not indexed.

0001 /**
0002  * \file AboutDialog.qml
0003  * About dialog.
0004  *
0005  * \b Project: Kid3
0006  * \author Urs Fleisch
0007  * \date 7 Nov 2015
0008  *
0009  * Copyright (C) 2015-2018  Urs Fleisch
0010  *
0011  * This program is free software; you can redistribute it and/or modify
0012  * it under the terms of the GNU Lesser General Public License as published by
0013  * the Free Software Foundation; version 3.
0014  *
0015  * This program is distributed in the hope that it will be useful,
0016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0018  * GNU Lesser General Public License for more details.
0019  *
0020  * You should have received a copy of the GNU Lesser General Public License
0021  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
0022  */
0023 
0024 import QtQuick 2.11
0025 import QtQuick.Controls 2.4
0026 
0027 Dialog {
0028   id: page
0029   title: qsTr("About Kid3")
0030   modal: true
0031   x: (parent.width - width) / 2
0032   y: parent.height / 6
0033   width: Math.min(parent.width, constants.gu(40))
0034 
0035   Label {
0036     id: textLabel
0037     wrapMode: Text.WordWrap
0038     text: "<big><b>Kid3 " + script.getKid3Version() +
0039           "</b></big><br/><br/>" + qsTr("Audio Tag Editor") +
0040           "<br/><br/>(c) 2003-" + script.getKid3ReleaseYear() +
0041           " <a href=\"mailto:ufleisch@users.sourceforge.net\">Urs Fleisch</a>" +
0042           "<br/><br/>" +
0043           "<a href=\"https://kid3.kde.org/\">" +
0044           "https://kid3.kde.org</a><br/>" + qsTr("License") +
0045           ": <a href=\"https://www.gnu.org/licenses/licenses.html#GPL\">" +
0046           "GNU General Public License</a><br/><br/>" + qsTr(
0047             "This program uses <a href=\"http://www.qt.io/\">Qt</a> version %1."
0048             ).arg(script.getQtVersion())
0049     onLinkActivated: Qt.openUrlExternally(link)
0050   }
0051   onOpened: {
0052     console.log("Opened")
0053   }
0054 }