2024-02-22 15:16:47 +00:00
|
|
|
import QtQuick 2.15
|
|
|
|
import QtQml.Models 2.15
|
2021-10-20 10:03:09 +00:00
|
|
|
|
|
|
|
import StatusQ.Controls 0.1
|
2024-02-22 15:16:47 +00:00
|
|
|
import StatusQ.Core 0.1
|
|
|
|
import StatusQ.Popups.Dialog 0.1
|
2021-10-20 10:03:09 +00:00
|
|
|
|
2024-02-22 15:16:47 +00:00
|
|
|
StatusDialog {
|
|
|
|
id: root
|
2021-09-02 09:57:32 +00:00
|
|
|
title: qsTr("Application Restart")
|
|
|
|
|
2024-02-22 15:16:47 +00:00
|
|
|
contentItem: StatusBaseText {
|
2021-09-02 12:39:50 +00:00
|
|
|
text: qsTr("Please restart the application to apply the changes.")
|
2021-09-02 09:57:32 +00:00
|
|
|
wrapMode: Text.WordWrap
|
|
|
|
}
|
|
|
|
|
2024-02-22 15:16:47 +00:00
|
|
|
footer: StatusDialogFooter {
|
|
|
|
rightButtons: ObjectModel {
|
|
|
|
StatusButton {
|
|
|
|
type: StatusBaseButton.Type.Danger
|
|
|
|
text: qsTr("Restart")
|
|
|
|
onClicked: root.accepted()
|
|
|
|
}
|
2021-09-02 09:57:32 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|