path: root/src/widgets/doc/src/qt6-changes.qdoc
diff options
authorVolker Hilsheimer <>2021-04-04 09:59:41 +0200
committerVolker Hilsheimer <>2021-04-04 11:02:42 +0200
commita395372ccf7b6ce5575aeec627b403c4f9af9647 (patch)
tree4b08353f5df624112092c6c99ec19214912dea4d /src/widgets/doc/src/qt6-changes.qdoc
parent451fb66212b015b44a017e05a224af2df9a95755 (diff)
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 <>
Diffstat (limited to 'src/widgets/doc/src/qt6-changes.qdoc')
1 files changed, 8 insertions, 0 deletions
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