This commit is contained in:
朱子楚\zhuzi
2024-03-09 18:26:54 +08:00
parent 7c0c4cc451
commit 97b9a789b0
32 changed files with 470 additions and 97 deletions

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"Bar Chart"
title: qsTr("Bar Chart")
FluArea{
width: 500

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"Bubble Chart"
title: qsTr("Bubble Chart")
function randomScalingFactor() {
return Math.random().toFixed(1);

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"Line Chart"
title: qsTr("Line Chart")
FluArea{
width: 500

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"Doughnut and Pie Chart"
title: qsTr("Pie Chart")
FluArea{
width: 500

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"PolarArea Chart"
title: qsTr("Polar Area Chart")
FluArea{
width: 500

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"Radar Chart"
title: qsTr("Radar Chart")
FluArea{
width: 500

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"Scatter Chart"
title: qsTr("Scatter Chart")
function randomScalingFactor() {
return Math.random().toFixed(1);

View File

@ -14,14 +14,20 @@ FluScrollablePage{
Layout.topMargin: 20
height: 60
paddings: 10
RowLayout{
FluText{
text:"点击选择颜色->"
text: qsTr("Click to Select a Color - >")
Layout.alignment: Qt.AlignVCenter
}
FluColorPicker{
cancelText: qsTr("Cancel")
okText: qsTr("OK")
titleText: qsTr("Color Picker")
editText: qsTr("Edit Color")
redText: qsTr("Red")
greenText: qsTr("Green")
blueText: qsTr("Blue")
opacityText: qsTr("Opacity")
}
}
}
@ -34,4 +40,3 @@ FluScrollablePage{
}
}

View File

@ -9,7 +9,7 @@ import "../component"
FluContentPage{
id:root
title:"Network"
title: qsTr("Network")
FluNetworkCallable{
id:callable

View File

@ -16,6 +16,11 @@ FluScrollablePage{
paddings: 10
FluShortcutPicker{
anchors.verticalCenter: parent.verticalCenter
title: qsTr("Activate the Shortcut")
message: qsTr("Press the key combination to change the shortcut")
positiveText: qsTr("Save")
neutralText: qsTr("Cancel")
negativeText: qsTr("Reset")
}
}
CodeExpander{
@ -28,3 +33,4 @@ FluScrollablePage{
}

View File

@ -416,7 +416,7 @@ FluContentPage{
}
FluButton{
text:"Delete Selection"
text: qsTr("Delete Selection")
onClicked: {
var data = []
var rows = []
@ -440,7 +440,7 @@ FluContentPage{
}
FluButton{
text:"Add a row of Data"
text: qsTr("Add a row of Data")
onClicked: {
table_view.appendRow(genTestObject())
}

View File

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"Tour"
title: qsTr("Tour")
FluTour{
id:tour