First upload, 18 controller version

This commit is contained in:
2026-04-14 15:23:56 +02:00
commit 8c55001a1c
3810 changed files with 764061 additions and 0 deletions

View File

@@ -0,0 +1,142 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import HelperWidgets 2.0
import QtQuick.Layouts 1.0
Column {
anchors.left: parent.left
anchors.right: parent.right
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Title")
SectionLayout {
rows: 1
Label {
text: qsTr("title")
}
SecondColumnLayout {
LineEdit {
backendValue: backendValues.title
Layout.fillWidth: true
}
ExpandingSpacer {
}
}
}
}
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Title Color")
ColorEditor {
caption: qsTr("titleColor")
backendValue: backendValues.titleColor
supportGradient: false
}
}
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Background Color")
ColorEditor {
caption: qsTr("backgroundColor")
backendValue: backendValues.backgroundColor
supportGradient: false
}
}
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Background")
SectionLayout {
rows: 2
Label {
text: qsTr("backgroundRoundness")
tooltip: qsTr("Diameter of the rounding circle at the corners")
Layout.fillWidth: true
}
SecondColumnLayout {
SpinBox {
backendValue: backendValues.backgroundRoundness
minimumValue: 0.1
maximumValue: 100.0
stepSize: 0.1
decimals: 1
Layout.fillWidth: true
}
}
Label {
text: qsTr("dropShadowEnabled")
tooltip: qsTr("Enable border drop shadow")
Layout.fillWidth: true
}
SecondColumnLayout {
CheckBox {
backendValue: backendValues.dropShadowEnabled
Layout.fillWidth: true
}
}
}
}
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Fill Color")
ColorEditor {
caption: qsTr("fillColor")
backendValue: backendValues.fillColor
supportGradient: false
}
}
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Plot Area Color")
ColorEditor {
caption: qsTr("plotAreaColor")
backendValue: backendValues.plotAreaColor
supportGradient: false
}
}
Section {
anchors.left: parent.left
anchors.right: parent.right
caption: qsTr("Localization")
SectionLayout {
rows: 1
Label {
text: qsTr("localizeNumbers")
tooltip: qsTr("Localize numbers")
Layout.fillWidth: true
}
SecondColumnLayout {
CheckBox {
backendValue: backendValues.localizeNumbers
Layout.fillWidth: true
}
}
}
}
}

View File

@@ -0,0 +1,20 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
AreaSeries {
name: "AreaSeries"
upperSeries: LineSeries {
XYPoint { x: 0; y: 1.5 }
XYPoint { x: 1; y: 3 }
XYPoint { x: 3; y: 4.3 }
XYPoint { x: 6; y: 1.1 }
}
}
}

View File

@@ -0,0 +1,18 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
BarSeries {
name: "BarSeries"
BarSet { label: "Set1"; values: [2, 2, 3] }
BarSet { label: "Set2"; values: [5, 1, 2] }
BarSet { label: "Set3"; values: [3, 5, 8] }
}
}

View File

@@ -0,0 +1,17 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
BoxPlotSeries {
name: "BoxPlotSeries"
BoxSet { label: "Set1"; values: [3, 4, 5.1, 6.2, 8.5] }
BoxSet { label: "Set2"; values: [5, 6, 7.5, 8.6, 11.8] }
BoxSet { label: "Set3"; values: [3.2, 5, 5.7, 8, 9.2] }
}
}

View File

@@ -0,0 +1,18 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
HorizontalBarSeries {
name: "HorizontalBarSeries"
BarSet { label: "Set1"; values: [2, 2, 3] }
BarSet { label: "Set2"; values: [5, 1, 2] }
BarSet { label: "Set3"; values: [3, 5, 8] }
}
}

View File

@@ -0,0 +1,18 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
HorizontalPercentBarSeries {
name: "HorizontalPercentBarSeries"
BarSet { label: "Set1"; values: [2, 2, 3] }
BarSet { label: "Set2"; values: [5, 1, 2] }
BarSet { label: "Set3"; values: [3, 5, 8] }
}
}

View File

