[Qt-interest] QTableView and text coloring

Abhishek abhishekworld at gmail.com
Fri May 22 08:18:55 CEST 2009


Hi Pere,
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-qtableview



On Fri, May 22, 2009 at 1:12 AM, Pere Constans <constans at molspaces.com>wrote:

>
>
> I use QTableView for multi- row and column data, set to SelectRows and
> SingleSelection, and GridStyle set to NoPen, for display, not for editting,
> purposes.
>
> I've two questions:
>
> 1) Is there a way to not display that thin dotted border for a selected
> cell?
> It gives a poor visual effect, as I'd expect such border, if any, to extend
> to the complete, selected row.
>
> 2) Is there a simple way to get text colored, like syntax highlighting? On
> the
> archives there're a couple of threads regarding views and rich text. They
> seem complex and contradictory, though, and just a color change, not font
> or
> anchors, is what I look for.
>
>
> Thanks
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Abhishek Patil

"Imagination is more important than knowledge..." -Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090522/fafc86bd/attachment.html 


More information about the Qt-interest-old mailing list