Skip to content

Enable event and channel dialog navigation#230

Merged
arnodelorme merged 2 commits into
developfrom
agent/20260613-fix-228
Jun 17, 2026
Merged

Enable event and channel dialog navigation#230
arnodelorme merged 2 commits into
developfrom
agent/20260613-fix-228

Conversation

@claude

@claude claude Bot commented Jun 13, 2026

Copy link
Copy Markdown

Enable browsing in the pop_editeventvals and pop_chanedit dialogs by wiring their navigation buttons to shared Qt form-refresh callbacks. Normalize empty MATLAB-style event values when building the event dialog, and add sample_data coverage for both event and channel navigation.

Fixes #228

The dialog wired the <<, <, >, >> nav buttons as enabled=False and
provided no callback, so users could only browse event 1 even with many
events in EEG.event. Enable the four buttons when len(events) > 1, ship
each one with a navigate_event CallbackSpec carrying its delta plus the
per-event display values, and handle the callback in the Qt renderer to
clamp the eventnum into [1, N] and refresh the field_* widgets.

Fixes #228
@suraj-ranganath suraj-ranganath changed the title Enable event navigation in pop_editeventvals dialog Enable event and channel dialog navigation Jun 14, 2026
@arnodelorme arnodelorme merged commit 59a6070 into develop Jun 17, 2026
9 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.

Event and channel browsing -- pop_editeventvals and pop_chanedit

2 participants