[QHeaderView] Resize width of verticalheader/ Resize height of horizontalheader ?
Hello, :)
i'm fighting around with a problem, and i dont see the solution yet.
What i want to realize is to let the user resize the width of a verticalheader and the height of a horizontalheader.
Is that possible ?
I have a screenshot included. (red arrows are de direction of the resize, black arrows are the placed where i want to get the resize cursor).
http://i225.photobucket.com/albums/d...sizeHeader.jpg
Re: [QHeaderView] Resize width of verticalheader/ Resize height of horizontalheader ?
Not out of the box. You'll have to handle mouse events yourself and modify the viewport margins that determine the size of each header. If that's not enough, then it will be required to reimplement resizeEvent for the widget as well.
Re: [QHeaderView] Resize width of verticalheader/ Resize height of horizontalheader ?
Quote:
Originally Posted by
wysota
Not out of the box. You'll have to handle mouse events yourself and modify the viewport margins that determine the size of each header. If that's not enough, then it will be required to reimplement resizeEvent for the widget as well.
Ok thx, i already thought that there wasn't a ready to use solution available. Thx for your answer. :)