┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kitemlistcontroller.h
diff options
context:
space:
mode:
authorGeorge Florea Bănuș <[email protected]>2024-05-08 08:11:56 +0000
committerMéven Car <[email protected]>2024-05-08 08:11:56 +0000
commit65d7ef184acf97e7881050df88ddace97bde4b93 (patch)
tree867a15204eca1e88420e7e707389936ac0bed3c7 /src/kitemviews/kitemlistcontroller.h
parentd42fec2315f4b32f7dbc74a00155f7e6abff7738 (diff)
view: Add setting to trigger user set action with double click
Default action is select-all.
Diffstat (limited to 'src/kitemviews/kitemlistcontroller.h')
-rw-r--r--src/kitemviews/kitemlistcontroller.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kitemviews/kitemlistcontroller.h b/src/kitemviews/kitemlistcontroller.h
index ccfc76267..fcb971fb7 100644
--- a/src/kitemviews/kitemlistcontroller.h
+++ b/src/kitemviews/kitemlistcontroller.h
@@ -230,6 +230,12 @@ Q_SIGNALS:
void decreaseZoom();
void swipeUp();
+ /**
+ * Emitted when the view's background is double-clicked.
+ * Used to trigger an user configured action.
+ */
+ void doubleClickViewBackground(Qt::MouseButton button);
+
public Q_SLOTS:
void slotStateChanged(QScroller::State newState);