Unsolved QRubberBand Stylesheet
-
How to style a QRubberBand? Does style-sheet work?
Thanks.
-
Hi,
What styling do you have in mind ?
-
@qtoptus
no. QRubberBand actually doesn't support styling via stylesheet. Just everything QWidget supports and that's not that much.You can only influence the color:
QPalette palette; palette.setColor(QPalette::Active, QPalette::Highlight, QBrush(Qt::green)); rubberBandWidget->setPalette(pal);
-
That helped. Thank you.