PDA

View Full Version : Expand item in QListView



Kode.Cooper
30th December 2009, 07:27
Hi, there, how Can i expand the item in QListView in Qt v4.6?
Thnaks.

yogeshgokul
30th December 2009, 07:46
Hi, there, how Can i expand the item in QListView in Qt v4.6?
Thnaks.

Expand in list view :confused:
Are you sure, or you mean QTreeView ?

Kode.Cooper
30th December 2009, 07:56
if the item has been selected, then display more detail information, or not.
Just like the picture describled.4027

spirit
30th December 2009, 08:03
I would use QTreeView.

Kode.Cooper
30th December 2009, 08:13
I would use QTreeView.

Thanks, Spirit, But, how can i move the "+" or "|" from left to right?
and how to hide the "|" icon by using delegate?

spirit
30th December 2009, 08:22
looks like your case (http://doc.trolltech.com/qq/qq24-delegates.html).