qt5base-lts/tests/auto/widgets/itemviews
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
..
qabstractitemview testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qcolumnview testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qdatawidgetmapper tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qdirmodel Remove remains of wince in .pro files 2017-07-03 05:32:51 +00:00
qfileiconprovider Updated license headers 2016-01-21 18:55:18 +00:00
qheaderview QHeaderView: Simplify and fix layoutChange handling 2017-11-22 21:24:56 +00:00
qitemdelegate Blacklist tst_QItemDelegate::testLineEditValidation in openSUSE 42.3 2017-09-20 10:06:34 +00:00
qitemeditorfactory Updated license headers 2016-01-21 18:55:18 +00:00
qitemview QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
qlistview testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qlistwidget Plug remaining memleaks in tests/auto/widgets/itemviews 2017-01-26 10:32:51 +00:00
qtableview testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qtablewidget tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qtreeview QTreeView: Make sure QHeaderView is notified on layoutChanged() 2017-12-17 12:42:22 +00:00
qtreewidget tst_QTreeWidget: Fix GCC 7 warnings about using uninitialized variables 2017-06-25 22:04:04 +00:00
qtreewidgetitemiterator tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
itemviews.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00