PDA

View Full Version : QListView Items with Buttons



kernel_panic
15th December 2010, 16:07
Hi everyone,
i already read some threads about this topic but they didn't satisfy me.

I need to have 1-2 buttons and a progressbar inside a listwidgetitem or a listviewitem.
The progressbar can be done easily with QStyles widget-painting but the button is a bigger problem. It should act like a real button and should act like it is one part of the item and not the item itself (i saw a solution using delegates that created buttons like that)
I'm imagening something like the well known list in the picture:
5613

I don't need a solution, just a small push in the right way, something im missing, it would be enough if i can handle the cursor-position and actions inside a delegate.

cheers captn

kernel_panic
16th December 2010, 16:48
does noone have any start?