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 549 - [patch] QGraphicsWidget::getContentsMargins() and QGraphicsWidget::getWindowFrameMargins() not available
: [patch] QGraphicsWidget::getContentsMargins() and QGraphicsWidget::getWindowF...
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: All All
: P2 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2010-12-16 11:33 EET by Patrick Hartling
Modified: 2011-01-06 16:19 EET (History)
8 users (show)

See Also:


Attachments
Patch to expose QGraphicsWidget::getContentsMargins() and QGraphicsWidget::getWindowFrameMargins() to Python (2.42 KB, patch)
2010-12-16 11:33 EET, Patrick Hartling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Hartling 2010-12-16 11:33:58 EET
Created attachment 188 [details]
Patch to expose QGraphicsWidget::getContentsMargins() and
QGraphicsWidget::getWindowFrameMargins() to Python

The methods QGraphicsWidget::getContentsMargins() and
QGraphicsWidget::getWindowFrameMargins() are not exposed to Python. The
attached patch corrects that.
Comment 1 Matti Airas 2010-12-16 14:05:31 EET
Thanks for the patch! I prioritized the bug P2, but if the patch is trivial
enough, it will be dealt with without further delay.
Comment 2 Hugo Parente Lima 2010-12-23 17:24:41 EET
Path applied and unit test created in commit:

pyside/6cf55675dc896121e8a6fa806b642bb550ffa7d3

I just changed the index of return value used in your patch from "0" do
"return".
Comment 3 renato filho 2011-01-06 16:19:32 EET
released on beta3