diff options
Diffstat (limited to 'src/widgets/itemviews/qstyleditemdelegate.cpp')
-rw-r--r-- | src/widgets/itemviews/qstyleditemdelegate.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/widgets/itemviews/qstyleditemdelegate.cpp b/src/widgets/itemviews/qstyleditemdelegate.cpp index 02ae80ca0b..fce80341e1 100644 --- a/src/widgets/itemviews/qstyleditemdelegate.cpp +++ b/src/widgets/itemviews/qstyleditemdelegate.cpp @@ -603,21 +603,21 @@ void QStyledItemDelegate::setItemEditorFactory(QItemEditorFactory *factory) key press events are handled by default: \list - \li \gui Tab - \li \gui Backtab - \li \gui Enter - \li \gui Return - \li \gui Esc + \li \uicontrol Tab + \li \uicontrol Backtab + \li \uicontrol Enter + \li \uicontrol Return + \li \uicontrol Esc \endlist - In the case of \gui Tab, \gui Backtab, \gui Enter and \gui Return + In the case of \uicontrol Tab, \uicontrol Backtab, \uicontrol Enter and \uicontrol Return key press events, the \a editor's data is comitted to the model - and the editor is closed. If the \a event is a \gui Tab key press + and the editor is closed. If the \a event is a \uicontrol Tab key press the view will open an editor on the next item in the - view. Likewise, if the \a event is a \gui Backtab key press the + view. Likewise, if the \a event is a \uicontrol Backtab key press the view will open an editor on the \e previous item in the view. - If the event is a \gui Esc key press event, the \a editor is + If the event is a \uicontrol Esc key press event, the \a editor is closed \e without committing its data. \sa commitData(), closeEditor() |