filtering the filtered QSortFilterProxyModel



  • 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);

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.