QMdiSubWindow with QGraphicsView not always fully drawn
I have a QMdiSubWindow with QGraphicsView inside. There is a problem with rendering this window when it is being resized beyond some (seems to cached) size, see Picture 1
When I minimize and restore this window it is getting redrawn correctly, see Picture 2
This last fully redrawn size seems to be somehow "remembered" as maximum for the following attempts to resize window further. Window is redrawn correctly if I move low-right corner to make window smaller. But when I move mouse to enlarge the window that remembered (after last minimize/restore) size acts as maximum rendering rectangle. Everything beyond this rectangle is not redrawn. The "logical" state of resize seems to work correctly - I can move low-right corner as much I want. When I release mouse button all I have to do to get entire window redrawn is to minimize/restore it again. It will then be redrawn up to the point where I released mouse and this will become new "draw clipping" rectangle - until next minimize/restore operation.
Does anyone have an idea how can I force entire QMdiSubWindow to be redrawn while I am resizing it? (I tried update(), repaint(), ...)