getting a bit more organized and adding some ui tweaks
This commit is contained in:
parent
9b6949090e
commit
7545f05724
5 changed files with 52 additions and 5 deletions
|
@ -113,6 +113,17 @@ ColumnLayout {
|
|||
serviceItemList.currentIndex = index;
|
||||
changeServiceItem(index);
|
||||
}
|
||||
onRightClicked: rightClickMenu.popup()
|
||||
}
|
||||
|
||||
Controls.Menu {
|
||||
id: rightClickMenu
|
||||
x: mouseHandler.mouseX
|
||||
y: mouseHandler.mouseY + 10
|
||||
Kirigami.Action {
|
||||
text: "delete"
|
||||
onTriggered: serviceItemModel.removeItem(index)
|
||||
}
|
||||
}
|
||||
|
||||
DropArea {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue