I would like to create a QListView or QListWidget that contains many of these items. I have looked at making delegates and also using setItemWidget to set the widget. I am having difficulties with both.
This below was created in QT Designer, I then have a UIC file that I load in a subclassed QWidget with uic.loadUi, nothing is crashing, but the listWidgetItems are empty.
Any help would be appreciated. I will be iterating on this below, so I would like to be able to load a UIC dynamically.
There could be thousands of animations, so I would like to keep it performant if possible.
So, I couldn't do it with a delegate, but here's the code for doing it with loading a custom widget generated from QtDesigner that is loaded into the listView with setItemWidget: