Unsolved QRubberBand Stylesheet
How to style a QRubberBand? Does style-sheet work?
SGaist Lifetime Qt Champion last edited by
What styling do you have in mind ?
raven-worx Moderators last edited by raven-worx
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.