-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
22 lines (13 loc) · 928 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
what is this
============
QtWidgetListView is a list view, powered by Qt's Interview framework.
Unlike a traditional listview, it allows for full, easy customisation of the UI, by presenting items as regular widgets, which may be created through Qt Designer or other means.
Basically, it's like QWidget and QAbstractItemDelegate eloped, made sweet, sweet love, and had a lovechild.
You create a QtModelWidget subclass, and a QtWidgetListView instance, passing the QtWidgetListView the staticMetaObject of your QtModelWIdget subclass.
Then, you set a model on the listview, and watch in amazement as QtWidgetListView creates widgets representing the items for your model.
This allows for rich UI, done easily - no manual painting like delegates, meaning more robust, flexible, and easy to maintain code.
contact
=======
All contact to do with this code should go to:
Patches, of course, are welcome.