qt5base-lts/tests/auto/widgets/graphicsview
Jan Arve Saether 6c322a917a Add proper abstractions to the grid layout engine.
The abstractions are needed so that they can work with both
QGraphicsLayouts and QtQuick.Layouts.

Since the plan is to move the engine to QtGui, this means that the
engine cannot have any references to anything in the QtWidgets module.

As a consequence of that several things had to be done:
* The style info object had to be redone with an abstraction layer
  to get rid of style and widget dependency. (Abstract class is
  called QAbstractLayoutStyleInfo)
* QGridLayoutEngine must be subclassed due to some specializations for
  QGraphicsLayoutItem, manifested as QGraphicsGridLayoutEngine.
* QGridLayoutItem must be subclassed due to some specializations for
  QGraphicsLayoutItem, manifested as QGraphicsGridLayoutEngineItem.

Did also some minor cleanups, reordered arguments so that all styleInfo
arguments are last in all function calls

This also fixes QTBUG-35099 (bug was spotted during this refactoring)

Task-number: QTBUG-35099

Change-Id: If49d40f71870dc8d99d2e145be158e3080b595fa
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
2013-12-05 17:20:35 +01:00
..
qgraphicsanchorlayout widget/graphicsview: Do not run tests showing windows in parallel. 2013-06-03 13:48:41 +02:00
qgraphicsanchorlayout1 QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicseffectsource widget/graphicsview: Do not run tests showing windows in parallel. 2013-06-03 13:48:41 +02:00
qgraphicsgridlayout Merge remote-tracking branch 'origin/stable' into dev 2013-06-04 19:34:36 +02:00
qgraphicsitem Merge remote-tracking branch 'origin/stable' into dev 2013-11-26 22:35:48 +01:00
qgraphicsitemanimation QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicslayout QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicslayoutitem QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicslinearlayout Add proper abstractions to the grid layout engine. 2013-12-05 17:20:35 +01:00
qgraphicsobject QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicspixmapitem QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicspolygonitem QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicsproxywidget Skip tst_QGraphicsProxyWidget::popup_subwidget on Windows. 2013-09-03 12:48:03 +02:00
qgraphicsscene Merge remote-tracking branch 'origin/stable' into dev 2013-11-26 22:35:48 +01:00
qgraphicssceneindex Merge remote-tracking branch 'origin/stable' into dev 2013-07-23 11:18:11 +02:00
qgraphicstransform QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicsview Stabilize tst_QGraphicsView::hoverLeave(). 2013-11-20 18:18:55 +01:00
qgraphicswidget Stabilize tst_QGraphicsWidget::updateFocusChainWhenChildDie(). 2013-11-20 18:19:01 +01:00
graphicsview.pro Re-enable tests tst_qgraphicsproxywidget, tst_qgraphicswidget. 2013-07-24 22:16:58 +02:00