Hi everybody.
I've a problem with QTreeView. When I click on the item in TreeView a grey frame around it.
How can I get rid of it? Btw it only appears on Windows there is no sign of it on the Mac
Hi everybody.
I've a problem with QTreeView. When I click on the item in TreeView a grey frame around it.
How can I get rid of it? Btw it only appears on Windows there is no sign of it on the Mac
C++ & AMD forever
Well, it's the standard way to indicate that the corresponding item has focus. Would setting QTreeView::allColumnsShowFocus to false suit you? If you don't want the whole view to accept focus at all, you can set QWidget::focusPolicy to Qt::NoFocus.
J-P Nurmi
THRESHE (10th December 2008)
Thanks
Setting QTreeView::allColumnsShowFocus to false didn't help but setting it to true helped
C++ & AMD forever
Bookmarks