Yes, because MainView has width and height properties, and all that is necessary is to save them on exit and load them on the app's starting.
No, because although that works, it doesn't take into account the window being maximized. So if the window was maximized when exiting, the window will load in a non-maximized state with the size of the maximized window. Not good.
So there needs to be some other way to do this, other then just saving/restoring the width and height of the MainView.
Yes and no in regards to doing this in pure QML.
Yes, because MainView has width and height properties, and all that is necessary is to save them on exit and load them on the app's starting.
No, because although that works, it doesn't take into account the window being maximized. So if the window was maximized when exiting, the window will load in a non-maximized state with the size of the maximized window. Not good.
So there needs to be some other way to do this, other then just saving/restoring the width and height of the MainView.