Document the default value for QAbstractItemView::editTriggers

Pick-to: 6.9
Change-Id: I4456dcfcecf739299533167867208e1943bc4a26
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
This commit is contained in:
David Faure 2025-02-22 15:07:18 +01:00
parent 750be8ec51
commit 408959c8c8

View File

@ -1263,6 +1263,12 @@ void QAbstractItemView::doItemsLayout()
\l{EditTrigger}, combined using the OR \l{EditTrigger}, combined using the OR
operator. The view will only initiate the editing of an item if the operator. The view will only initiate the editing of an item if the
action performed is set in this property. action performed is set in this property.
The default value is:
\list
\li for QTableView: DoubleClicked|AnyKeyPressed
\li for all other views: DoubleClicked|EditKeyPressed
\endlist
*/ */
void QAbstractItemView::setEditTriggers(EditTriggers actions) void QAbstractItemView::setEditTriggers(EditTriggers actions)
{ {