From 184a43c3dfb3357e97d61810c0d881d22804505d Mon Sep 17 00:00:00 2001 From: Schnitzel Date: Fri, 12 Jul 2024 11:15:01 +0200 Subject: [PATCH] native: add dell grup button --- native/MainPage.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/native/MainPage.qml b/native/MainPage.qml index 8f2c294..ae10338 100644 --- a/native/MainPage.qml +++ b/native/MainPage.qml @@ -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 { id: loginB text: qsTr("Logout")