wbar: add right click menus

This commit is contained in:
end-4
2025-11-15 17:30:51 +01:00
parent 839718cc2b
commit 6ee7212bdc
11 changed files with 334 additions and 104 deletions
@@ -17,10 +17,6 @@ MouseArea {
previewPopup.show(appEntry, button);
}
function showContextMenu(appEntry, button) {
// TODO
}
// Apps row
RowLayout {
id: row
@@ -40,9 +36,8 @@ MouseArea {
onHoverPreviewRequested: {
root.showPreviewPopup(appEntry, this)
}
altAction: () => {
root.showContextMenu(appEntry, this)
onHoverPreviewDismissed: {
previewPopup.close()
}
}
}
@@ -55,5 +50,4 @@ MouseArea {
anchor.window: root.QsWindow.window
}
}