PDA

View Full Version : Some questions about custom style



charlse
2nd April 2009, 09:54
Hi guys:
I want to change the background-color of the label when the focus is on it, I used"
setStyleSheet( "QLabel:focus{ background-color: rgb( 255, 255, 255 ); }" ); to implement, Now I want to implement it through modifying the style, Where should I modify? drawComplexControl() ? drawControl() ? or other interfaces ? Thank you for suggestions.