mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-01 23:51:48 +08:00
update
This commit is contained in:
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"Bar Chart"
|
||||
title: qsTr("Bar Chart")
|
||||
|
||||
FluArea{
|
||||
width: 500
|
||||
|
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"Bubble Chart"
|
||||
title: qsTr("Bubble Chart")
|
||||
|
||||
function randomScalingFactor() {
|
||||
return Math.random().toFixed(1);
|
||||
|
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"Line Chart"
|
||||
title: qsTr("Line Chart")
|
||||
|
||||
FluArea{
|
||||
width: 500
|
||||
|
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"Doughnut and Pie Chart"
|
||||
title: qsTr("Pie Chart")
|
||||
|
||||
FluArea{
|
||||
width: 500
|
||||
|
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"PolarArea Chart"
|
||||
title: qsTr("Polar Area Chart")
|
||||
|
||||
FluArea{
|
||||
width: 500
|
||||
|
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"Radar Chart"
|
||||
title: qsTr("Radar Chart")
|
||||
|
||||
FluArea{
|
||||
width: 500
|
||||
|
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"Scatter Chart"
|
||||
title: qsTr("Scatter Chart")
|
||||
|
||||
function randomScalingFactor() {
|
||||
return Math.random().toFixed(1);
|
||||
|
@ -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{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@ import "../component"
|
||||
FluContentPage{
|
||||
|
||||
id:root
|
||||
title:"Network"
|
||||
title: qsTr("Network")
|
||||
|
||||
FluNetworkCallable{
|
||||
id:callable
|
||||
|
@ -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{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -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())
|
||||
}
|
||||
|
@ -7,7 +7,7 @@ import "../component"
|
||||
|
||||
FluScrollablePage{
|
||||
|
||||
title:"Tour"
|
||||
title: qsTr("Tour")
|
||||
|
||||
FluTour{
|
||||
id:tour
|
||||
|
Reference in New Issue
Block a user