Unsolved QTreeWidget: how to make the item cursor (dotted frame) invisible?
-
I have set selection mode to
NoSelection
, but I still get the cursor frame. How can I get rid of it? -
Well, its has been discussed before.
https://forum.qt.io/topic/18888/how-to-remove-focus-rectangle-on-qlistview-and-similar-using-qstyleditemdelegate-with-style-sheets -
@mrjj
There's no answer there. People discussoutline: none;
, but it does not remove the cursor frame. I don't know what it does. -
They also try to remove the focus rect which is what you see in the picture.
It can be removed using a Delegate and draw nothing.