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 919 - Default arguments on QStyle methods not working
: Default arguments on QStyle methods not working
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: 1.0.3
: PC Linux
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-07-07 03:35 EEST by Ed Page
Modified: 2011-07-22 22:12 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 Ed Page 2011-07-07 03:35:07 EEST
(sorry if fixed already, PPA has not been updated)

I'm giving another try to PySide but found I had to refactor my code a bit.

The QHtmlDelegate I wrote in the following module
https://github.com/epage/DialCentral/blob/master/src/util/qui_utils.py

calls QStyle.drawControl and QStyle.subElementRect.  These both have an
optional widget parameter but with PySide this widget parameter is required and
I have to pass in an additional "None" to satisfy PySide.
Comment 1 Hugo Parente Lima 2011-07-11 21:33:03 EEST
The argument name was wrongly named to "w" instead of "widget" because it's "w"
on Qt C++ header.

Thanks for reporting, this will be fixed soon.
Comment 2 renato filho 2011-07-14 23:19:55 EEST
fixed on shiboken commit:
commit eb05f980492d78f73d0ecf6b62e33d1ca7b7d834
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Thu Jul 14 15:25:04 2011 -0300


pyside commit:
commit 28592411f4c2aac67e5af7436557ec5c483bf3cf
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Thu Jul 14 15:23:47 2011 -0300
Comment 3 renato filho 2011-07-22 22:12:51 EEST
release 1.0.5