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. QTableWidget with multiple columns of vertical headers

QTableWidget with multiple columns of vertical headers

Scheduled Pinned Locked Moved General and Desktop
qtablewidgetqwidget
4 Posts 2 Posters 2.4k Views 2 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.
  • J Offline
    J Offline
    jcarnaggio
    wrote on last edited by
    #1

    I am using Qt Creator to create a GUI for a simple computer emulator. For memory, I need 100 slots which can contain input from the user. I would like each slot to be linked to the same table; however, I can't seem to figure out a way to split up the table into five numbered columns. As of right now, I have five separate tables to simulate how I would like one table to look like this.

    Is it possible to do this with QTableWidget or would I be better off trying my luck with another widget?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      It looks rather like a set of QListViews

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        It looks rather like a set of QListViews

        J Offline
        J Offline
        jcarnaggio
        wrote on last edited by
        #3

        @SGaist It's a set of QTableWidgets.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You can try with style sheets

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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