I used this suggestion; it works beautifully now! And I familiarized myself with QPainter and mouse event handling in the process. Thanks!
No columns, just a "how many stars out of 3?" widget.
Yeah, that's trueOther 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![]()
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!
Bookmarks