[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] QComboTableItem problem
From:       CEZARD Yann <Yann.CEZARD () ifp ! fr>
Date:       2003-05-20 9:12:08
[Download RAW message or body]

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

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic