Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to hide row numbers in Qtablewidget
Qt 6.11 is out! See what's new in the release blog

How to hide row numbers in Qtablewidget

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 18.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adnan
    wrote on last edited by
    #1

    is it possible to hide row numbers in qtablewidget

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MuldeR
      wrote on last edited by
      #2

      Uncheck the "verticalHeaderVisible" property in the Property Editor?

      My OpenSource software at: http://muldersoft.com/

      Qt v4.8.6 MSVC 2013, static/shared: http://goo.gl/BXqhrS

      Go visit the coop: http://youtu.be/Jay...

      1 Reply Last reply
      2
      • C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        bq. is it possible to hide row numbers in qtablewidget

        Yes. In Designer as above, or in code:
        @ ui->tableWidget->verticalHeader()->setVisible(false); @

        (Adapt as required for variable names etc.)

        1 Reply Last reply
        1
        • A Offline
          A Offline
          adnan
          wrote on last edited by
          #4

          thanks! it was pretty simple

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved