Releases: 5yutan5/PyQtDarkTheme
Releases · 5yutan5/PyQtDarkTheme
v2.1.0
v2.0.0
This is major update.
Change the main function that sets the theme from qdarktheme.load_stylesheet()
to qdarktheme.setup_theme()
.
You can also continue to use qdarktheme.load_stylesheet()
.
Added
- Added
auto
to argument theme ofqdarktheme.load_stylesheet()
(#192).
Thisauto
theme try to detect OS's theme automatically. If failed to detect OS's theme, use theme set by argumentdefault_theme
. - Added
qdarktheme.setup_theme()
that apply complete style to your Qt application(#200).
This function use QPalette, Qt stylesheet and sync with OS's theme and override Qt standard icons. - Added
qdarktheme.stop_sync()
(#200).
This function stop sync with OS's theme after you setauto
theme to qdarktheme.setup_theme(). - Added
enable_hi_dpi()
(#200). - Added overriding Qt standard icons completely(#203, #206).
- Added system to keep material design icons SVG always latest automatically(#193).
Fixed
v1.2.1
Added
- Added style for QColumnView.
- Added custom color for QListView, QTreeView and QTableView.
Improved
- Improve menu button style for QToolButton.
- Improve dropdown button hover style for QComboBox.
- Improve up-down arrow style for QSpinBox.
- Improve alternate/select/hover/inactive-select background color for QTableView/QTableWidget, QListView/QListWidget, QTreeView/QTreeWidget and QColumnView.
Fixed
- Fixed an issue where QHeaderView had extra padding(#110).
- Fixed an issue where vertical labels of QHeaderView not showing up when the label has 2 or more characters(#149).
- Fixed an issue where QHeaderView style changes depending on OS.
- Fixed an issue where the button style became normal button style when the default button is checked(#150).
- Fixed an issue where the check indicator looks a little bit stretched horizontally when used in QMenu items on Windows(#154).
- Fixed an issue where the too big gap between checkboxes and text in QMenu items(#154).
v1.2.0
Added
- Added custom colors.
- Added QMdiArea and QMdiSubWindow style.
- Added documentation for custom colors.
Changed
- Changed build resource system.
- Changed placeholder parser to original parser like jinja2.
- Improved and fixed style.