Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-86

reimplementing QGraphicsObject.itemChange causes problems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 1.1.0, 1.1.2, 1.2.2
    • Fix Version/s: 5.9
    • Component/s: PySide
    • Labels:
    • Environment:
      pyside 1.1.0-1 installed from the Ubuntu 12.04 repository
    • Commits:
      67d6c85a9dc17fe68ab399e14da73d10a1f9a351

      Description

      Reimplementing QGraphicsObject.itemChange in pyside seems to cause a few strange issues for me, even if the new method does nothing more than call the original method and return its value. Example script attached; shows that setParentItem() seems to do nothing if called on an object with reimplemented itemChange() method. It works as expected when running with PyQt4.

      I have pyside 1.1.0-1 installed from the Ubuntu 12.04 repository.

        Attachments

        1. pyside-86-test.py
          0.7 kB
        2. test
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            lcampagn Luke
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes