BUG: The makefixdebug hack wasn't applied to the unit tests, making them crash.
COMP: Use the correct #ifdef for Windows in Qt5. The correct one is Q_OS_WIN, and the former Q_WS_WIN has been removed in Qt5.
ENH: Add new layout class RelativeGeometryLayout, that lays out items according to the relative geometry associated with each item.
COMP: Remove include of q2viewerwidget.h in viewerslayout.h, a forward declaration is enough. This in turn implies adding the corresponding includes and forward declarations in other places.
ENH: Use the RelativeGeometryLayout in ViewersLayout for all cases, both for grid distributions and custom distributions. This greatly simplifies ViewersLayout, that now it always uses the same layout class instead of switching between a grid layout and no layout as before.
COMP: Add const specifier to two methods.
ENH: Add a method to ScreenManager to check if a given window is maximized to multiple screens.
ENH: Increase the width and height of the maximization to multiple screens by 1 pixel each, to compensate for the fact that right() and bottom() don't return the true right and bottom, but 1 pixel less instead.
DOC: Fix typo.
ENH: Add new methods to get additional information from DynamicMatrix.
ENH: Make the computeScreenMatrix() method from ScreenManager public and const.
ENH: Add a new method to ViewersLayout that maximizes or demaximizes a given viewer. A maximized viewer fills the entire window or the part of the window in a screen if the window is maximized to mulitple screens.
ENH: Viewers can be maximized or demaximized with double click, except when an incompatible tool is active.