Skip to content

feat(ui): add Help menu with shortcuts and links - #56

Merged
blocksmith314 merged 1 commit into
mainfrom
feature/help-menu
Nov 9, 2026
Merged

blocksmith314 merged 1 commit into
mainfrom
feature/help-menu

Conversation

@blocksmith314

Copy link
Copy Markdown
Owner

Summary

Fixes #54: fills the Help menu, which was empty after Qt moved the About action to the application menu on macOS.

  • Keyboard Shortcuts: dialog listing Open, Recent files, Play/pause, Previous/next frame, Leave fullscreen and Quit. Labels come from QKeySequence::toString(NativeText), so macOS shows Cmd and other platforms Ctrl; the recent-file range uses QKeyCombination.
  • Documentation: opens the project README.
  • Report an Issue: opens the GitHub issues page.
  • About remains in the application menu on macOS.

Verification

  • ctest: 65/65 pass (new HelpMenuHasEntries test).
  • ./test/tools/tidy.sh mainwindow.cpp mainwindow.h test/test_gui.cpp: 0 issues.

Fixes #54

- Keyboard Shortcuts dialog generated from QKeySequence so labels use the
  platform-native modifiers (Cmd on macOS, Ctrl elsewhere)
- Documentation and Report an Issue open the GitHub pages
- About stays in the application menu on macOS (Qt AboutRole)
- add a GUI test for the Help menu entries
@blocksmith314
blocksmith314 merged commit 7a22f64 into main Nov 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Help menu with usage information and links

1 participant