qt5base-lts/tests/auto/widgets
Christian Ehrlicher 93dabeba9d QTreeView: Make sure QHeaderView is notified on layoutChanged()
QHeaderViewPrivate::_q_layoutChanged() was not called when used in a
QTreeView because it was explicitly disconnected in setModel().
The disconnect was added sometime prio to Qt 4.3, but there the signal
was connected to the doItemsLayout() slot. This was correct since
QTreeView::doItemsLayout() is calling header->doItemsLayout().
In Qt 4.3.0 _q_layoutChanged() was introduced and the disconnect was
adjusted. But since _q_layoutChanged() is doing much more than
doItemsLayout() (e.g. restoring hidden sections), functionality was
lost. The problem was already observed for Qt 4.6 (QTBUG-18196) but
only partially fixed.

Task-number: QTBUG-41124
Task-number: QTBUG-54610
Change-Id: Id13a9930d0163812e12a0287016bab9c3aa02068
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2017-12-17 12:42:22 +00:00
..
dialogs tst_QFileSystemModel: Stabilize readOnly(), sortPersistentIndex() 2017-11-30 10:16:48 +00:00
effects Set sharedPainter correctly for QGraphicsEffect 2017-12-12 20:21:07 +00:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
graphicsview testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
itemviews QTreeView: Make sure QHeaderView is notified on layoutChanged() 2017-12-17 12:42:22 +00:00
kernel tst_QWidget::multipleToplevelFocusCheck(): Avoid overlapping 2017-11-06 14:39:18 +00:00
styles testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
util testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
widgets Blacklist tst_QSplitter::replaceWidget(visible, not collapsed) for Linux 2017-12-01 09:53:01 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00