Warning, /office/kbibtex/mobile/sailfishos/qml/pages/AboutPage.qml is written in an unsupported language. File is not indexed.
0001 /*************************************************************************** 0002 * SPDX-License-Identifier: GPL-2.0-or-later 0003 * * 0004 * SPDX-FileCopyrightText: 2016-2019 Thomas Fischer <fischer@unix-ag.uni-kl.de> 0005 * * 0006 * This program is free software; you can redistribute it and/or modify * 0007 * it under the terms of the GNU General Public License as published by * 0008 * the Free Software Foundation; either version 2 of the License, or * 0009 * (at your option) any later version. * 0010 * * 0011 * This program is distributed in the hope that it will be useful, * 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 0014 * GNU General Public License for more details. * 0015 * * 0016 * You should have received a copy of the GNU General Public License * 0017 * along with this program; if not, see <https://www.gnu.org/licenses/>. * 0018 ***************************************************************************/ 0019 0020 import QtQuick 2.0 0021 import Sailfish.Silica 1.0 0022 0023 Page { 0024 id: aboutPage 0025 allowedOrientations: Orientation.All 0026 0027 SilicaFlickable { 0028 anchors.fill: parent 0029 contentHeight: column.height 0030 contentWidth: parent.width 0031 0032 VerticalScrollDecorator { 0033 } 0034 0035 Item { 0036 id: column 0037 width: parent.width 0038 height: childrenRect.height 0039 0040 Column { 0041 width: parent.width 0042 spacing: Theme.horizontalPageMargin 0043 0044 PageHeader { 0045 id: header 0046 title: qsTr("About BibSearch") 0047 } 0048 0049 Image { 0050 source: "qrc:/icons/172/harbour-bibsearch.png" 0051 anchors { 0052 horizontalCenter: parent.horizontalCenter 0053 } 0054 } 0055 0056 Label { 0057 text: qsTr("Version %1").arg("0.6") 0058 anchors { 0059 horizontalCenter: parent.horizontalCenter 0060 } 0061 } 0062 0063 Label { 0064 text: qsTr("(C) 2016--2020 Thomas Fischer") 0065 anchors { 0066 horizontalCenter: parent.horizontalCenter 0067 } 0068 } 0069 0070 Rectangle { 0071 height: Theme.horizontalPageMargin 0072 width: parent.width 0073 opacity: 0.0 0074 } 0075 0076 Label { 0077 text: qsTr("This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.") 0078 width: parent.width - 2 * x 0079 x: Theme.horizontalPageMargin 0080 font.pointSize: Theme.fontSizeTiny 0081 wrapMode: Text.WordWrap 0082 } 0083 0084 Button { 0085 anchors.horizontalCenter: parent.horizontalCenter 0086 text: qsTr("Project Homepage") 0087 onClicked: { 0088 Qt.openUrlExternally("https://gitlab.com/tfischer/BibSearch") 0089 } 0090 } 0091 0092 Label { 0093 text: qsTr("This program is sharing its code base with KBibTeX, the bibliography editor using KDE technology.") 0094 width: parent.width - 2 * x 0095 x: Theme.horizontalPageMargin 0096 font.pointSize: Theme.fontSizeTiny 0097 wrapMode: Text.WordWrap 0098 } 0099 0100 Button { 0101 anchors.horizontalCenter: parent.horizontalCenter 0102 text: qsTr("KBibTeX's Homepage") 0103 onClicked: { 0104 Qt.openUrlExternally("https://userbase.kde.org/KBibTeX") 0105 } 0106 } 0107 0108 Button { 0109 anchors.horizontalCenter: parent.horizontalCenter 0110 text: qsTr("Git Repository") 0111 onClicked: { 0112 Qt.openUrlExternally("https://invent.kde.org/office/kbibtex") 0113 } 0114 } 0115 0116 Rectangle { 0117 height: 1 0118 width: parent.width 0119 opacity: 0.0 0120 } 0121 } 0122 } 0123 0124 PullDownMenu { 0125 MenuItem { 0126 id: menuItemIssueTracker 0127 text: qsTr("Report Issue") 0128 onClicked: { 0129 Qt.openUrlExternally("https://gitlab.com/tfischer/BibSearch/issues") 0130 } 0131 } 0132 } 0133 } 0134 }