[Qt-interest] QTableView and text coloring

Pere Constans constans at molspaces.com
Fri May 22 16:45:40 CEST 2009


Thank you, Abhishek.

> Your should refer Qt Stylesheet following is the link for your 1st problem
> you may find solution for 2nd in the same link .
>
> http://doc.trolltech.com/4.5/stylesheet-examples.html#customizing-qtablevie

I've been plying with the examples given above, specially trying,

 setStyleSheet("QTableView::item:selected {border: none;}");
 setStyleSheet("QTableView::item:selected {border: 0px solid white;}");
 setStyleSheet("QTableView {show-decoration-selected: 0;}");

and variations of them, without luck. It looks like that the way to go will be 
reimplementing the delegates.

Thank you.




More information about the Qt-interest-old mailing list