Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt-interest Archive, May 2007
how to put listviewitems which have children in front of listview?


Message 1 in thread

hi,

i create a QListView widget and some expandable listviewitems ,also
some single listviewitem
it will look like this:

+ListViewItems
|__ a
|__-b
|     |___b's child items1
|     |___b's child items2
|__+c
|__d
|__+e

that means b ,c ,e look like folders which have children items
i want to put b ,c ,e in the front:

+ListViewItems
|__+b
|__+c
|__+e
|__a
|__d

how qt do this?
regards

--
 [ signature omitted ]