Hi,
I have 80 pushbuttons (10x8) in a frame and I need connect all to slot(), but I don't know how a get the name of
button to know what button was pressed.
Anybody have any idea ???
Thanks,
Monali.
Hi,
I have 80 pushbuttons (10x8) in a frame and I need connect all to slot(), but I don't know how a get the name of
button to know what button was pressed.
Anybody have any idea ???
Thanks,
Monali.
Use QObject::sender()
http://doc.trolltech.com/4.6/qobject.html#sender
Thanks for reply.
i resolved the issue.but now my problem is that when i click on any button ,then the text of that button should store in array. I have taken the text and stored in string but i dont know how to store those string in array.
Hope my query is clear.
Thanks.
Monali.
Code:QStringList list; list << "string"