From 3b7c05b385dc56fbc0b9ffdd332f8d30e7624d0c Mon Sep 17 00:00:00 2001 From: Felix Ernst Date: Sun, 12 Sep 2021 15:33:39 +0200 Subject: Add Selection Mode The selection mode action is a checkable toggle action named "Select Files and Folders" which has "Space" as the default shortcut. In selection mode a bottom bar with contextual actions is shown. These should mostly mirror the actions which are available through the right-click context menu aka DolphinContextMenu. Resizing of the window might make a overflow button appear in the bottom selection mode bar. This commit makes press and hold in the view activate selection mode. This behaviour is not triggered if the press and hold is used to either start a rubberband selection or a drag operation within a short time. The length of the short timeframe is defined by a QStyleHint. This is currently not implemented in touch because I can't test it. Mix the selection mode bars' background colors using a nice combination of colors from the current color scheme BUG: 427202 --- src/dolphinui.rc | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'src/dolphinui.rc') diff --git a/src/dolphinui.rc b/src/dolphinui.rc index b6afe2abb..a23912608 100644 --- a/src/dolphinui.rc +++ b/src/dolphinui.rc @@ -1,6 +1,6 @@ - + @@ -31,6 +31,7 @@ + @@ -80,7 +81,6 @@ - @@ -92,23 +92,11 @@ - - - - - - - - - - - - @@ -125,6 +113,7 @@ + -- cgit v1.3