Kovid Goyal
2d78ef313b
Bump beta version
2022-03-09 08:21:53 +05:30
Kovid Goyal
7a8cc098b0
Handle loading of dual mode icons missing from user "any" themes
2022-03-09 08:21:53 +05:30
Kovid Goyal
9039d2a979
Implement changing of icon theme
2022-03-09 08:21:53 +05:30
Kovid Goyal
a226e1b71a
...
2022-03-09 08:21:53 +05:30
Kovid Goyal
f68a1da573
Misc improvements to choose theme dialog
2022-03-09 08:21:53 +05:30
Kovid Goyal
e59ea11000
Work on UI for color specific icon themes
2022-03-09 08:21:53 +05:30
Kovid Goyal
a0c260c25b
Port icon theme usage reporting
2022-03-09 08:21:53 +05:30
Kovid Goyal
a116c83239
Dont need to restart when changing icon themes any more
2022-03-09 08:21:53 +05:30
Kovid Goyal
0bfd24db5d
...
2022-03-09 08:21:53 +05:30
Kovid Goyal
91b8909160
Support themeing for plugin icons
2022-03-09 08:21:53 +05:30
Kovid Goyal
23665e98ad
Also include plugin icons when building resource files
...
And handle sub-directories more efficiently by flattening into a
single theme directory
2022-03-09 08:21:53 +05:30
Kovid Goyal
5c5bf91aa3
Code to migrate a legacy icon theme
2022-03-09 08:21:52 +05:30
Kovid Goyal
6254804be4
Move icon management into its own class
2022-03-09 08:21:52 +05:30
Kovid Goyal
7d559fb1a7
gui clean should remove the RCC file as well
2022-03-09 08:21:52 +05:30
Kovid Goyal
d73144440c
Ensure icons.rcc exists when running from develop
2022-03-09 08:21:52 +05:30
Kovid Goyal
29888ac339
Allow specialising a theme resource for dark/light
2022-03-09 08:21:52 +05:30
Kovid Goyal
4a5016d3f0
Simplify function
2022-03-09 08:21:52 +05:30
Kovid Goyal
357d5aff20
Load icons from resource file
...
Reduces small library startup time on my system by 30%
2022-03-09 08:21:52 +05:30
Kovid Goyal
2b58d33f0c
Build a Qt resource file containing the icon themes generated from the actual image files
...
Loading from a resource file should be considerably faster
2022-03-09 08:21:52 +05:30
Kovid Goyal
83e8a061c7
Function to compile icon dir into themes resource
2022-03-09 08:21:52 +05:30
Kovid Goyal
500d7aeda0
Start work on loading icons from resource files
2022-03-09 08:21:52 +05:30
Kovid Goyal
da2f64167a
Dont link rcc_backend against qtgui
2022-03-09 08:21:52 +05:30
Kovid Goyal
237b375a8c
Code to compile a single qrc file
2022-03-09 08:21:52 +05:30
Kovid Goyal
25c44fc2f0
Get rcc compiler building
2022-03-09 08:21:52 +05:30
Kovid Goyal
f2b4ae454e
Cleanup right click to visit homepage
2022-03-09 08:21:52 +05:30
Kovid Goyal
d7e134b105
...
2022-03-09 08:21:52 +05:30
Kovid Goyal
634d96ff94
Dont use system dependent fallback icons
2022-03-09 08:21:52 +05:30
Kovid Goyal
a1b7ec4637
pyqt6: More enum goodness, this time in the font chooser widget
2022-03-09 08:21:51 +05:30
Kovid Goyal
c3cf64bbdd
...
2022-03-09 08:21:51 +05:30
Kovid Goyal
4085f72005
Use themes for modified.png
2022-03-09 08:21:51 +05:30
Kovid Goyal
e38198d574
Use the themes for the dialog close button
2022-03-09 08:21:51 +05:30
Kovid Goyal
7a13f4e2e8
Work on using icon themes
2022-03-09 08:21:51 +05:30
Kovid Goyal
e6eca4eb0e
...
2022-03-09 08:21:51 +05:30
Kovid Goyal
9a77da3df7
more QIcon.ic() usage
2022-03-09 08:21:51 +05:30
Kovid Goyal
2243d331b0
More QIcon.ic usage
2022-03-09 08:21:51 +05:30
Kovid Goyal
7475ded979
Restore QCoreApplication.exec_
2022-03-09 08:21:51 +05:30
Kovid Goyal
c370c2c522
more QIcon.ic() usage
2022-03-09 08:21:51 +05:30
Kovid Goyal
e642743642
more QIcon.ic() usage
2022-03-09 08:21:51 +05:30
Kovid Goyal
c0d7828834
use QIcon.ic() in rest of calibre source
2022-03-09 08:21:51 +05:30
Kovid Goyal
ba275bae71
Use the convenience icon load method in .ui files
2022-03-09 08:21:51 +05:30
Kovid Goyal
53143c6342
A convenience method to load icons
2022-03-09 08:21:50 +05:30
Kovid Goyal
0ae41075d5
pyqt6: Fix handling of CheckStateRole in various models
...
The idiotic enums strike again
2022-03-09 08:21:50 +05:30
Kovid Goyal
8af9d34435
Workaround QSizePolicy::PolicyFlag broken in pyqt6
2022-03-09 08:21:50 +05:30
Kovid Goyal
f4eec76a09
pyqt6: Fix QPrinter::pageSize no longer present in pyqt6
2022-03-09 08:21:50 +05:30
Kovid Goyal
106b9657a1
Build linux arm64 in parallel as its the slowest by far
2022-03-09 08:21:50 +05:30
Kovid Goyal
5b7aa4ba4d
bump beta version
2022-03-09 08:21:50 +05:30
Kovid Goyal
0ca427d3c1
Some improvements to palette change handling
...
1) Dont use the paletteChanged signal since it is deprecated in Qt 6
2) Dont apply the workaround for: https://bugreports.qt.io/browse/QTBUG-75321
as its not needed as far as I can tell i Qt 6 and it causes switching
back to the light theme to have some incorrect colors
2022-03-09 08:21:50 +05:30
Kovid Goyal
065c5e6bed
Add compat for enums from QSizePolicy and QLayout
2022-03-09 08:21:50 +05:30
Kovid Goyal
f902518e32
Ensure jobs log viewer stay at bottom when appending
2022-03-09 08:21:50 +05:30
Kovid Goyal
0f7cd7ba0c
bump beta version
2022-03-09 08:21:50 +05:30