One can place QSizeGrip to any corner and it will automatically adjust its behavior. For horizontal and vertical resize mode you will need something custom:
I suggest taking a sneak into QSizeGrip sources for more detailed implementation hints.
- catch the point of mouse press event
- resize the window on the fly in mouse move event
Bookmarks