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

Need a widget-based example for Qt's new Qt::MouseButton values.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.0
    • Component/s: Examples and Demos
    • Labels:
      None
    • Environment:
      xlib and xcb have been tested. I don't have a Windows system to play with- but if the underlying plugin works, the program will work properly.
    • Commits:
      4a80a7ced1f643a6794f6550d01c1fe60295a21c

      Description

      This is a draft- we might want the output to appear in the window, rather than QtDebug to a console.

      It provides an "xev"-like functionality, for users to identify their high-numbered mouse buttons.

      (It answers the question, "Which one is BackButton, and which one is ForwardButton?" In doing so, it also demonstrates how to create code blocks which are specific to each button. Simple, short program; it doesn't demonstrate anything else.

        Attachments

        For Gerrit Dashboard: QTBUG-24112
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            docteam Qt Documentation Team
            Reporter:
            rickst29 Richard Stockton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes