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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.1
    • 5.0.0 RC 1
    • Examples and Demos
    • None
    • Qt on XCB, Windows, QNX, Wayland, Cocoa, etc. Any platform with support for more than 3 buttons.
    • 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
        For Gerrit Dashboard: QTBUG-28603
        # Subject Branch Project Status CR V

        Activity

          People

            veshivas Venugopal Shivashankar
            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