Re: [PyQt] Can't get QCheckBox to work in a QTableView

2007-11-26 Thread Chris Dunscombe
Andreas, Thanks very much for your help. I'm going to take the item based approach using QStandardItemModel and not use my own model. I've now got the Checkbox part to work by setting the item to be checkable using item().setCheckable(True). Thanks again, Chris --- Andreas Pakulat <[EMAIL PROT

Re: [PyQt] Can't get QCheckBox to work in a QTableView

2007-11-26 Thread Andreas Pakulat
On 26.11.07 04:13:24, Chris Dunscombe wrote: > --- Andreas Pakulat <[EMAIL PROTECTED]> wrote: > > > On 23.11.07 09:04:56, Chris Dunscombe wrote: > > > Hi, > > > > > > I'm trying to have a checkable column plus label with other columns in a > > > table. I can't use > > > QTableWidget as one of th

Re: [PyQt] Can't get QCheckBox to work in a QTableView

2007-11-26 Thread Chris Dunscombe
--- Andreas Pakulat <[EMAIL PROTECTED]> wrote: > On 23.11.07 09:04:56, Chris Dunscombe wrote: > > Hi, > > > > I'm trying to have a checkable column plus label with other columns in a > > table. I can't use > > QTableWidget as one of the other columns is a ComboBox. After much trying, > > googli

Re: [PyQt] Can't get QCheckBox to work in a QTableView

2007-11-23 Thread Andreas Pakulat
On 23.11.07 09:04:56, Chris Dunscombe wrote: > Hi, > > I'm trying to have a checkable column plus label with other columns in a > table. I can't use > QTableWidget as one of the other columns is a ComboBox. After much trying, > googling and reading of > Mark's excellent new book I just can't get

[PyQt] Can't get QCheckBox to work in a QTableView

2007-11-23 Thread Chris Dunscombe
Hi, I'm trying to have a checkable column plus label with other columns in a table. I can't use QTableWidget as one of the other columns is a ComboBox. After much trying, googling and reading of Mark's excellent new book I just can't get it to work. I'm clearly doing something wrong Main probl