Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
how to make a search from QlistVeiw?
Hi,
You don't search through the view, you do that on the model. See the match function.
@SGaist can you send me an example
QModelIndexList matchList = model->match(model->index(0,0), Qt::DisplayRole, lineEdit->text());
Change the hits and flags according to your search criteria, see the documentation for the possible values.