I will simply reuse the showEvent.

Simply holds position and size data in variables.
When I enter the showEvent, if those data aren't equals to 0, I'll use them and set variables to 0.