camper/src/ReservationsPage.qml

24 lines
378 B
QML

pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Controls
Page {
title: qsTr("Reservations")
Button {
action: logoutAction
}
Action {
id: logoutAction
icon.name: "system-log-out"
shortcut: "Ctrl+L"
text: qsTr("&Log out")
onTriggered: function () {
Database.close();
}
}
}