From a395372ccf7b6ce5575aeec627b403c4f9af9647 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Sun, 4 Apr 2021 09:59:41 +0200 Subject: Document change to QAbstractItemView::viewOptions in porting guide We couldn't deprecate and add the replacement in 5.15, so list it explicitly here. Amends c501e09efacb8a60deb41f85f3402f6f4c041d95. Pick-to: 6.0 6.1 Change-Id: I174a7b6214cd8b9579b029ebf57e4d5b2e28e574 Reviewed-by: Christian Ehrlicher --- src/widgets/doc/src/qt6-changes.qdoc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/widgets/doc/src/qt6-changes.qdoc') diff --git a/src/widgets/doc/src/qt6-changes.qdoc b/src/widgets/doc/src/qt6-changes.qdoc index d689ed173b..1f8e97a4ad 100644 --- a/src/widgets/doc/src/qt6-changes.qdoc +++ b/src/widgets/doc/src/qt6-changes.qdoc @@ -80,6 +80,14 @@ The QComboBox::setModel() function is now virtual. + \section1 ItemViews + + \section2 The QAbstractItemView class + + The virtual viewOptions() method that previously returned a QStyleOptionViewItem + object has been renamed to initViewItemOption, and initializes a + QStyleOptionViewItem object that's passed in through a pointer. + \section1 Styling Classes and related APIs All versioned QStyleOption subclasses are consolidated, and the version -- cgit v1.2.3