status-desktop/ui/app/AppLayouts/Profile/popups/ConfirmAppRestartModal.qml

27 lines
608 B
QML
Raw Normal View History

import QtQuick 2.15
import QtQml.Models 2.15
import StatusQ.Controls 0.1
import StatusQ.Core 0.1
import StatusQ.Popups.Dialog 0.1
StatusDialog {
id: root
2021-09-02 09:57:32 +00:00
title: qsTr("Application Restart")
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
}
footer: StatusDialogFooter {
rightButtons: ObjectModel {
StatusButton {
type: StatusBaseButton.Type.Danger
text: qsTr("Restart")
onClicked: root.accepted()
}
2021-09-02 09:57:32 +00:00
}
}
}