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

Embedded widget in QGraphicsView related Right Mouse Button Click Issue

    XMLWordPrintable

Details

    Description

      I am embedding a list widget into a QGraphicsView (at some level). I
      noticed that the mouse right click button event does not behave the same way
      as it would if it were on a regular form.

      Attached is a small sample that should demonstrate the issue.

      Here is the testing procedure in general (observe the output to the
      console):

      1. When you run the sample, you will see a window with 3 items inside it
      (one window will be embedded inside of a QGraphicsView and the other will be
      a stand alone form for comparison).
      2. Try left clicking on an item.
      3. Try left clicking on another item.
      4. Try right clicking on another item.
      5. Try double right clicking on another item.
      6. Try left clicking on an item then double right clicking on the same
      item.
      7. Try left clicking on an item then double right clicking on a different
      item.

      Attachments

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

        Activity

          People

            bjnilsen Bjørn Erik Nilsen
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes