Registered Member
|
Hi,
I found k3listview, the underlying Qt class should not be used any more in Qt 4. Is there some kind of "k4listview"? Or do I have to use QTreeView instead since there is no KDE4 object for QTreeView? Thanks.
Last edited by kalle1950 on Thu Jan 07, 2010 12:53 pm, edited 1 time in total.
|
Administrator
|
In KDE 4, it is recommended to use QTreeView or QTreeWidget.
QTreeView requires writing your own Model. QTreeWidget works much like QListView in Qt3, in that you insert items into a position in the tree. From my experience, writing your own Model is definitely recommended, as it allows you to add other views on to the data more easily, and results in more self-contained code.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]