Hi all,
I'm back with the same problem, I try to explain you exactly what happens :
I use Debian Sid (Knoppix) with the following versions :
Qt : 3.2.3
python-qt3 : 3.8-3
SIP : 3.8-2
python : 2.3.2

When I want to use a QComboTableItem in a cell of a QTable, I can't see it 
unless the cell gets the focus, else the cell looks like using a blank line. 
I try differents pieces of code and I always get the same problem, like this 
one :
---------------------------------
import sys
from qt import *
from qttable import *

class MyWidget(QVBox):

        def __init__(self, label_list):
                QVBox.__init__(self)
                self.table = QTable(2,2, self)
                self.label_list = label_list
                self.label = QComboTableItem(self.table, self.label_list)
                self.label.setEditable(0)
                self.label.setCurrentItem(self.label_list[0])
                self.table.setItem(1, 1, self.label)

labels="A,B,test,D,E"
app=QApplication(sys.argv)
label_list = QStringList()
[label_list.append(str(x)) for x in labels.split(',')]
t=MyWidget(label_list)
app.setMainWidget(t)

t.show()

app.exec_loop()
---------------------------------

Thanks for your help
Lionel

-- 
Lionel Roubeyrie
[EMAIL PROTECTED]

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to