<div dir="ltr"><div><div><div><div><div>this series of patches reworks quite a lot of the way we deal with the mainwindow internally. the idea is to make things more consistent when changing widgets around.<br><br></div>We used  to have a very complex layout of different stack widgets and indexes represeenting states of the application, <br><br></div>now we need to:<br><br></div>registerApplicationState( name, top-left-widget, bottom-left-widget, top-right-widget, bottom-right-widget )<br><br></div>then <br><br>setApplicationState( name ) <br><br></div>when we need to set the state.<br></div>