Results 1 to 3 of 3

Thread: How to add a tool button to a qlistview header

  1. #1
    Join Date
    Mar 2006
    Posts
    56
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default How to add a tool button to a qlistview header

    Hi all,

    I'd like to add a tool button to a section of the header of a qlistview, as shown in the image attached, but I do not know if it is possible and which is the best way to do it.

    Does anybody has any idea? I'm using Qt 3.3.8.

    Thanks in advance for your help.
    Attached Images Attached Images

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to add a tool button to a qlistview header

    am not sure about QLIstView...
    but u may have a look at QTreeView::setHeader

  3. #3
    Join Date
    Mar 2006
    Posts
    56
    Thanks
    7
    Thanked 3 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to add a tool button to a qlistview header

    Unfortunately I have to work with Qt 3.3.8 so I have no way to use the new Qt 4 functionalities

Similar Threads

  1. problem with Tool button n Layout
    By arjunasd in forum Qt Tools
    Replies: 11
    Last Post: 24th July 2007, 21:14
  2. Replies: 0
    Last Post: 10th November 2006, 13:46
  3. Items in QListView should sort on Header Click
    By vinnu in forum Qt Programming
    Replies: 14
    Last Post: 10th November 2006, 12:49

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.