On 06.08.06 10:56:26, Serge Weinstock wrote:
> I'm trying to fill a Qt4 list widget using an ItemModel.
Then you're doing the wrong thing. Either use a ListView+Model or use
the QListWidgetItem's to populate the list. AFAIK this is clearly
documented in the Model/View section.
Andreas
--
Best o
Hello, the following simple code crashes python under windows. Under
linux, it randomly crashes but less often. It really sounds like a
deallocated object problem. I am using Qt4.1.4 with PyQt4.0.1 and Python
2.4.
Am I missing something or should I do a bug report?
from PyQt4.QtCore import *
f
Hi,
I'm trying to fill a Qt4 list widget using an ItemModel.
The items are correctly displayed but when I try to click on one of the
item, the application crashes.
I've wrote a simple test:
==
import sys
from PyQt4 import QtCore, QtGui
class MyListModel(QtCore.QAbstractList