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
Forum Updated to NodeBB v4.3 + New Features

How to hide row numbers in Qtablewidget

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 18.0k 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 27 May 2012, 22:11 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 28 May 2012, 00:50 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 28 May 2012, 01:43 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
        0
        • A Offline
          A Offline
          adnan
          wrote on 28 May 2012, 09:08 last edited by
          #4

          thanks! it was pretty simple

          1 Reply Last reply
          0

          1/4

          27 May 2012, 22:11

          • Login

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