anyonw know how to remove the withe perforated rectangle in the QListWidgetItem!?
![]()
anyonw know how to remove the withe perforated rectangle in the QListWidgetItem!?
![]()
QListWidget::currentItem(), QListWidget::takeItem(), and delete seem like obvious starting points.
i just want to remove the white rectangle, if i do setFocusPolicy(Qt::NoFocus) the rectangle disapear but i can't use the keyboard, up and down to navigate!
I cannot see the obvious way to disable the current item border with stylesheets although I expect it is in there somewhere.
If you take away the current item border then how are you going to tell which is the current item?
You will need to use custom delegate or style.
Search the forum , this problem has been posted many times.
Bookmarks