Sure, this is what I suggested to Igor before.
This requires dedicating a QWidget (e.g a QLabel) for the rectangle,
sometimes ones prefer painting directly.

Cheers


2014/1/23 André Somers <an...@familiesomers.nl>

> Etienne Sandré-Chardonnal schreef op 23-1-2014 13:48:
> > By the way, it would be nice to have a kind of
> > QPainter::drawBorderImage primitive for doing this!
> The style sheets for QWidget also support this. Perhaps you can leverage
> that instead of using QPainter yourself?
>
> André
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to