Results 1 to 2 of 2

Thread: How to disable serial numbers of QTableWidget

  1. #1
    Join Date
    Dec 2010
    Posts
    33
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Windows

    Default How to disable serial numbers of QTableWidget

    I'm using QTableWidget, but i dont want the row numbers and column numbers which come by default.
    How do i disable them?

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to disable serial numbers of QTableWidget

    horizontalHeader()->hide();
    Same for vertical?

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

    penny (4th January 2011)

Similar Threads

  1. How to disable vertical scroll bar in QTableWidget
    By grsandeep85 in forum Qt Programming
    Replies: 2
    Last Post: 14th October 2009, 12:07
  2. Disable or lock a QTableWidget
    By grub87 in forum Qt Programming
    Replies: 12
    Last Post: 16th July 2009, 18:27
  3. QTableWidget: Disable 'snapping' to rows and columns?
    By PolyVox in forum Qt Programming
    Replies: 2
    Last Post: 8th October 2008, 21:04
  4. Complex Numbers
    By Max Yaffe in forum Qt Programming
    Replies: 2
    Last Post: 24th May 2007, 18:40
  5. Column with numbers
    By ederbs in forum Qt Programming
    Replies: 1
    Last Post: 29th November 2006, 23: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.