[Interest] Drawing a selected icon and text

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Thu Jul 11 14:38:48 CEST 2013


Hi André,

I said similar to a file viewer... but not identical! In fact I'm
representing a tree, each icon being a node.
I already tried every standard View classes, the only one close is the
QTreeView. But it does not have the look'n'feel of what I'm looking for.

Etienne


2013/7/11 André Somers <andre at familiesomers.nl>

> Op 11-7-2013 12:55, Etienne Sandré-Chardonnal schreef:
> > 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.
> So... why are you not using QListView in icon mode for that then? It
> will get you the styled selected view for free...
>
> André
>
> --
> You like Qt?
> I am looking for collegues to join me at i-Optics!
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130711/8d2a7671/attachment.html>


More information about the Interest mailing list