PDA

View Full Version : QListView Using delegate to draw 2 buttons in the items



JuanMO
30th August 2010, 19:08
Hello,

I was looking in the forum and I find out a very good information about drawing a button into a list item, and how to catch when the user push that button.

see post:
http://www.qtcentre.org/threads/26916-inserting-custom-Widget-to-listview?p=155774#post155774

Now I'm trying to put 2 buttons, but I can't find the way to recognize which button was pressed.

I think that what is recognized in the post is that the item was pressed not the button.

Thanks in advance for any help