hi friends,
i got a problem in QList
as i subject all my object in a Widget class to a QList by
Qt Code:
QList wlist; wlist = widget->findChildren<QWidget *>();To copy to clipboard, switch view to plain text mode
this list have QLabel, QTextEdit, etc ..
but all were typecast to QWidget in the QList ..
now i want to access a label in wlist.at(2) .. which currently returning a QWidget pointer ..
please help ..
Bookmarks