Hi Guys,
I've got a little problem with the QList function. The plan is to create a list of Label names, f.ex. lb1,lb2,lb3,...
This works with QList<QString> list; list<<"lb1"<<"lb2"<<"lb3"...;
and now I want to use the list entry's for setting an label.
Instead of ui->lb1->setText("..."); I want to use ui->list[0]->setText("...");
But the last code gives me an error(class Ui::Mainwindow has no member named list)
I guess I cant use the QList<QString> on Widgets?
best regards,
olli
Bookmarks