Results 1 to 3 of 3

Thread: how can i change the text in the header?

  1. #1
    Join Date
    Aug 2009
    Posts
    7
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default how can i change the text in the header?

    look at the picture.
    i want to change the text "name" to other words.
    how can i change it?
    Attached Images Attached Images

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: how can i change the text in the header?

    It would be helpful if you could say the next time, what Qt classes you use. For now, see QTreeWidget::setHeaderLabel() or QTreeView::header().

  3. The following user says thank you to Lykurg for this useful post:

    snowdream (22nd August 2009)

  4. #3
    Join Date
    Aug 2009
    Posts
    7
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how can i change the text in the header?

    thank you!

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 09:49
  2. Change QTableWidget header name or text
    By ricardo in forum Qt Programming
    Replies: 3
    Last Post: 14th May 2009, 11:37
  3. Replies: 1
    Last Post: 3rd September 2008, 14:16
  4. Replies: 8
    Last Post: 15th May 2007, 09:21
  5. Can't change the text display of a QTreeview item.
    By johnny_sparx in forum Qt Programming
    Replies: 3
    Last Post: 2nd June 2006, 01:03

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.