summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.cpp
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2025-02-24 16:44:28 +0100
committerDavid Faure <david.faure@kdab.com>2025-02-28 00:02:16 +0100
commitd2efb6faba994d53068568eafaee042f49425a66 (patch)
treebf8ac6d30ba63a1790ee21289182e8b58410e862 /src/corelib/tools/qsharedpointer.cpp
parent9245d0a0f0761364e7b5b3d1c5c96cba16522820 (diff)
QAbstractItemDelegate: add handleEditorEvent()
QItemDelegate and QStyledItemDelegate had this exact implementation already, the actual code being in QAbstractItemDelegatePrivate. If someone writes their own delegate by deriving from QAbstractItemDelegate, they had no way to call the default event filter code (to get Enter to commit, Esc to abort editing etc.). [ChangeLog][QtWidgets][QAbstractItemDelegate] The base class now provides a handleEditorEvent() method, which provides the same event handling as in QItemDelegate and QStyledItemDelegate, including Tab, Enter, Esc keys and focus out handling. Change-Id: I1b560d8a1b348e3b3bb5cfc3162f9b265b706684 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions