Warning, /education/labplot/src/kdefrontend/welcomescreen/HelpList.qml is written in an unsupported language. File is not indexed.
0001 import QtQuick 2.6 0002 import QtQuick.XmlListModel 2.0 0003 import QtQuick.Layouts 1.3 0004 import QtQuick.Controls 2.5 0005 0006 ListView { 0007 id: listView2 0008 width: parent.width 0009 Layout.fillHeight: true 0010 Layout.fillWidth: true 0011 clip: true 0012 ScrollBar.vertical: ScrollBar { } 0013 model: ListModel { 0014 ListElement { 0015 name: "Documentation" 0016 link: "https://docs.kde.org/?application=labplot2" 0017 } 0018 0019 ListElement { 0020 name: "FAQ" 0021 link: "https://docs.kde.org/?application=labplot2&branch=trunk5&path=faq.html" 0022 } 0023 0024 ListElement { 0025 name: "Features" 0026 link: "https://labplot.kde.org/features/" 0027 } 0028 0029 ListElement { 0030 name: "Support" 0031 link: "https://labplot.kde.org/support/" 0032 } 0033 } 0034 delegate: Rectangle { 0035 width: parent.width 0036 height: 25 0037 RowLayout { 0038 id: row3 0039 width: parent.width 0040 height: parent.height 0041 spacing: 10 0042 0043 Rectangle { 0044 Layout.alignment: Qt.AlignVCenter 0045 width: 5 0046 height: 5 0047 color: "#7a7d82" 0048 } 0049 0050 Label { 0051 height: parent.height 0052 width: parent.width - 5 - parent.spacing 0053 Layout.minimumWidth: parent.width - 5 - parent.spacing 0054 Layout.preferredWidth: parent.width - 5 - parent.spacing 0055 text: name 0056 font.bold: true 0057 font.pixelSize: 18 0058 minimumPixelSize: 1 0059 fontSizeMode: Text.Fit 0060 0061 verticalAlignment: Text.AlignVCenter 0062 horizontalAlignment: Text.AlignHCenter 0063 //wrapMode: Text.WordWrap 0064 } 0065 } 0066 0067 MouseArea { 0068 anchors.fill: parent 0069 hoverEnabled: true 0070 onEntered: {parent.color = '#fdffbf' } 0071 onExited: {parent.color = '#ffffff'} 0072 onClicked: {Qt.openUrlExternally(link)} 0073 } 0074 } 0075 }