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 Header Text

QTableWidget Header Text

Scheduled Pinned Locked Moved Solved General and Desktop
qt4designerqtablewidgetstylesheet
6 Posts 2 Posters 3.6k 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.
  • D Offline
    D Offline
    DougyDrumz
    wrote on last edited by
    #1

    I know how to set the row and column header text in code, but how do you set it in designer? In a stylesheet?

    Dougy Drumz

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Right click it and select "Edit Items " in top of menu.

      1 Reply Last reply
      2
      • D Offline
        D Offline
        DougyDrumz
        wrote on last edited by
        #3

        Thanks! Now I remember this from the tab widget.

        Is there a way to specify a width for the columns?

        Dougy Drumz

        mrjjM 1 Reply Last reply
        0
        • D DougyDrumz

          Thanks! Now I remember this from the tab widget.

          Is there a way to specify a width for the columns?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @DougyDrumz
          Not that I have seen. :)
          Note: there is the properties button to
          allow font change and text alignment with more etc.

          1 Reply Last reply
          1
          • D Offline
            D Offline
            DougyDrumz
            wrote on last edited by
            #5

            Thanks. I know how to do it in code, so I'll handle it there.

            Dougy Drumz

            mrjjM 1 Reply Last reply
            0
            • D DougyDrumz

              Thanks. I know how to do it in code, so I'll handle it there.

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @DougyDrumz
              Well it would be nice if one could just grab and drag to size them.
              maybe in 6.5 :)

              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