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

QPushButton docs: document missing clicked() signal when menu set

    XMLWordPrintable

Details

    Description

      QPushButton with a menu set (QPushButton::setMenu) won't receive a mouse release event on clicks because it displays the menu on mouse pressed and so the menu receives the release instead. This results in the button clicked signal not being emitted.

      Currently this behavior doesn't seem to be documented.

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes