example code of table view with a custom delegate?
Hey, im looking for some example code that includes a table of widgets, to gain an understanding of how the delegates-in-view code works.
I checked out both examples provided by qt but they were pretty complex and more than what i wanted (not looking to edit things, but rather just put labels and maybe pictures inside tables and hide the table lines)
Thanks!
Re: example code of table view with a custom delegate?
Did you look at Pixelator Example, it is just a non editable deltegate with custom painting on it. I don't think it is complex (but it looks so)
If you still feel this is not simple, then I would recommend to display a custom items/widges in a view, then when it comes to edting then you can focus on delgates.
Eidt: This example is simplest Spin Box Delegate Example