qt - Change/remove QTableWidget selection tint color -


i'd have qtablewidget selected cell indicated adding black circle on cell's icon (i have gotten work). i'm struggling fact widget seems apply blue tint selected cell's icon. can't find documentation referring this. have tried setting stylesheet:

qtablewidget::item {selection-background-color: transparent; selection-color: transparent;}; qtablewidget::item:selected{ background-color: transparent } 

but these affect background , text colors of cell, respectively. have attempted change qtablewidget's qpalette's highlight color, without success.

how rid of tint?

qtablewidget::item {selection-background-color: rgba(0,0,139, 100); selection-color: rgba(0,0,139, 50);}; qtablewidget::item:selected{ background-color: rgba(0,0,139, 100) } 

applying opacity of 50% background color.. give changes you.. styles blue tint color..

this approach helps better..


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -