Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. filtering the filtered QSortFilterProxyModel
Qt 6.11 is out! See what's new in the release blog

filtering the filtered QSortFilterProxyModel

Scheduled Pinned Locked Moved General and Desktop
filtersqsortfilterprox
1 Posts 1 Posters 980 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Stravinsky
    wrote on last edited by Stravinsky
    #1

    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 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved