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. Interactive Qheader width resizing with mouse

Interactive Qheader width resizing with mouse

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.9k 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
    derf_r
    wrote on 6 Mar 2012, 15:26 last edited by
    #1

    Hello,

    In a Qheader from a QTableView, is there a way to make the width of lines
    headers resizable with the mouse? Or do I have to use the first column to do
    this?

    Thank you

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Eddy
      wrote on 6 Mar 2012, 15:32 last edited by
      #2

      have a look at "ResizeMode":http://qt-project.org/doc/qt-4.8/qheaderview.html#setResizeMode

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • D Offline
        D Offline
        derf_r
        wrote on 8 Mar 2012, 08:36 last edited by
        #3

        Hello

        As far as I could test it, ResizeMode allows me to modify interactively only the height of the line headers. What I want is to modify the width of the line headers.

        thank you

        1 Reply Last reply
        0

        1/3

        6 Mar 2012, 15:26

        • Login

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