v3.6.1
In this release, test coverage is 74%.
🛠️ Bug fixes:
- Light/dark theme support:
- Auto light/dark theme: quering OS setting only once, or each time the
set_color_mode('auto')function is called - Fix console widget color theme: existing text in console widget was not updated when changing color theme
- Fixed issue with dark theme on Windows: the windows title bar background was not updated when the theme was changed from dark to light (the inverse was working) - this is now fixed in
guidata.qthelpers.win32_fix_title_bar_backgroundfunction - Added
guidata.qthelpers.set_color_modefunction to set the color mode ('dark', 'light' or 'auto' for system default) - Added
guidata.qthelpers.get_color_modefunction to get the current color mode ('dark', 'light' or 'auto' for system default) - Added
guidata.qthelpers.get_color_themefunction to get the current color theme ('dark' or 'light') - Added
guidata.qthelpers.get_background_colorfunction to get the current backgroundQColorassociated with the current color theme - Added
guidata.qthelpers.get_foreground_colorfunction to get the current foregroundQColorassociated with the current color theme - Added
guidata.qthelpers.is_dark_themefunction to check if the current theme is dark) - As a consequence,
guidata.qthelpers.is_dark_modeandguidata.qthelpers.set_dark_modefunctions are deprecated, respectively in favor ofguidata.qthelpers.is_dark_themeandguidata.qthelpers.set_color_mode
- Auto light/dark theme: quering OS setting only once, or each time the