Quote Originally Posted by Lykurg View Post
If you haven't a model and it is just a normal dialog collecting data, then I would simply overwrite the paint event of a QWidget and fetch mouse presses and calculate how many stars for that particular mouse position. And of course a setter and getter method...
I used this suggestion; it works beautifully now! And I familiarized myself with QPainter and mouse event handling in the process. Thanks!

Quote Originally Posted by aamer4yu View Post
What kind of is your editor ? Does it have columns ?
You could use either of QTableWidget or QTreeWidget with delegates.
No columns, just a "how many stars out of 3?" widget.

Other way could be - Use the StarEditor class from the star delegate example. Its a complete class in itself and you can use the wheel, cant you
Yeah, that's true But I didn't for 3 reasons: i) I was wondering if the complete model/view architecture was too complex for the simple widget I wanted. ii) I'm still not sure under what licence I want to release my program, so I thought it's best not to copy Nokia's code. iii) This is also a learning project, so I wanted to build my own stuff. Thanks for the suggestion, nonetheless!