Skip to content
  • Felix Ernst's avatar
    Add Selection Mode · 3b7c05b3
    Felix Ernst authored
    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
    3b7c05b3