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

QMouseEvent source() vs pointingDevice() unclear in documentation

    XMLWordPrintable

Details

    • All
    • af987c1bde311268cbf7094e3dfefa27ad39e1f9 (qt/qtbase/dev) 1137467e8fa03a46de0def53902eed92102df4bc (qt/qtbase/6.2)

    Description

      'source()' has been deprecated. It could return: 

      • Qt::MouseEventNotSynthesized
      • Qt::MouseEventSynthesizedBySystem
      • Qt::MouseEventSynthesizedByQt
      • Qt::MouseEventSynthesizedByApplication

      Now I must use 'pointingDevice()'.

      I don't see however how the information provided by the QPointingDevice can be interpreted for the above functionality. The documentation also gives not enough information about it. 

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            hansdijkema Hans Dijkema
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes