native: add dell grup button

This commit is contained in:
Schnitzel 2024-07-12 11:15:01 +02:00
parent 5bc61382c9
commit 184a43c3df

View file

@ -72,6 +72,20 @@ Rectangle {
} }
} }
Button {
text: qsTr("Dellete Group")
Layout.alignment: Qt.AlignVCenter
onClicked: {
//
var newWindow = addDellgrup.createObject(null, { authToken: authToken });
if (newWindow !== null) {
newWindow.show();
} else {
console.log("Failed to create new window");
}
}
}
Button { Button {
id: loginB id: loginB
text: qsTr("Logout") text: qsTr("Logout")