Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

ui: Keyboard controls #935

Merged
merged 59 commits into from
Mar 2, 2020
Merged

ui: Keyboard controls #935

merged 59 commits into from
Mar 2, 2020

Conversation

egraether
Copy link
Contributor

  • switch focus between views with Tab
  • move focus within views with WASD/HJKL/Arrows
  • move focus between graph edges by holding Shift
  • move focus between code references by holding Shift
  • removed graph panning with WASD and moved zooming to Alt + W/S
  • removed graph navigation by pressing starting character in graph view lists
  • changed local reference and custom trail shortcuts
  • updated Keyboard Shortcuts window
  • use common back and forward shortcuts and YZ & Shift + YZ
  • fix macOS issue where widgets don't get proper focus after creating a new tab
  • don't use shared_ptr in QtMainView

fixes #486, #327, #214, #210

egraether added 30 commits March 2, 2020 11:58
focus nodes

focus edge

graph node navigation

WASD, HJKL, activate & expand

navigate edges part1

navigate edges part 2

navigate edges part 3

fix for trail graphs

fixed group nodes

focus node after expand/collapse and move into view

check focusable nodes

focus initial node, increase focus into view range and set and remove focus on view

fixed mouse cursor stealing focus while animating scroll

get edge focus color from color scheme

graph node focus color

keep visilbe focus during graph animation

moved focus handler implementation to focus handler class

refactor

more refactor

renamed to GraphFocusHandler

moved focushandler in QtGraphNode

fixed focus stayed at previous node after search

fixed group node only border highlight

fixed focus and cofocus issues

better trail call edge coloring

catch key presses in QtCodeNavigator

rename focus to coFocus in code view

focus hovered location

focus hovered line

navigate up and down within snippet

navigate left & right in line

keep vertical location position if possible between lines

activate focus

move focus in snippet mode, focus and activate scope expansions

move focus between snippets

move focus between fils

focus file title

collapse and expand files

removed deprecated focus getters

don't focus empty lines

made QtCodeNavigator a CodeFocusHandler

keep focus in last explicit column

fixed keep focus at just collapsed node when focus was at member

set focus on location id

rebase fixes

apply clang format
@egraether egraether merged commit b061677 into master Mar 2, 2020
@mlangkabel mlangkabel deleted the keyboard_controls branch March 2, 2020 15:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add common back/forward shortcuts
2 participants