PDA

View Full Version : Auto Layout TreeView's item?



jerry7
20th September 2010, 15:10
Hi,
I want make a widget that has tree hierarchy,but the item ,which has no subitem ,has a auto layout as QListView. Could this kind of widget be implement with treeview? Or Any other methed about it?
thanks!
5207

wysota
20th September 2010, 15:21
I think you'd have to implement your own view for that.

jerry7
21st September 2010, 01:44
Which QT class should I base? Treeview or just base the QWidget?

wysota
21st September 2010, 07:48
QAbstractItemView.