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

'qtbase/examples/widgets/widgets/mousebuttons' should show Qt::MouseButtons

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.0.0 RC 1
    • Fix Version/s: 5.0.1
    • Component/s: Examples and Demos
    • Labels:
      None
    • Environment:
      Qt on XCB, Windows, QNX, Wayland, Cocoa, etc. Any platform with support for more than 3 buttons.
    • Commits:
      4d6bf271c799e0d31b674c76fda54c493ce641a8

      Description

      The current version of the example shows only Qt::MouseButton values (the specific button pressed, released, or double-clicked).

      It should be enhanced to also indicate all bits set within Qt::MouseButtons, as being tracked by the plugins.

      This can serve as a manual test for errors in tracking the button state mask (QTBUG-28567 and its various clones)

        Attachments

        1. buttontester.cpp
          10 kB
        2. buttontester.h
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              veshivas Venugopal Shivashankar
              Reporter:
              rickst29 Richard Stockton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes