Results 1 to 5 of 5

Thread: get rid of grid lines & vertical table header in QTableView

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: get rid of grid lines & vertical table header in QTableView

    Not literally no... But then you did not ask for python. You need to identify the vertical header object of the view in a Pythonic fashion and then you need to call its setVisible method. If I had to guess then
    Qt Code:
    1. self.verticalHeader.setVisible(false)
    To copy to clipboard, switch view to plain text mode 

    QStyledItemDelegate but do check out the QListView first.

  2. The following user says thank you to ChrisW67 for this useful post:


Similar Threads

  1. Vertical label on table horizontal header
    By ipkiss in forum Qt Programming
    Replies: 1
    Last Post: 11th February 2014, 19:03
  2. Replies: 3
    Last Post: 20th January 2011, 13:24
  3. Resizing vertical header in QTableView
    By p.csakany in forum Qt Programming
    Replies: 3
    Last Post: 1st November 2010, 23:06
  4. Qtableview Vertical header order
    By Darthspawn in forum Qt Programming
    Replies: 4
    Last Post: 26th March 2010, 15:10
  5. Showing Icon in vertical header of a table
    By vishal.chauhan in forum Qt Programming
    Replies: 7
    Last Post: 15th January 2007, 10:44

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
  •  
Qt is a trademark of The Qt Company.