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.
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.
QList::indexOf will return you a position of the item you pass to it.
Bookmarks