On Dec 1, 2010, at 6:39 AM, Matti Airas wrote: > On 29.11.2010 21:27, ext Patrick Hartling wrote: >> I noticed that the method QGridLayout::getItemPosition() is not >> available in QtGui.QGridLayout. Is there a technical limitation that >> prevents that method from being available? If so, I am willing to >> help try to resolve it. I imagine that anywhere that Qt has >> by-reference parameters for types that are immutable in Python would >> currently be excluded in the same manner as >> QGridLayout::getItemPosition(). > > It sounds to me like a pure oversight. It's baffling, though: we did an API > comparison between PyQt and PySide to find any missing elements, and > getItemPosition clearly stands out in the results. So, not having it there is > a double omission for us.
I'm glad to know that it's an oversight. That's what I was hoping for. > I made a bug for this: http://bugs.openbossa.org/show_bug.cgi?id=512 Thanks. > With the current bug backlog, it might take a month or more to get this > fixed. If you want to have it done faster and you're willing to try fixing it > yourself, maybe any of the OpenBossa team members could chime in and give > instructions on how to proceed. The only thing making this not utterly > trivial (just easy, instead ;-)) is that the original function returns values > via pointers and these have to be mapped to return values. I tinkered with it for a bit, but I haven't yet figured out how to handle the case of modifying a method to return some, but not all, of its arguments as a PyTuple. I was only skimming the XML file to try to find a similar example and haven't taken the time to learn how to do it properly. I'll try to take another look at it in the next couple of days. -Patrick -- Patrick L. Hartling Senior Software Engineer, Priority 5 http://www.priority5.com/ The information transmitted in this communication is intended only for the person or entity to which it is addressed and contains proprietary material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please destroy any copies, contact the sender and delete the material from any computer. _______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
