Warning, /kdevelop/kdevelop/plugins/welcomepage/qml/GettingStarted.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.0 0008 import QtQuick.Layouts 1.2 0009 import QtQuick.Controls 1.2 0010 import QtWebKit 3.0 0011 0012 StandardPage { 0013 ColumnLayout { 0014 id: options 0015 anchors.top: parent.top 0016 anchors.left: parent.left 0017 anchors.margins: 30 0018 0019 spacing: 10 0020 0021 width: 200 0022 } 0023 0024 Column { 0025 id: info 0026 anchors { 0027 top: parent.top 0028 left: options.right 0029 right: parent.right 0030 margins: 30 0031 } 0032 0033 spacing: 10 0034 0035 WebView { 0036 id: webview 0037 width: parent.width 0038 height: 200 0039 0040 MouseArea { anchors.fill: parent; hoverEnabled: true } 0041 } 0042 0043 Label { 0044 id: description 0045 width: parent.width 0046 } 0047 0048 Button { 0049 text: i18n("Go!") 0050 onClicked: Qt.openUrlExternally(webview.url) 0051 } 0052 state: "kdevelop.org" 0053 states: [ 0054 State { 0055 name: "userbase" 0056 PropertyChanges { target: webview; url: "https://userbase.kde.org/KDevelop" } 0057 PropertyChanges { target: description; text: i18n("Documentation for KDevelop users") } 0058 }, 0059 State { 0060 name: "kdevelop.org" 0061 PropertyChanges { target: webview; url: "https://kdevelop.org" } 0062 PropertyChanges { target: description; text: i18n("Keep up with KDevelop's development") } 0063 }, 0064 State { 0065 name: "techbase" 0066 PropertyChanges { target: webview; url: "https://techbase.kde.org/KDevelop" } 0067 PropertyChanges { target: description; text: i18n("Help us improve KDevelop") } 0068 } 0069 ] 0070 } 0071 }