Files
evcharger-app/qml/InformationsTabPage.qml
T

52 lines
1.1 KiB
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtCharts
import EVChargerApp
ScrollableTabPage {
id: page
function backPressed() {
return false
}
TitleText {
text: qsTr("Informations")
}
Repeater {
model: 5
ChartView {
title: "Line"
Layout.fillWidth: true
Layout.preferredHeight: page.height * 0.75
antialiasing: true
LineSeries {
name: "LineSeries"
XYPoint { x: 0; y: 0 }
XYPoint { x: 1.1; y: 2.1 }
XYPoint { x: 1.9; y: 3.3 }
XYPoint { x: 2.1; y: 2.1 }
XYPoint { x: 2.9; y: 4.9 }
XYPoint { x: 3.4; y: 3.0 }
XYPoint { x: 4.1; y: 3.3 }
}
}
}
OpenLinkButton {
ApiKeyValueHelper {
id: downloadsLink
deviceConnection: theDeviceConnection
apiKey: "dll"
}
visible: downloadsLink.exists
text: qsTr("Download informations")
url: downloadsLink.value
}
}