[Qt-interest] How best to display arrows in a list?

Jesús Fernández jsfdez at gmail.com
Thu Mar 12 14:08:05 CET 2009


You can do it with:

- A data model (custom or a QStringListModel).
- QListView for show the items of the model.
- A custom QItemDelegate for displaying the arrows and the text in the way
you want.

You don't give much details of your needs. I cannot be more explicit.

Regards

On Thu, Mar 12, 2009 at 2:05 PM, phil prentice <philp.cheer at talktalk.net>wrote:

> HI friends
>  I'm a very stuck as to how go about using QT to display arrows as part of
> a
> list.  I have attached a screen shot (.jpg)
> which displays an old X11 GUI which I would very much like to move over to
> QT.  What it displays is a list of arrows on the left and a list of arrows
> at
> the bottom.  Does QT offer anything that might make its porting to QT
> easier..I was hoping to use something like QListWidget to help me but I
> dont
> think that it is capable?  I am really stuck here as to how I might
> proceed.
> Can anybody help me?
>
> I would much appreciate any response even if its to say its back to basics
> i.e. I cant use classes like QListWidget to help me out.
>
> Thanks again for all your help
>
> Phil
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090312/93155764/attachment.html 


More information about the Qt-interest-old mailing list