PDA

View Full Version : finding QWidgets in QList



babu198649
26th July 2008, 11:39
hi
n-number of widgets had been added to QList . When any of the widgets added to the QList is clicked, i have to display the index number of the widget in the QList,how to do it.

wysota
26th July 2008, 11:58
QList::indexOf will return you a position of the item you pass to it.