Re: [PyQt] Signal on Selection in QTreeView

2008-03-19 Thread Marius Kintel
On Mar 19, 2008, at 11:41 AM, Phil Thompson wrote: 2007/12/28 12:31:03 phil Fixed a bug where PyQt connections from an object owned by C++ were lost when the Python object was garbage collected. Yep, that fixes my problem. Thanks for the hint! ~/= Marius -- We are Elektropeople for a

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Marius Kintel
On Mar 18, 2008, at 2:57 AM, Kevin Foss wrote: To show you my difficulties, I've tried to test this whole selection model capability using an example from David Boddie at Trolltech. It can be found here: http://www.opensubscriber.com/message/pyqt@riverbankcomputing.com/8447872.html

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Marius Kintel
On Mar 18, 2008, at 2:44 PM, Phil Thompson wrote: What makes you say that? The connection has nothing to do with the wrapper object of the emitter. The underlying Qt connection stays alive, but on the PyQt side the connection goes down making the Qt connection just call the universal

Re: [PyQt] Missing ownership transfer in QStandardItem

2008-02-07 Thread Marius Kintel
On Feb 7, 2008, at 12:58 PM, Phil Thompson wrote: Adding a /Transfer/ to these seem to fix my immediate issues. I guess the same might go for similar methods added in Qt-4.3. Do you have any in mind - I couldn't find anything. No, I just assumed that there might be others. I didn't look

[PyQt] Missing ownership transfer in QStandardItem

2008-02-06 Thread Marius Kintel
Hi, I think some of the wrapped methods of QStandardItem miss the ownership transfer, e.g.: qstandarditemmodel.sip:274: %If (Qt_4_3_0 -) void insertRows(int row, const QListQStandardItem* items); %End %If (Qt_4_3_0 -) void appendRows(const QListQStandardItem* aitems); %End Adding a