[Qt-interest] StyleSheet problem/question
Morten W. Jørgensen
morten at bugless.co.uk
Tue Nov 30 15:02:31 CET 2010
Hi All.
I have a QTreeView that I am styling to meet my needs. One of my needs is to
get rid of the dashed border that is drawn around the cell last clicked on. I
simply cannot figure out how to get rid of that.
The attached 'dashedborder.jpeg' illustrates what I would like to get rid of.
The red row is the selected one and the cell containing "How to edit a form in
Qt Designer" was the last clicked . It has the tiny dotted/Dashed border while
the sell to the left (still the selected row) has not.
I have attached a project reproducing my problem.
My question is: How do I, by using Stylesheets only, get rid of the dashed
border - the per cell feedback.
If that is not possible using stylesheets only, what is the minimum approach
to get rid of it. I would like NOT to have to make my own paintdelegate and in
the final tree I will need to pit spinboxes, checkboxes, icons and sliters as
well as text.
The problem is seen on linux using gcc 4.4.3 and Qt 4.7.1
Best and thanks in advance,
Morten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dashedborder.jpeg
Type: image/jpeg
Size: 47575 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101130/fe215143/attachment.jpeg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: styleproblem.tgz
Type: application/x-compressed-tar
Size: 6394 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101130/fe215143/attachment.bin
More information about the Qt-interest-old
mailing list