qt5base-lts/tests/auto/widgets/itemviews
David Faure 22b7d21186 Set missing flags in the option when rendering QTreeView drag pixmap
QAbstractItemViewPrivate::renderToPixmap was not setting all the flags
that the normal QTreeView painting sets:
option.showDecorationSelected, option.viewItemPosition (so the drag pixmap
looked wrong on Windows 7, with rects around each cell), and then the
unittest also discovered that State_Children/State_Sibling wasn't set either.

Task-number: QTBUG-15834
Merge-request: 2517

(cherry picked from Qt4 commit d63910575949106f84dacf04abaa14fc866aa66b)

Change-Id: I0a5014d960543c3ed8fea73d6df578e7e521b0e0
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2012-01-12 08:31:17 +01:00
..
qabstractitemview Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qcolumnview Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qdatawidgetmapper Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qdirmodel Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qfileiconprovider Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qheaderview Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qitemdelegate Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qitemeditorfactory Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qitemview Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qlistview Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qlistwidget Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qstandarditem Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qstandarditemmodel Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qtableview Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qtablewidget Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qtreeview Set missing flags in the option when rendering QTreeView drag pixmap 2012-01-12 08:31:17 +01:00
qtreewidget Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
qtreewidgetitemiterator Update copyright year in license headers. 2012-01-05 06:36:56 +01:00
itemviews.pro Move proxy and selection models to QtCore. 2011-12-16 13:00:57 +01:00