A method for implementing a custom UI.
-

There is a UI with a list. If you press and hold on to the list item, a check box appears, and you want to delete several items by selecting them. How can I implement this UI? Is there any signal that you can recognize that you are clicking on the list item for a long time?
-

There is a UI with a list. If you press and hold on to the list item, a check box appears, and you want to delete several items by selecting them. How can I implement this UI? Is there any signal that you can recognize that you are clicking on the list item for a long time?
@IknowQT I don't think there's an out of the box QWidget hat handles long pressed stuff. You will have to override mousePress and mouseRelease events to measure the time between those two.
If you're working with QML however, then I think the MouseArea has a tabandhold signal/property that you could listen to.