diff options
author | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:17 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-10 09:11:23 +0200 |
commit | 9456528aac80c6d4c41fa96d88696dc55414b710 (patch) | |
tree | f9fdcc9cd3c7468503590bec7ed082294a0cffde /src/widgets/itemviews/qstyleditemdelegate.cpp | |
parent | 75552c8f62dcfb8012c306b37c79ec629448d780 (diff) | |
parent | ee38dec6f3aff6f7f277323c5c8488d4cd385693 (diff) |
Merge branch 'docs-refactoring' into master
Change-Id: Iebd1966abace3cdf7f9428dcfc1ded5b124ab113
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() |