PDA

View Full Version : how to Identify which QLable clicked



rajeshs
5th June 2008, 11:58
Hi,

I have one window, on this one frame is there. On frame i arranged 5 labels. If i click on one lable, how to identify which lable has been clicked from that 5 labels?

jacek
5th June 2008, 12:11
If those labels emit signals, you can use QSignalMapper. There's also QObject::sender().