Warning, /kdevelop/kdevelop/plugins/welcomepage/qml/area_code.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2011 Aleix Pol <aleixpol@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 2.7 0008 import QtQuick.Controls 2.0 0009 import QtQuick.Layouts 1.2 0010 0011 StandardBackground { 0012 id: root 0013 0014 state: "develop" 0015 0016 tools: ColumnLayout { 0017 spacing: 10 0018 0019 Row { 0020 Layout.fillWidth: true 0021 spacing: 5 0022 0023 Image { 0024 id: icon 0025 0026 horizontalAlignment: Image.AlignHCenter 0027 verticalAlignment: Image.AlignVCenter 0028 0029 source: "image://icon/kdevelop" 0030 smooth: true 0031 fillMode: Image.PreserveAspectFit 0032 } 0033 Label { 0034 verticalAlignment: Text.AlignVCenter 0035 height: icon.height 0036 text: "KDevelop" 0037 font { 0038 pointSize: 20 0039 weight: Font.ExtraLight 0040 } 0041 } 0042 } 0043 0044 Item { 0045 Layout.fillWidth: true 0046 Layout.fillHeight: true 0047 } 0048 0049 /** FIXME: News section is currently unmaintained, also unconditional ping-back to KDE violating privacy 0050 Heading { 0051 id: newsHeading 0052 0053 Layout.fillWidth: true 0054 text: i18n("News") 0055 } 0056 0057 NewsFeed { 0058 id: newsFeed 0059 0060 readonly property int maxEntries: 3 0061 0062 Layout.fillWidth: true 0063 Layout.minimumHeight: !loading ? (Math.min(count, maxEntries) * 40) : 40 0064 0065 Behavior on Layout.minimumHeight { PropertyAnimation {} } 0066 } 0067 0068 // add some spacing 0069 Item { 0070 Layout.fillWidth: true 0071 height: 10 0072 } 0073 */ 0074 0075 Heading { 0076 text: i18n("Need Help?") 0077 } 0078 0079 Column { 0080 spacing: 10 0081 0082 Link { 0083 x: 10 0084 text: i18n("KDevelop.org") 0085 onClicked: { 0086 Qt.openUrlExternally("https://kdevelop.org") 0087 } 0088 } 0089 Link { 0090 x: 10 0091 text: i18n("Learn about KDevelop") 0092 onClicked: Qt.openUrlExternally("https://userbase.kde.org/KDevelop") 0093 } 0094 Link { 0095 x: 10 0096 text: i18n("Join KDevelop's team!") 0097 onClicked: Qt.openUrlExternally("https://kdevelop.org/contribute-kdevelop") 0098 } 0099 Link { 0100 x: 10 0101 text: i18n("Handbook") 0102 onClicked: kdev.retrieveMenuAction("help/help_contents").trigger() 0103 } 0104 } 0105 } 0106 0107 Develop { 0108 anchors { 0109 fill: parent 0110 leftMargin: root.marginLeft+root.margins 0111 } 0112 } 0113 }