pyqt4 - Get rid of Qt's dotted outline on QListView items -


i'm trying remove dotted border on text in qlistview::item using stylesheets:

qlistview dotted outline shown on selected item

i've tried variations of border: 0 , show-decoration-selected: 0 on qlistview, qlistview::item , qlistview::item::text no effect.

i'm using pyqt, believe stylesheet rules same in c++ libraries.

after more testing, found following stylesheet works:

qlistview {     outline: 0; } 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -