[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] QModelIndex.internalPointer
From: Andrei Kopats <hlamer () tut ! by>
Date: 2011-04-29 7:59:40
Message-ID: BANLkTi=ELPwDBksouBGHZjriV09B_0SjBQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
Few days ago QModelIndex.internalPointer was discussed here.
I also have problems with it. I can't say exactly, when crash occurs, and
when it doesn't, but, this code generates crash for me:
index = self.createIndex(row, column, True)
print index.internalPointer()
I tried to pass object (which has other references, so, is not destroyed by
gc), integer, bool value as internalPoitner, and have crashes in any case.
I use the latest PyQt and SIP snapshots.
Is there a way for workaround this?
Thanks
[Attachment #5 (text/html)]
Hi,<br>
<br>
Few days ago QModelIndex.internalPointer was discussed here.<br>
I also have problems with it. I can't say exactly, when crash occurs,
and when it doesn't, but, this code generates crash for me:<br>
<br>
index = self.createIndex(row, column, True)<br>
print index.internalPointer()<br>
<br>
I tried to pass object (which has other references, so, is not destroyed
by gc), integer, bool value as internalPoitner, and have crashes in any
case.<br>
I use the latest PyQt and SIP snapshots.<br>
<br>
Is there a way for workaround this?<br>
<br>
Thanks
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic