enum QAbstractItemView::EditTrigger
flags QAbstractItemView::EditTriggers
This enum describes actions which will initiate item editing.
Constant
Value
Description
QAbstractItemView::NoEditTriggers
No editing possible.
QAbstractItemView::CurrentChanged
Editing start whenever current item changes.
QAbstractItemView::DoubleClicked
Editing starts when an item is double clicked.
QAbstractItemView::SelectedClicked
Editing starts when clicking on an already selected item.
QAbstractItemView::EditKeyPressed
Editing starts when the platform edit key has been pressed over an item.
QAbstractItemView::AnyKeyPressed
Editing starts when any key is pressed over an item.
QAbstractItemView::AllEditTriggers
Editing starts for all above actions.
The EditTriggers type is a typedef for QFlags<EditTrigger>. It stores an OR combination of EditTrigger values.