You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
eeglab_update: use the blue background of the other dialogs #874
Arno's feedback of November 29, 2026 (email "Re: November 29 EEGLAB and EEGPrep menu comparison | editable Word") on the seven-menu report, adelorme-assistant/project_eegprep#1, reports/all-menus-2026-11-29.
eeglab_update, not using the blue background as the others.
"Check for EEGPrep updates" (EEGPrep's eeglab_update) shows its result in a bare QMessageBox.information (or _warn), which gets no EEGLAB styling. The shared floating-dialog stylesheet paints only QFileDialog and QProgressDialog with EEGLAB_BACKGROUND (#a8c2ff). Every plain QMessageBox from MenuActions._info/_warn, show_coming_soon and errordlg2 therefore uses the platform's default colours.
Add QMessageBox (and its QLabel) to the selectors in eeglab_floating_dialog_stylesheet(). All info and warning boxes, including the update check, then get the EEGLAB blue background and #000066 text. Also add a visual parity case for the update dialog. The change is small (under 20 lines) but waits for #875. After #875 merges, capture this window again first, because the supergui rework may already fix it. No PR opened.
Activity
claude commentedon Nov 29, 2026
🤖 Plan:
Research
"Check for EEGPrep updates" (EEGPrep's
eeglab_update) shows its result in a bareQMessageBox.information(or_warn), which gets no EEGLAB styling. The shared floating-dialog stylesheet paints onlyQFileDialogandQProgressDialogwithEEGLAB_BACKGROUND(#a8c2ff). Every plainQMessageBoxfromMenuActions._info/_warn,show_coming_soonanderrordlg2therefore uses the platform's default colours.Relevant code
menu_actions.py#L414-L433-updatesactionmenu_actions.py#L1986-L2003-_warn/_infouse a plain QMessageBoxtheme.py#L25-L31- floating stylesheet leaves out QMessageBoxerrordlg2.py- same unstyled QMessageBox patternProposed Fix
Add
QMessageBox(and itsQLabel) to the selectors ineeglab_floating_dialog_stylesheet(). All info and warning boxes, including the update check, then get the EEGLAB blue background and#000066text. Also add a visual parity case for the update dialog. The change is small (under 20 lines) but waits for #875. After #875 merges, capture this window again first, because the supergui rework may already fix it. No PR opened.