Hello,
to find the index of a Widget from a QList, i do this:
Code:
QList<QPair<MyWidget*, int> > list int i for(i=0;i<list.size();i++){ if( list[i].first == mywidget ) break; }
Is it possible to use indexOf() like this?
Code:
list.indexOf(T.first)
Thanks in advance
