PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 712 - QtGui.QFormLayout doesn't have setItem() function
: QtGui.QFormLayout doesn't have setItem() function
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: PC Linux
: P3 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-03-05 01:57 EET by Roland Ferenczy
Modified: 2011-04-01 23:16 EEST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Ferenczy 2011-03-05 01:57:37 EET
I've generated a python file from a Qt Designer UI file with pyside-uic and got
the following error when running with python 2.7: AttributeError:
'PySide.QtGui.QFormLayout' object has no attribute 'setItem'.
The same file is working as expected with PyQt4.
After searching the PySide v1.0.0 documentation it looks like setItem is indeed
missing for some reason as it is not present there either, however, it has a
reference in the detailed descreption of PySide.QtGui.QFormLayout.itemAt().
I'm also sure the file produced by pyside-uic is perfect because when I replace
PySide with PyQt4 at import it works just right.
Comment 1 Matti Airas 2011-03-07 10:36:00 EET
Thanks for the bug report. Checking at the typesystem file, the function has
indeed for some reason been skipped. I'm prioritizing this P3 - the bug will
hopefully be fixed within 2-4 weeks.
Comment 2 Remy Blank 2011-03-23 10:23:12 EET
This is a duplicate of #749.
Comment 3 Hugo Parente Lima 2011-03-23 14:26:02 EET
*** Bug 749 has been marked as a duplicate of this bug. ***
Comment 4 Hugo Parente Lima 2011-03-31 01:14:00 EEST
Fixed in commit:

pyside/9ffb2ef542a8a5d3e89fe913ea760208eed108a3
Comment 5 Hugo Parente Lima 2011-04-01 23:16:03 EEST
Closing bug after release of PySide 1.0.1.