[PyKDE] QComboTableItem problem
CEZARD Yann
Yann.CEZARD at ifp.fr
Tue May 20 11:13:01 BST 2003
Hi,
I have a problem using a QComboTableItem in my application.
When I click on it in order to select another item (or not, even
if i only click on it), the application segfaults...
Here the code I use (self.objectsView is my QTable):
self.objectsView.setNumRows(self.objectsView.numRows() + 1)
self.objectsView.setText(self.objectsView.numRows()-1, 0,
"some_name")
list = QStringList()
list.append("foo")
list.append("bar")
properties = QComboTableItem(self.objectsView, list, 0)
self.objectsView.setItem(self.objectsView.numRows()-1, 1,
properties)
I'm using PyQT/SIP 3.5, Python2.2, QT 3.1.2 on a RedHat Linux 7.1
Does anybody have the same problem ? a solution ?
Thanks for any clue...
Yann CEZARD
More information about the PyQt
mailing list