Trying to move towards model-view style. Here’s how I do stuff now:
psuedo code:
class One_Item():
def __init__(stuff...):
self.weight
self.priority
self.real_name
self.display_name #what the user sees in a list widget
self.export_location
....
With a bunch of these objects, I’ll loop through 'em and add their display names to a list widget.
How do move over to model-view style? Do I still have these One_Item objects? Do I make them each an instance variable of a PyQt object that’s added to the ‘model’? Any pointers would help, just not sure where to start from where I’m at.