How to prevent qlistview run double click event is triggered before the event
newsyounghust last edited by
when i double click qlistview index ,i found that qlistview responded to click events and double click event,now i hope only respond to double click
use an event filter on the list view's viewport and return true if an click event comes in.
But note that it will break selection by mouse then.