How to prevent qlistview run double click event is triggered before the event



  • 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


  • Moderators

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.