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

Interactive Qheader width resizing with mouse

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 2.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.
  • D Offline
    D Offline
    derf_r
    wrote on 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
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on 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 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

        • Login

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