Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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