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

Document that QGraphicsRectItem::setRect() doesn't change the position of an item within the scene

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 5.5.0
    • Documentation
    • None

      All this function does is change where the rectangle is rendered, not its position within the scene. This makes for very confusing first experiences for new users of Qt API.

      To change the position of a rect item, setPos() should almost always be used instead.

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

            docteam Qt Documentation Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes