diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-04-04 09:59:41 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-04 15:46:24 +0000 |
commit | 838029966abf19820d1ea566d65eb366d92917b0 (patch) | |
tree | 57b1dc24b32976d7ae70dcb05fbe9d1823c440b4 /src/widgets | |
parent | 56b54743e001c4af196c1e4786118d88b1d2cd2f (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.
Change-Id: I174a7b6214cd8b9579b029ebf57e4d5b2e28e574
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
(cherry picked from commit a395372ccf7b6ce5575aeec627b403c4f9af9647)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/doc/src/qt6-changes.qdoc | 8 |
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 |