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

Wrong cursor behavior for QTreeWidget's HeaderView, when QTreeWidget is used in a QGraphicsScene

    XMLWordPrintable

Details

    • Windows

    Description

      It is wrong cursor behavior for HeaderView part of QTreeWidget, when this widget is added to QGraphicsScene. Please take a look at attached image files:

      1) When we want to resize sections of tree's header, it needs several attempts to change cursor shape from ArrowCursor to SplitHCursor (image 01)

      2) When cursor is changed to SplitHCursor, it still has this shape when the cursor inside a header but in the middle of a section (It should be ArrowCursor, not SplitHCursor) (image 02)

       

      Other widgets, like: QTreeView, QTableWidget, QTableView have this behavior as well.

       

      In the attachments you can find a project to demonstrate this.

       

      Attachments

        1. image_01.png
          image_01.png
          3 kB
        2. Image_02.png
          Image_02.png
          2 kB
        3. qtbug_qtreewidget_in_qgraphics.zip
          4 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            bobkovds Bobkov Dmitriy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes