Repository navigation
feat(ui): mirror auto helpers on tab headers - #1495
Merged
Merged
Conversation
Exposure tab header gets the Auto wand beside Pick Better; it opens the Tone card's own Auto menu, so both stay in step. Geometry header mirrors Auto Crop and Square to Film; Finish header mirrors Optical Removal and IR Removal (hidden when the scan has no infrared channel). TabHeader.add_mirror forwards clicks to the card button and follows its check, enabled state and explicit hide, also while the card is collapsed. IR gets one icon (mdi6.heat-wave) on IR Removal, the Scan IR toggle and the IR choice; ICE keeps the broom.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
QMenu), so both stay in step.TabHeader.add_mirror(source)forwards clicks to the card button and follows its check, enabled state and explicit hide (ShowToParent/HideToParent, so it works while the card is collapsed). Shortcut tooltips on the mirrors come fromapply_shortcut_tooltips.mdi6.heat-waveon IR Removal, the Scan IR toggle and the IR choice. ICE keeps the broom.src:hashes.Test plan
tests/test_tab_header.py: mirror forwards clicks, follows check/hide/enable, one-shot stays uncheckable, Auto mirror shares the menu