native: add dell grup button
This commit is contained in:
parent
5bc61382c9
commit
184a43c3df
1 changed files with 14 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue