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 802 - pyside-uic wrong compilation with Qspacer
: pyside-uic wrong compilation with Qspacer
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: pyside-tools
: 0.2.3
: PC Linux
: P2 normal
Assigned To: Lauro Moura
:
:
:
  Show dependency treegraph
 
Reported: 2011-04-02 21:06 EEST by rocher.jm
Modified: 2011-04-29 18:06 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rocher.jm 2011-04-02 21:06:51 EEST
when I compile with pyside-uic (v: 0.2.3)  an ui file with a Qspacer in a
QFormLayout, the generated code is:

       ...
       self.formLayout_5.addItem(spacerItem, 1, 1, 1, 1)
       ...

and it lead to the following an error when I run the code:

      unhandled TypeError :"addItem() takes exactly one argument (5 given)"

If I replace this line with 

       ...
       self.formLayout_5.addItem(spacerItem)
       ...

the code run fine
Comment 1 Hugo Parente Lima 2011-04-05 22:15:21 EEST
Did you try with 0.2.8? A lot of thing have changed since 0.2.3.
Comment 2 rocher.jm 2011-04-07 20:26:04 EEST
(In reply to comment #1)
> Did you try with 0.2.8? A lot of thing have changed since 0.2.3.

It run better with that new version so this issue is closed
thanks
Comment 3 renato filho 2011-04-29 18:06:15 EEST
PySide release 1.0.2