summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2025-02-22 15:07:18 +0100
committerDavid Faure <[email protected]>2025-02-23 10:22:51 +0100
commit408959c8c85badfcd374b21fb2e6071c40e5cba4 (patch)
tree211ee3cb06730aaea56d3c90be187d7e202f2507
parent750be8ec5131e043d3572329cb85a444383b4762 (diff)
Document the default value for QAbstractItemView::editTriggers
Pick-to: 6.9 Change-Id: I4456dcfcecf739299533167867208e1943bc4a26 Reviewed-by: Christian Ehrlicher <[email protected]> Reviewed-by: Thorbjørn Lund Martsum <[email protected]>
-rw-r--r--src/widgets/itemviews/qabstractitemview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/widgets/itemviews/qabstractitemview.cpp b/src/widgets/itemviews/qabstractitemview.cpp
index 798d9bc3716..d5744b456ab 100644
--- a/src/widgets/itemviews/qabstractitemview.cpp
+++ b/src/widgets/itemviews/qabstractitemview.cpp
@@ -1263,6 +1263,12 @@ void QAbstractItemView::doItemsLayout()
\l{EditTrigger}, combined using the OR
operator. The view will only initiate the editing of an item if the
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)
{