[Interest] Preventing QMdiSubWindow from moving outside visible area in QMdiArea

Thomas Robitaille thomas.robitaille at gmail.com
Wed Jan 16 17:39:40 CET 2019


Hi all,

I am building an application which has a QMdiArea containing
QMdiSubWindows that can be moved around by the user. In the case where
the scroll policy is ScrollBarAlwaysOff, I've found that sub windows
can still be moved beyond the edge of the QMdiArea (and even 'lost' if
the window is resized to be made smaller).

Is there any way to make it so that the QMdiArea has a 'hard' edge, so
that it's not possible to move any sub-window out of it?

Thanks!
Tom



More information about the Interest mailing list