added close application button in settings page

This commit is contained in:
vladimir.kuznetsov 2023-10-09 19:16:06 +05:00
parent 61396ec82e
commit e01dd2bf57
8 changed files with 205 additions and 116 deletions

View file

@ -107,6 +107,20 @@ PageType {
}
DividerType {}
LabelWithButtonType {
Layout.fillWidth: true
text: qsTr("Close application")
leftImageSource: "qrc:/images/controls/x-circle.svg"
isLeftImageHoverEnabled: false
clickedFunction: function() {
PageController.closeApplication()
}
}
DividerType {}
}
}
}