I found the style sheet reference at http://doc.trolltech.com/4.4-snapsho...reference.html somehow confusing about the possibilities to customize the sub-controls of a widget.
I would like to remove the dashed border of the text surrounding a QAbstractItemView, used in a QTreeWidget, when selected. The style sheet reference tells to use the ::item subcontrol for more fine grained control over the items in the QTreeView but also that ::text is the text of a QAbstractItemView.
So I’ve tried (without success) the following both possibilities:
QTreeView::text:selected:active {
border: 0px;
}
QTreeView::item::text:selected:active {
border: 0px;
}
Does someone has an idea ?
Bookmarks