Re: How do I Color a QTableView row in PyQt4

2007-03-12 Thread David Boddie
On Friday 02 March 2007 21:55, Mel wrote: [This message is a bit old now. Still...] > Now that I can change the row colors of QTableView when loading data I > now need to be able to set the color of the row at anytime. I've been > trying by using an item delegate but I'm not sure if I'm using

Re: How do I Color a QTableView row in PyQt4

2007-03-02 Thread Mel
Now that I can change the row colors of QTableView when loading data I now need to be able to set the color of the row at anytime. I've been trying by using an item delegate but I'm not sure if I'm using it correctly. Would I try and set an item delegate for the row and change the background colo

Re: How do I Color a QTableView row in PyQt4

2007-03-01 Thread Mel
On Feb 28, 5:08 pm, David Boddie <[EMAIL PROTECTED]> wrote: > On Wednesday 28 February 2007 18:55, Mel wrote: > > > > > I am currently porting an SQL centered Visual Basic application to run > > on Linux, Python, and Qt4. Currently I am stumped on changing row > > colors in the QTableView widget.

Re: How do I Color a QTableView row in PyQt4

2007-02-28 Thread David Boddie
[Following up my own post.] On Thursday 01 March 2007 01:08, David Boddie wrote: > It's interesting to see that you subclassed QSqlQueryModel instead of > using a custom delegate to display the data. It's usually recommended > that you subclass QItemDelegate if you want to customize the way items

Re: How do I Color a QTableView row in PyQt4

2007-02-28 Thread David Boddie
On Wednesday 28 February 2007 18:55, Mel wrote: > I am currently porting an SQL centered Visual Basic application to run > on Linux, Python, and Qt4. Currently I am stumped on changing row > colors in the QTableView widget. My test code is based on code from > the PyQt4 examples and looks like