qt5base-lts/tests/auto/widgets
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
..
dialogs Merge remote-tracking branch 'origin/stable' into dev 2013-11-26 22:35:48 +01:00
effects QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
graphicsview Add proper abstractions to the grid layout engine. 2013-12-05 17:20:35 +01:00
itemviews Merge remote-tracking branch 'origin/stable' into dev 2013-11-26 22:35:48 +01:00
kernel Merge remote-tracking branch 'origin/stable' into dev 2013-11-26 22:35:48 +01:00
styles Test password mask delay and characters on Mac. 2013-07-11 10:56:49 +02:00
util QCompleter::setFilterMode() add property filterMode. 2013-09-20 23:45:06 +02:00
widgets QComboBox: fix keyboard selection with multiple character strings. 2013-12-04 13:19:57 +01:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00