I would like to write a plugin that simply resizes the qgis main window to make it small. How can I access the qgis main window through the qgis api?
Use Case: We are having problems with qgis taking over the screen, so that the minimization toolbar is inaccessible, and we can't use anything else on the desktop until we have exited qgis. This seems to be a result of incapatability between Qt and our very old windowing system. I know how to fix this problem using the QGIS.conf file or the registry, but we have many users of varying ability, and many are switching between windows and linux (tunneled through Solaris) servers, which can cause the problem to recur. Fixing the problem with repeated edits of the config file (or the windows registry) is really too much to ask of them. So, I want to make a button that they can just press, and fix it.