This commit is contained in:
朱子楚\zhuzi 2023-08-07 22:11:08 +08:00
parent f8340bdf59
commit b7acae1470
3 changed files with 22 additions and 1 deletions

View File

@ -132,7 +132,8 @@ FluExpander{
"FluImage", "FluImage",
"FluSpinBox", "FluSpinBox",
"FluHttp", "FluHttp",
"FluWatermark" "FluWatermark",
"FluTour"
]; ];
code = code.replace(/\n/g, "<br>"); code = code.replace(/\n/g, "<br>");
code = code.replace(/ /g, "&nbsp;"); code = code.replace(/ /g, "&nbsp;");

View File

@ -64,5 +64,17 @@ FluScrollablePage{
} }
} }
} }
CodeExpander{
Layout.fillWidth: true
Layout.topMargin: -1
code:'FluTour{
id:tour
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}
]
}'
}
} }

View File

@ -261,6 +261,14 @@ CustomWindow {
} }
} }
Shortcut {
sequence: "F6"
context: Qt.WindowShortcut
onActivated: {
tour.open()
}
}
FluTour{ FluTour{
id:tour id:tour
steps:[ steps:[