highlighting editable cells in the table

Thomas Lübking thomas.luebking at web.de
Sun Aug 22 19:28:20 BST 2010


Am Sunday 22 August 2010 schrieb Andriy Rysin:
> 2010/8/21 Thomas Lübking <thomas.luebking at web.de>
> 
> > You mean like QTabelView::showGrid() & QTabelView::setGridStyle()?
> > (If it's an undecorated TreeView you can afaik only have alternating
> > rows.

> yes, that or background

If you're using the widget based classes (either QTableWidget or QTreeWidget), 
their default item classes (Q*WidgetItem) support setBackground( QBrush ) & 
setForeground( QBrush )

btw: try "qt:QTableWidget" ;-)

Cheers




More information about the kde-core-devel mailing list