So I'm trying to figure out how to work with the QItemDelegate in a QListWidget or QListView, and so far, I haven't had much luck finding a straightforward tutorial or guide explaining how to use these together.

I'm trying to create a couple color / style palettes, and I figure the best way is to utilize these two objects, rather than a QScrollArea with custom widgets placed in it. I will eventually store the colors in a palette, with the palette just being an array of my color objects (these will not just be colors, but objects storing a color, style, and a few other properties). I figure I can then generate the GUI version of the palette by using a few properties in the object.

Here are a couple wireframes of what I'm trying to accomplish - I want to have two versions of the palette:
sGQTH.jpg

Honestly, I still cannot figure out how to use the QItemDelegate after reading numerous guides and posts and watching a few videos. Am I right about using a QListView, or should I stick with a QScrollArea for each area, and just create a new object for each item? Anyone have a bit of guidance for me?

Thanks