This commit is contained in:
朱子楚\zhuzi
2024-03-09 15:35:48 +08:00
parent 2a03f24941
commit 7c0c4cc451
167 changed files with 7567 additions and 1816 deletions

View File

@ -11,10 +11,13 @@ FluScrollablePage{
FluTour{
id:tour
finishText: qsTr("Finish")
nextText: qsTr("Next")
previousText: qsTr("Previous")
steps:[
{title:"Upload File",description: "Put your files here.",target:()=>btn_upload},
{title:"Save",description: "Save your changes.",target:()=>btn_save},
{title:"Other Actions",description: "Click to see other actions.",target:()=>btn_more}
{title:qsTr("Upload File"),description: qsTr("Put your files here."),target:()=>btn_upload},
{title:qsTr("Save"),description: qsTr("Save your changes."),target:()=>btn_save},
{title:qsTr("Other Actions"),description: qsTr("Click to see other actions."),target:()=>btn_more}
]
}
@ -29,7 +32,7 @@ FluScrollablePage{
top: parent.top
topMargin: 14
}
text:"Begin Tour"
text: qsTr("Begin Tour")
onClicked: {
tour.open()
}
@ -42,24 +45,24 @@ FluScrollablePage{
topMargin: 60
}
FluButton{
id:btn_upload
text:"Upload"
id: btn_upload
text: qsTr("Upload")
onClicked: {
showInfo("Upload")
showInfo(qsTr("Upload"))
}
}
FluFilledButton{
id:btn_save
text:"Save"
id: btn_save
text: qsTr("Save")
onClicked: {
showInfo("Save")
showInfo(qsTr("Save"))
}
}
FluIconButton{
id:btn_more
id: btn_more
iconSource: FluentIcons.More
onClicked: {
showInfo("More")
showInfo(qsTr("More"))
}
}
}