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

@ -10,7 +10,7 @@ FluScrollablePage{
property string password: ""
property var loginPageRegister: registerForWindowResult("/login")
title:"MultiWindow"
title: qsTr("MultiWindow")
Connections{
target: loginPageRegister
@ -32,10 +32,10 @@ FluScrollablePage{
left: parent.left
}
FluText{
text:"<font color='red'>Standard</font>模式窗口,每次都会创建新窗口"
text: qsTr("<font color='red'>Standard</font> mode windowa new window is created every time")
}
FluButton{
text:"点击创建窗口"
text: qsTr("Create Window")
onClicked: {
FluApp.navigate("/standardWindow")
}
@ -55,11 +55,11 @@ FluScrollablePage{
left: parent.left
}
FluText{
text:"<font color='red'>SingleTask</font>模式窗口,如果窗口存在,这激活该窗口"
text: qsTr("<font color='red'>SingleTask</font> mode windowIf a window exists, this activates the window")
textFormat: Text.RichText
}
FluButton{
text:"点击创建窗口"
text: qsTr("Create Window")
onClicked: {
FluApp.navigate("/singleTaskWindow")
}
@ -79,10 +79,10 @@ FluScrollablePage{
left: parent.left
}
FluText{
text:"<font color='red'>SingleInstance</font>模式窗口,如果窗口存在,则销毁窗口,然后新建窗口"
text: qsTr("<font color='red'>SingleInstance</font> mode windowIf the window exists, destroy the window and create a new window")
}
FluButton{
text:"点击创建窗口"
text: qsTr("Create Window")
onClicked: {
FluApp.navigate("/singleInstanceWindow")
}
@ -113,10 +113,10 @@ FluScrollablePage{
left: parent.left
}
FluText{
text:"页面跳转,不携带任何参数"
text: qsTr("Create the window without carrying any parameters")
}
FluButton{
text:"点击跳转"
text: qsTr("Create Window")
onClicked: {
FluApp.navigate("/about")
}
@ -127,7 +127,7 @@ FluScrollablePage{
Layout.fillWidth: true
Layout.topMargin: -1
code:'FluButton{
text:"点击跳转"
text: qsTr("Create Window")
onClicked: {
FluApp.navigate("/about")
}
@ -148,16 +148,16 @@ FluScrollablePage{
left: parent.left
}
FluText{
text:"页面跳转,并携带参数用户名:zhuzichu"
text: qsTr("Create a window with the parameter username: zhuzichu")
}
FluButton{
text:"点击跳转到登录"
text: qsTr("Create Window")
onClicked: {
loginPageRegister.launch({username:"zhuzichu"})
}
}
FluText{
text:"登录窗口返回过来的密码->"+password
text:qsTr("Login Window Returned Password - >")+password
}
}
}
@ -175,7 +175,7 @@ Connections{
}
FluButton{
text:"点击跳转"
text: qsTr("Create Window")
onClicked: {
loginPageRegister.launch({username:"zhuzichu"})
}