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. Show vertical header with QSqlQueryModel
Forum Updated to NodeBB v4.3 + New Features

Show vertical header with QSqlQueryModel

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 284 Views
  • 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.
  • yy_pc_programmerY Offline
    yy_pc_programmerY Offline
    yy_pc_programmer
    wrote on last edited by yy_pc_programmer
    #1

    I named the horizontal header. But the line numbers were not shown in the vertical header. How can I show the number numbers in this vertical row? Thank you...!
    Screenshot_2.png
    Screenshot_1.png

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You do not show the vertical header so no numbers are displayed.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • yy_pc_programmerY Offline
        yy_pc_programmerY Offline
        yy_pc_programmer
        wrote on last edited by
        #3

        Understood. But I want to show those row numbers as well. Is this possible? Thanks

        Christian EhrlicherC 1 Reply Last reply
        0
        • yy_pc_programmerY yy_pc_programmer

          Understood. But I want to show those row numbers as well. Is this possible? Thanks

          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @yy_pc_programmer said in Show vertical header with QSqlQueryModel:

          But I want to show those row numbers as well. Is this possible?

          You do not show the vertical header so no numbers are displayed.

          You will see the vertical header when you show them ... so go to your designer and modify your ui file so the vertical header is shown.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          3

          • Login

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