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

reimplementing QGraphicsObject.itemChange causes problems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9
    • 1.1.0, 1.1.2, 1.2.2
    • PySide
    • pyside 1.1.0-1 installed from the Ubuntu 12.04 repository
    • 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. test
          0.6 kB
        2. pyside-86-test.py
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            crmaurei Cristian Maureira-Fredes
            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