qt5base-lts/tests/auto/widgets
Jeremy Lainé 28881c0c91 Make QGraphicsView respect scrollbar policies
When calculating the maximum height / width which a QGraphicsView can display,
make sure we only take the scrollbars' dimensions into account if their policy
is set to Qt::ScrollBarAsNeeded:

- if the policy is set to Qt::ScrollBarAlwaysOff, the scrollbar will not be
  displayed at all

- if the policy is set to Qt::ScrollBarAlwaysOn, the scrollbar's dimensions
have already been substracted from the available space by
QAbstractScrollArea::maximumViewportSize()

Task-number: QTBUG-14711
Change-Id: If5d24b41dbe7b089abca2bf61ccbd370d4de79a1
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
2012-08-31 16:29:43 +02:00
..
dialogs Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
effects Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
graphicsview Make QGraphicsView respect scrollbar policies 2012-08-31 16:29:43 +02:00
itemviews Fixed the QTreeView expansion/collpasing when animated 2012-08-29 20:40:17 +02:00
kernel Fix updating of drag icons. 2012-08-31 16:10:25 +02:00
styles Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
util Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00
widgets Fix limitting shortcuts to keypad only 2012-08-27 10:27:30 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00