Can you please suggest some examples for QlistView control in QT..
-
I am new to QT.
Can you please suggest some best eample for QListView & QlistviewItem as well. -
What do you want to know? QListView is used with the Model/View architecture so you may want to look at QAbstractListModel.
QListWidgetItem's are used with QListWidget which is a convenience sub-class of QListView for use when you only have a few items to show and writing a model is too much hassle.
ps It's Qt not QT. ;-)
-
There is a "very good introduction":http://doc.qt.nokia.com/4.7/modelview.html to model/view. It comes with several example sources. It also lists at the end known other examples of model/view technology - including QListView
-
Thanks dialingo...
-
Dialingo...as you mentioned the site here..
http://doc.qt.nokia.com/main-snapshot/modelview.html
i am not able to find the sample source code..
plz help me out on this...
-
It's part of Qt itself. There should a folder called "examples" in your Qt dir.
-
Sry ...i misunderstood...now i got it..
Thanks for your help..