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_background
function - Added
guidata.qthelpers.set_color_mode
function to set the color mode ('dark', 'light' or 'auto' for system default) - Added
guidata.qthelpers.get_color_mode
function to get the current color mode ('dark', 'light' or 'auto' for system default) - Added
guidata.qthelpers.get_color_theme
function to get the current color theme ('dark' or 'light') - Added
guidata.qthelpers.get_background_color
function to get the current backgroundQColor
associated with the current color theme - Added
guidata.qthelpers.get_foreground_color
function to get the current foregroundQColor
associated with the current color theme - Added
guidata.qthelpers.is_dark_theme
function to check if the current theme is dark) - As a consequence,
guidata.qthelpers.is_dark_mode
andguidata.qthelpers.set_dark_mode
functions are deprecated, respectively in favor ofguidata.qthelpers.is_dark_theme
andguidata.qthelpers.set_color_mode
- Auto light/dark theme: quering OS setting only once, or each time the