ae0fd6884d
This patch adds SizeAdjustPolicy to QAbstractScrollArea. If it is set to AdjustToContents it will make use of the new protected viewportSizeHint() (BC since it was reserved in Qt5). This function returns a suggested size based on contents. Change-Id: I5d8aa517e88b8b21c5712e62b4d574c3aad99d3b Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> |
||
---|---|---|
.. | ||
images | ||
main.cpp | ||
printview.cpp | ||
printview.h | ||
spreadsheet.cpp | ||
spreadsheet.h | ||
spreadsheet.pro | ||
spreadsheet.qrc | ||
spreadsheetdelegate.cpp | ||
spreadsheetdelegate.h | ||
spreadsheetitem.cpp | ||
spreadsheetitem.h |