Results 1 to 4 of 4

Thread: how to set up a QHeaderView editable?

  1. #1

    Default how to set up a QHeaderView editable?

    i want that when i doubleclick on a column in the header of my qtableview, this column is editable. For that i have trying with some function on my headerView such like 'edit', but has not effect and my header is not editable, i have also to tell you that i get my qtableview editable through function flags just like a example that there is in Qt documentation. But i don't get to edit my header, i need your help.

  2. #2
    Join Date
    Feb 2008
    Posts
    153
    Thanks
    40
    Thanked 8 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Wink Re: how to set up a QHeaderView editable?

    Please search the forum before posting questions.

    Here is a similar thread - http://www.qtcentre.org/forum/f-qt-p...ader-4676.html

  3. #3

    Default Re: how to set up a QHeaderView editable?

    i already saw that post friend, and it don't solve my problem, moreover that post talks about a QTableWidget and my problem is referred to QTableView and QHeaderView where to do that i want is not a easy task like in QTableWidget. So if some people can help me with my problem...post? thanks.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to set up a QHeaderView editable?

    J-P Nurmi

Similar Threads

  1. Replies: 2
    Last Post: 14th August 2007, 15:16
  2. QTreeWidget - Making a Column editable.
    By Preeteesh in forum Qt Programming
    Replies: 1
    Last Post: 16th June 2007, 12:02
  3. QHeaderView as a banner
    By mclark in forum Qt Programming
    Replies: 1
    Last Post: 21st March 2007, 19:28
  4. Editable table header
    By cmaxb in forum Qt Programming
    Replies: 1
    Last Post: 9th December 2006, 12:12
  5. Renumbering Row Headers of QHeaderView
    By mclark in forum Newbie
    Replies: 4
    Last Post: 11th September 2006, 15:04

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.