6 signal selected(variant item)
7 signal contextMenu(variant item)
9 height: config.font_size * 5
14 opacity: mouseArea.pressed?.5:0
15 color: "#" + config.progress_color
18 Behavior on opacity { NumberAnimation { duration: 150 } }
23 acceptedButtons: Qt.LeftButton | Qt.RightButton
26 if (mouse.button == Qt.LeftButton) {
27 selectableItem.selected(modelData)
28 } else if (mouse.button == Qt.RightButton) {
29 selectableItem.contextMenu(modelData)
32 onPressAndHold: selectableItem.contextMenu(modelData)