┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.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/views/dolphinview.h
parentd42fec2315f4b32f7dbc74a00155f7e6abff7738 (diff)
view: Add setting to trigger user set action with double click
Default action is select-all.
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index d4f82ae2f..b55e2ee9b 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -665,6 +665,12 @@ Q_SIGNALS:
*/
void currentDirectoryRemoved();
+ /**
+ * Emitted when the view's background is double-clicked.
+ * Used to trigger an user configured action.
+ */
+ void doubleClickViewBackground(Qt::MouseButton button);
+
protected:
/** Changes the zoom level if Control is pressed during a wheel event. */
void wheelEvent(QWheelEvent *event) override;