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

39 lines
905 B
QML
Raw Normal View History

2021-09-02 09:57:32 +00:00
import QtQuick 2.13
import QtQuick.Controls 2.13
import QtQuick.Layouts 1.13
import "../../../../imports"
import "../../../../shared"
import "../../../../shared/status"
ModalPopup {
height: 237
width: 400
property Popup parentPopup
title: qsTr("Application Restart")
StyledText {
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
font.pixelSize: 15
anchors.left: parent.left
anchors.right: parent.right
wrapMode: Text.WordWrap
}
footer: Item {
id: footerContainer
width: parent.width
height: children[0].height
StatusButton {
anchors.right: parent.right
anchors.rightMargin: Style.current.smallPadding
type: "warn"
2021-09-02 12:39:50 +00:00
text: qsTr("Restart")
2021-09-02 09:57:32 +00:00
anchors.bottom: parent.bottom
onClicked: Qt.quit()
}
}
}