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
Forum Updated to NodeBB v4.3 + New Features

filtering the filtered QSortFilterProxyModel

Scheduled Pinned Locked Moved General and Desktop
filtersqsortfilterprox
1 Posts 1 Posters 639 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 9 Jul 2015, 07:38 last edited by Stravinsky 7 Sept 2015, 07:40
    #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

    1/1

    9 Jul 2015, 07:38

    • Login

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