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 , e55bad3c1 (dev), 7bfbf1e58 (6.9), f81fb9ee8 (dev)

    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. pyside86_5.py
          0.7 kB
        2. pyside86_qt_diag.diff
          1 kB
        3. pyside86.py
          1 kB
        4. pyside-86-test.py
          0.7 kB
        5. test
          0.6 kB

        Issue Links

          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:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: