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 665 - Wrong output from pyside-uic with QButtonGroup
: Wrong output from pyside-uic with QButtonGroup
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: pyside-tools
: 1.0.0 beta4
: PC Linux
: P3 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-02-04 13:05 EET by Krasilnikov Sergey
Modified: 2011-02-17 19:18 EET (History)
8 users (show)

See Also:


Attachments
Easing Curves example (20.17 KB, application/zip)
2011-02-04 13:06 EET, Krasilnikov Sergey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krasilnikov Sergey 2011-02-04 13:05:14 EET
Error in generated *.py file from *.ui file 
(while converting PyQt example "Animation Framework -> Easing Curves")
in attachment working Easing Curves example for pyside

Step to reproduce (files in attachment):
pyside-uic form.ui > ui_form_pyside.py

then compare output with "ui_form.py" file from pyQt sample
in pyside-uic output misses "buttonGroup" definition

self.buttonGroup = QtGui.QButtonGroup(Form)
self.buttonGroup.setObjectName("buttonGroup")
self.buttonGroup.addButton(self.lineRadio)
.....
self.buttonGroup.addButton(self.circleRadio)

p.s. 4.7.4 version of pyuic4 from PyQt distribution also can't generate correct
ui_form.py (see ui_form_pyqt.py)
http://old.nabble.com/pyuic4-bug-with-QButtonGroup--td29062601.html
Comment 1 Krasilnikov Sergey 2011-02-04 13:06:42 EET
Created attachment 251 [details]
Easing Curves example
Comment 2 Hugo Parente Lima 2011-02-04 15:52:41 EET
Fixed in commit pyside-tools/7986f216e883b8caf42532c97aea10938cb770f2
Comment 3 Hugo Parente Lima 2011-02-17 19:18:21 EET
Released in 1.0.0~rc1