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

QGraphicsItem::setFlag(ItemIsSelectable, false) is ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.3.0
    • Widgets: GraphicsView
    • None
    • Windows x64. Visual Studion 2022
    • Windows

    Description

      Adding a QGraphicsItem into a QGraphicsScene and the ItemIsSelectable flag is false, item is still selectable

      Int the diagramscene, diagramitem.cpp, line 94 (or so)

       

      	setFlag(QGraphicsItem::ItemIsSelectable, true);
      

      to

      	setFlag(QGraphicsItem::ItemIsSelectable, false);
      

       

      C:\Qt\Examples\Qt-6.3.0\widgets\graphicsview\diagramscene

      Note that a Process item can be added, selected, and moved.

       

       

      Attachments

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

        Activity

          People

            bibr Andreas Aardal Hanssen
            doug_rogers Doug Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes