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
Post a Comment