@@ -0,0 +1,18 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
HorizontalStackedBarSeries {
name: "HorizontalStackedBarSeries"
BarSet { label: "Set1"; values: [2, 2, 3] }
BarSet { label: "Set2"; values: [5, 1, 2] }
BarSet { label: "Set3"; values: [3, 5, 8] }
}
}

View File

@@ -0,0 +1,19 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
LineSeries {
name: "LineSeries"
XYPoint { x: 0; y: 2 }
XYPoint { x: 1; y: 1.2 }
XYPoint { x: 2; y: 3.3 }
XYPoint { x: 5; y: 2.1 }
}
}

View File

@@ -0,0 +1,18 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
PercentBarSeries {
name: "PercentBarSeries"
BarSet { label: "Set1"; values: [2, 2, 3] }
BarSet { label: "Set2"; values: [5, 1, 2] }
BarSet { label: "Set3"; values: [3, 5, 8] }
}
}

View File

@@ -0,0 +1,17 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
PieSeries {
name: "PieSeries"
PieSlice { label: "Slice1"; value: 13.5 }
PieSlice { label: "Slice2"; value: 10.9 }
PieSlice { label: "Slice3"; value: 8.6 }
}
}

View File

@@ -0,0 +1,49 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
PolarChartView {
width: 300
height: 300
legend.visible: false
ValueAxis {
id: axis1
tickCount: 9
}
ValueAxis {
id: axis2
}
LineSeries {
id: lowerLine
axisAngular: axis1
axisRadial: axis2
XYPoint { x: 1; y: 5 }
XYPoint { x: 2; y: 10 }
XYPoint { x: 3; y: 12 }
XYPoint { x: 4; y: 17 }
XYPoint { x: 5; y: 20 }
}
LineSeries {
id: upperLine
axisAngular: axis1
axisRadial: axis2
XYPoint { x: 1; y: 5 }
XYPoint { x: 2; y: 14 }
XYPoint { x: 3; y: 20 }
XYPoint { x: 4; y: 32 }
XYPoint { x: 5; y: 35 }
}
AreaSeries {
name: "AreaSeries"
axisAngular: axis1
axisRadial: axis2
lowerSeries: lowerLine
upperSeries: upperLine
}
}

View File

@@ -0,0 +1,28 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
PolarChartView {
width: 300
height: 300
LineSeries {
name: "LineSeries"
axisRadial: CategoryAxis {
min: 0
max: 20
}
axisAngular: ValueAxis {
tickCount: 9
}
XYPoint { x: 0; y: 4.3 }
XYPoint { x: 2; y: 4.7 }
XYPoint { x: 4; y: 5.2 }
XYPoint { x: 6; y: 6.1 }
XYPoint { x: 8; y: 12.9 }
XYPoint { x: 9; y: 19.2 }
}
}

View File

@@ -0,0 +1,26 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
PolarChartView {
width: 300
height: 300
ScatterSeries {
name: "ScatterSeries"
axisRadial: CategoryAxis {
min: 0
max: 20
}
axisAngular: ValueAxis {
tickCount: 9
}
XYPoint { x: 0; y: 4.3 }
XYPoint { x: 2; y: 4.7 }
XYPoint { x: 4; y: 5.2 }
XYPoint { x: 8; y: 12.9 }
XYPoint { x: 9; y: 19.2 }
}
}

View File

@@ -0,0 +1,28 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
PolarChartView {
width: 300
height: 300
SplineSeries {
name: "SplineSeries"
axisRadial: CategoryAxis {
min: 0
max: 20
}
axisAngular: ValueAxis {
tickCount: 9
}
XYPoint { x: 0; y: 4.3 }
XYPoint { x: 2; y: 4.7 }
XYPoint { x: 4; y: 5.2 }
XYPoint { x: 6; y: 6.1 }
XYPoint { x: 8; y: 12.9 }
XYPoint { x: 9; y: 19.2 }
}
}

View File

@@ -0,0 +1,18 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
ScatterSeries {
name: "ScatterSeries"
XYPoint { x: 1; y: 1 }
XYPoint { x: 2; y: 4 }
XYPoint { x: 4; y: 2 }
XYPoint { x: 5; y: 5 }
}
}

View File

@@ -0,0 +1,18 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
SplineSeries {
name: "SplineSeries"
XYPoint { x: 0; y: 1 }
XYPoint { x: 3; y: 4.3 }
XYPoint { x: 5; y: 3.1 }
XYPoint { x: 8; y: 5.8 }
}
}

View File

@@ -0,0 +1,18 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.0
import QtCharts 2.0
ChartView {
width: 300
height: 300
StackedBarSeries {
name: "StackedBarSeries"
BarSet { label: "Set1"; values: [2, 2, 3] }
BarSet { label: "Set2"; values: [5, 1, 2] }
BarSet { label: "Set3"; values: [3, 5, 8] }
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1,227 @@
MetaInfo {
Type {
name: "QtCharts.ChartView"
icon: "images/areaseries-chart-icon16.png"
ItemLibraryEntry {
name: "Area"
category: "Qt Charts - ChartView"
libraryIcon: "images/areaseries-chart-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/AreaSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/barseries-icon16.png"
ItemLibraryEntry {
name: "Bar"
category: "Qt Charts - ChartView"
libraryIcon: "images/barseries-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/BarSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/boxplotseries-chart-icon16.png"
ItemLibraryEntry {
name: "BoxPlot"
category: "Qt Charts - ChartView"
libraryIcon: "images/boxplotseries-chart-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/BoxPlotSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/horizontalbarseries-icon16.png"
ItemLibraryEntry {
name: "H.Bar"
category: "Qt Charts - ChartView"
libraryIcon: "images/horizontalbarseries-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/HorizontalBarSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/horizontalpercentbarseries-icon16.png"
ItemLibraryEntry {
name: "H.PercentBar"
category: "Qt Charts - ChartView"
libraryIcon: "images/horizontalpercentbarseries-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/HorizontalPercentBarSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/horizontalstackedbarseries-icon16.png"
ItemLibraryEntry {
name: "H.StackedBar"
category: "Qt Charts - ChartView"
libraryIcon: "images/horizontalstackedbarseries-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/HorizontalStackedBarSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/lineseries-chart-icon16.png"
ItemLibraryEntry {
name: "Line"
category: "Qt Charts - ChartView"
libraryIcon: "images/lineseries-chart-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/LineSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/percentbarseries-icon16.png"
ItemLibraryEntry {
name: "Percent"
category: "Qt Charts - ChartView"
libraryIcon: "images/percentbarseries-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/PercentBarSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/pieseries-chart-icon16.png"
ItemLibraryEntry {
name: "Pie"
category: "Qt Charts - ChartView"
libraryIcon: "images/pieseries-chart-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/PieSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/scatterseries-chart-icon16.png"
ItemLibraryEntry {
name: "Scatter"
category: "Qt Charts - ChartView"
libraryIcon: "images/scatterseries-chart-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/ScatterSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/splineseries-chart-icon16.png"
ItemLibraryEntry {
name: "Spline"
category: "Qt Charts - ChartView"
libraryIcon: "images/splineseries-chart-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/SplineSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/stackedbarseries-icon16.png"
ItemLibraryEntry {
name: "StackedBar"
category: "Qt Charts - ChartView"
libraryIcon: "images/stackedbarseries-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/StackedBarSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/areaseries-polar-icon16.png"
ItemLibraryEntry {
name: "Area"
category: "Qt Charts - PolarChartView"
libraryIcon: "images/areaseries-polar-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/PolarAreaSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/lineseries-polar-icon16.png"
ItemLibraryEntry {
name: "Line"
category: "Qt Charts - PolarChartView"
libraryIcon: "images/lineseries-polar-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/PolarLineSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/scatterseries-polar-icon16.png"
ItemLibraryEntry {
name: "Scatter"
category: "Qt Charts - PolarChartView"
libraryIcon: "images/scatterseries-polar-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/PolarScatterSeries.qml" }
}
}
Type {
name: "QtCharts.ChartView"
icon: "images/splineseries-polar-icon16.png"
ItemLibraryEntry {
name: "Spline"
category: "Qt Charts - PolarChartView"
libraryIcon: "images/splineseries-polar-icon.png"
version: "2.0"
requiredImport: "QtCharts"
QmlSource { source: "default/PolarSplineSeries.qml" }
}
}
}