Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-56761

QMenu should have a 'canceled' signal

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P5: Not important
    • None
    • 5.7.0
    • None

    Description

      QMenu is currently lacking a canceled (or rejected) signal that is emitted when the menu is closed but no action has been triggered. This happens when the user clicks outside the menu, for example.

      In this case the aboutToHide signal is emitted, but that's not enough, since this signal is emitted also when the user triggers a menu action (so there is no easy way to distinguish the two scenarios: triggered vs canceled).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            elvisangelaccio Elvis Angelaccio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes