mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-06 18:55:58 +08:00
update
This commit is contained in:
@ -8,7 +8,7 @@ import "../component"
|
||||
FluWindow {
|
||||
|
||||
id:window
|
||||
title:"友情提示"
|
||||
title: qsTr("Friendly Reminder")
|
||||
width: 300
|
||||
height: 400
|
||||
fixSize: true
|
||||
@ -37,11 +37,15 @@ FluWindow {
|
||||
FluText{
|
||||
id:text_info
|
||||
anchors{
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
top: parent.top
|
||||
topMargin: 240
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
leftMargin: 10
|
||||
rightMargin: 10
|
||||
}
|
||||
text:"发生意外错误\n给您带来的不便,我们深表歉意"
|
||||
wrapMode: Text.WordWrap
|
||||
text: qsTr("We apologize for the inconvenience caused by an unexpected error")
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
@ -53,7 +57,7 @@ FluWindow {
|
||||
bottomMargin: 20
|
||||
}
|
||||
FluButton{
|
||||
text:"日志上报"
|
||||
text: qsTr("Report Logs")
|
||||
onClicked: {
|
||||
FluTools.showFileInFolder(crashFilePath)
|
||||
}
|
||||
@ -63,7 +67,7 @@ FluWindow {
|
||||
height: 1
|
||||
}
|
||||
FluFilledButton{
|
||||
text:"重启程序"
|
||||
text: qsTr("Restart Program")
|
||||
onClicked: {
|
||||
FluApp.exit(931)
|
||||
}
|
||||
|
Reference in New Issue
Block a user