Results 1 to 2 of 2

Thread: Implement custom tree/table header view to support filtering on columns

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Implement custom tree/table header view to support filtering on columns

    Hi all,
    I want custom header view for my tree/table view like in the attachment, I want to show a line edit below the each column header so that use can filter on each column by entering text into the line edit.
    I tried with delegate & came to know that delegate can't work with QHeaderView, so tried other ways also they really didn't work.

    what is the best way to achieve this, If I need to customize the QHeaderView, what are the functions I need to re-implement ?

    filter.PNG


    Thanks in the advance.
    Attached Images Attached Images
    Last edited by prasad_N; 23rd March 2016 at 10:08. Reason: updated contents
    Thanks :-)

Similar Threads

  1. Building Tree view from Table view which is already build.
    By DURGAPRASAD NEELAM in forum Newbie
    Replies: 1
    Last Post: 6th June 2015, 16:26
  2. Building Tree view from Table view which is already build.
    By DURGAPRASAD NEELAM in forum Newbie
    Replies: 6
    Last Post: 18th May 2015, 07:18
  3. Replies: 1
    Last Post: 10th May 2011, 18:58
  4. Replies: 0
    Last Post: 4th May 2011, 12:33
  5. how to move between columns in tree view?
    By Scott Shiff in forum Qt Programming
    Replies: 1
    Last Post: 30th January 2007, 08:01

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.