filtering the filtered QSortFilterProxyModel
General and Desktop
1
Posts
1
Posters
639
Views
1
Watching
-
wrote on 9 Jul 2015, 07:38 last edited by Stravinsky 7 Sept 2015, 07:40
Hello.
In my application is quick search to filtering. After the first filtering wish to filter only the filtered data. Someone know how to fixed this problem?
I used signal/slot between QLineEdit and my own slot:
connect(ui->lineEdit_Filtr_VIEW, SIGNAL(textChanged(QString)), this, SLOT(filterRegExpChanged()));
in my slot:
QRegExp regExp(arg1, Qt::CaseInsensitive, QRegExp::Wildcard); proxy_own->setFilterRegExp(regExp);
1/1