I recently made an appication that utilizes pyqt , i could say i wrote the code pythonic and made everything work work as I wanted, but didnt used any data model , so later I realized I could have used data model since I am building list in the QListView of task that will be performed in batch. So how do to decide what data model to use & when ? I have found so many things in PyQt that could be an alternative to pythonic code... so what do I need to learn about data models in PyQt or PySide ?

Recommended Answers

A model allows you to customize a widget or make it more generic.
See ...
http://www.daniweb.com/software-development/python/code/447834/applying-pysides-qabstracttablemodel

Jump to Post

All 2 Replies

i got exactly what i was looking for here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.