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

@ -7,7 +7,7 @@ import "../component"
FluScrollablePage{
title:"StatusLayout"
title: qsTr("StatusLayout")
FluArea{
id:layout_actions
@ -61,8 +61,12 @@ FluScrollablePage{
FluStatusLayout{
id:status_view
anchors.fill: parent
loadingText: qsTr("Loading...")
emptyText: qsTr("Empty")
errorText: qsTr("The page went wrong...")
errorButtonText: qsTr("Reload")
onErrorClicked:{
showError("点击重新加载")
showError("Click Reload")
}
Rectangle {
anchors.fill: parent