[Interest] Drawing a selected icon and text

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Fri Jul 12 10:27:11 CEST 2013


I found what I needed, everything is in QStylePainter. It allows drawing
styled primitives.

Etienne


2013/7/11 Etienne Sandré-Chardonnal <etienne.sandre at m4x.org>

> Dear all,
>
> I am designing a custom widget that displays mostly icons with their text
> (similar to icon view in a file viewer), and which user can select.
>
> Is there any way to display them selected in a native fashion, or at least
> with a selected look coherent with the app? A styled "selected" rectangle
> could do the job, but I can't find any.
>
> Thanks,
>
> Etienne
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130712/3e0e3d5d/attachment.html>


More information about the Interest mailing list