Repository navigation
Description
EEGPrep checks each EEGLAB function on its own, in one issue, for both the window and the numbers (Arno, November 26, 2026). This issue is supergui (shared dialog code), all menu: The code that draws every dialog. inputgui, the thin wrapper around it, has its own issue since November 26, 2026 (Arno: "it should be split, although inputgui can reference supergui issue"): #764. It stays open until the window and the numbers are both acceptably close to EEGLAB's, even when a pull request is merged or closed.
- Window: needs work. Rows share the height of a fixed-size dialog (722), checked boxes keep their square on Linux (754), scrolling panels are blue (719), disabled list boxes are greyed (755), all merged. On the Mac a checkbox row was taller than an edit row (774, merged).
- Numbers: none.
- What remains: Merge 778 (a dialog could be drawn with the style sheet of an earlier one) and 776 (one row height per platform sets the height of a window without one). 61 dialogs still give a height in pixels (rule 26). A look at the windows on the Mac at night.
- Fixes (sub-issues): supergui: checked boxes and radio buttons are drawn without their square or circle on Linux #752, supergui: a disabled list box looks enabled #753, supergui: on the Mac a checkbox row is taller than an edit row and the box starts 2 pixels left #772, supergui: develop fails test_disabled_list_box_is_greyed in the full suite, a dialog is drawn with an earlier dialog's style sheet #779
- Open pull requests: [GUI] Parse the dialog style sheet afresh so a dialog never inherits another one's #778, [GUI] Size a dialog from its rows, one row height per platform, never shorter than its content #776
- Menu issue: EEGPrep versus EEGLAB, File menu: side-by-side screen captures, numerical tests and PDF report #696. The progress of every function is in the table of https://github.com/adelorme-assistant/project_eegprep#progress-of-the-port
Graphics
pop_reref with the native Mac style, before and after pull request 774.
Earlier captures
pop_importepoch, before and after pull request 722.
pop_importevent, before and after pull request 722.
pop_importerplab, before and after pull request 722.
pop_study, before and after pull request 722.
pop_epoch (Tools menu), before and after pull request 722.
pop_rejmenu (Tools menu), before and after pull request 722.
Checked boxes (issue 752, pull request 754): pop_chanevent in EEGLAB, EEGPrep before, EEGPrep after.
Every checkbox and radio button state in a test window, before and after pull request 754.
A disabled list box in a test window, before and after pull request 755 (issue 753).
November 27, issue 772: pop_export with the native Mac style, before and after pull request 774.
Captured on jamming under a virtual screen (EEGLAB with getframe, EEGPrep with the Qt widget grab), and on the Mac where said.
The window: what differs from EEGLAB
- This issue holds the fixes that belong to no single function, because they change the code that draws every dialog.
- Pull request 722 (merged, filed under pop_importdata, issue 700): a dialog with a fixed size stacked its rows at the top. The rows now share the height, as
superguidoes. 49 dialogs across all menus move the same way. In the File menu, 21 of 27 windows are identical before and after. - Column widths stay as they are: sizing by the text of the labels is fine, only the vertical layout is corrected (rule 23).
- A checked box was drawn as a check mark without its square on Linux, and radio buttons had no circle. Fixed in pull request 754 (merged).
- A disabled list box looked enabled. Fixed in pull request 755 (merged).
- On the Mac a checkbox row was 26 pixels high against 20 for an edit row, and the box started 2 pixels left of the edit column. Pull request 774 makes the layout use the widget's own rectangle. On Linux nothing changes. With the Mac style 31 dialogs change by a few pixels.
- A dialog with a width and no height (pop_chanevent) lost its blank rows with pull request 722. Pull request 773 shares the height among the rows only when the height is fixed.
The numbers: same file in both programs
- None.
Files
- Before and after report (Word and PDF): https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/pr-700
- File menu report with Arno's comments: https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/file-menu-2026-11-26
- Rules for the window work: https://github.com/adelorme-assistant/project_eegprep/blob/main/rules/gui-parity.md











Activity
claude commentedon Nov 27, 2026
🤖 Plan:
Research
Both remaining Linux items appear to come from
_apply_eeglab_style(found by reading the code; not reproduced, since Qt cannot render on this runner). The checkbox indicator is styled only for:unchecked(white fill plus grey border). Qt's stylesheet engine draws that rule itself, but for:checkedthe rule has nothing to draw, so it falls back to the platform style, which draws a check mark with no matching square.QListWidgethas no:disabledrule, whileQLineEditandQComboBoxdo, so a disabled list keeps the white background and dark text.Relevant code
qt.py#L876-L883- indicator styled for unchecked onlyqt.py#L809-L819- ComboBox has:disabled, ListWidget does notqt.py#L342-control.enabledapplied to every widgettheme.py#L10-L13- disabled coloursProposed Fix
Disabled list box: add a rule that reuses the existing disabled colours:
Checkbox: change the
:uncheckedselector toQCheckBox::indicatorso both states get the square. The stylesheet then draws the checked state too, and the platform check mark is lost, so also addQCheckBox::indicator:checked { image: url(<packaged check-mark SVG>); }, with a small SVG undersrc/eegprep/resources/that matches the MATLAB check glyph. Together that is about 10 lines inqt.pyplus one resource. Someone with a display should capture pop_epoch and pop_runica (checked boxes, list box) before and after, and check them on macOS, which this runner cannot do.Neither fix overlaps #722; the macOS check stays open as listed in the issue.
[-]supergui and inputgui (shared dialog code): graphical parity with EEGLAB[/-][+]supergui (with inputgui, the shared dialog code): graphical parity with EEGLAB[/+][-]supergui (with inputgui, the shared dialog code): graphical parity with EEGLAB[/-][+]supergui (the shared dialog code): graphical parity with EEGLAB[/+]arnodelorme commentedon Nov 29, 2026
Two points from Arno's feedback of November 29, 2026 that belong to the shared dialog code.
— orchestrator
arnodelorme commentedon Nov 29, 2026
Pull request #878 (dialogs laid out as EEGLAB's supergui does) was merged into develop on November 29, 2026. EEGPrep's supergui is now a port of the arithmetic of supergui.m, so the graphical parity of the shared dialog code may be reached once all dialogs are moved. It is labeled maybe-done and will be checked in the full rerun of every dialog on jamming, then closed if the captures match EEGLAB.
— orchestrator
arnodelorme commentedon Nov 29, 2026
🤖 The supergui port works where it is used, but most dialogs do not use it yet, so this issue stays open and loses the maybe-done label.
Rerun of every dialog on Linux after pull request #878 was merged (jamming, EEGLAB develop 5e0be870, EEGPrep develop cea86f8, both checkouts pulled before the run). EEGLAB on the left, EEGPrep on the right, same scale.
Same family of dialog, on the new layout (pop_eegthresh) and on the earlier one (pop_jointprob):
Report with one page per function (PDF and Word): https://github.com/adelorme-assistant/project_eegprep/tree/main/reports/all-dialogs-2026-11-29
— eegprep worker
arnodelorme commentedon Dec 1, 2026
🤖 The pop_runica dialog and native jamming captures are tracked in #1005.