How to style a QRubberBand? Does style-sheet work?
What styling do you have in mind ?
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.