diff --git a/src/qml/presenter/LeftDock.qml b/src/qml/presenter/LeftDock.qml index 518e5b6..3092543 100644 --- a/src/qml/presenter/LeftDock.qml +++ b/src/qml/presenter/LeftDock.qml @@ -210,11 +210,18 @@ ColumnLayout { rightClickMenu.popup(); else { serviceItemList.currentIndex = index; - currentServiceItem = index; - changeServiceItem(index); + /* currentServiceItem = index; */ + /* changeItem(index); */ } } + onDoubleClicked: { + showPassiveNotification("Double Clicked") + serviceItemList.currentIndex = index; + currentServiceItem = index; + changeServiceItem(index); + } + onReleased: { print("should drop"); visServiceItem.Drag.drop(); @@ -307,6 +314,29 @@ ColumnLayout { } } + Kirigami.ActionToolBar { + id: serviceToolBar + Layout.fillWidth: true + opacity: 1.0 + actions: [ + Kirigami.Action { + /* text: "Up" */ + icon.name: "arrow-up" + onTriggered: showPassiveNotification("Up") + }, + Kirigami.Action { + /* text: "Down" */ + icon.name: "arrow-down" + onTriggered: showPassiveNotification("down") + }, + Kirigami.Action { + /* text: "Remove" */ + icon.name: "delete" + onTriggered: showPassiveNotification("remove") + } + ] + } + Component.onCompleted: { totalServiceItems = serviceItemList.count; print("THE TOTAL SERVICE ITEMS: " + totalServiceItems);