QPopupEdit double-click editing?

  • QPopupEdit How to realize double-click editing?

  • @xzw168

    maybe you could use the @before-show event in QPopupEdit.

    1. In the event listener of @before-show you can check if the same event already occurred recently( what ever time you think is right for a double click).
    2. if this is false: prevent the event to bubble evt.stopPropagation() and set a state (to remember the click).
    3. if this is true: do nothing and the popup will show.

Log in to reply