45385 Commits

Author SHA1 Message Date
Kovid Goyal
16c3e7bb00
more pyqt6 enum goodness 2022-07-06 19:19:45 +05:30
Kovid Goyal
ac2a6393f9
bump beta version 2022-07-06 19:19:45 +05:30
Kovid Goyal
c199112ab3
Also ignore OSErrors when reading lParam 2022-07-06 19:19:45 +05:30
Kovid Goyal
e4e0b6c439
Dont attempt to read NULL MSG.lParam 2022-07-06 19:19:44 +05:30
Kovid Goyal
46b550af59
Fix a couple of bugs when beautifying files before comparing 2022-07-06 19:19:44 +05:30
Kovid Goyal
cceb052cb3
more pyqt6 enum goodness 2022-07-06 19:19:44 +05:30
Kovid Goyal
e9bafd01ad
More pyqt6 enum goodness 2022-07-06 19:19:44 +05:30
Kovid Goyal
fe9d4864e3
More pyqt6 enum goodness 2022-07-06 19:19:44 +05:30
Kovid Goyal
ee2defeecc
more pyqt6 enum goodness
Fixes #1959011 [Printing doesn't work in beta 5.99.4 (portable)](https://bugs.launchpad.net/calibre/+bug/1959011)
2022-07-06 19:19:44 +05:30
Kovid Goyal
cb975976c1
Allow serializing integer valued enums in JSON config dicts 2022-07-06 19:19:44 +05:30
Kovid Goyal
9a0ee46c80
Bump beta version 2022-07-06 19:19:44 +05:30
Kovid Goyal
f695e49bd6
Windows: Automatically change colors between light and dark when the system wide preference is changed 2022-07-06 19:19:44 +05:30
Kovid Goyal
1ec0085eff
Windows: Fix error if calibre is launched before the previous instance has fully shutdown 2022-07-06 19:19:44 +05:30
Kovid Goyal
4b946c6743
More pyqt6 enum goodness 2022-07-06 19:19:44 +05:30
Kovid Goyal
62e7a7416a
... 2022-07-06 19:19:44 +05:30
Kovid Goyal
1d4964b366
Update icon theme docs 2022-07-06 19:19:44 +05:30
Kovid Goyal
96c275851c
Bump beta version 2022-07-06 19:19:44 +05:30
Kovid Goyal
4a7d0227b8
Handle loading of dual mode icons missing from user "any" themes 2022-07-06 19:19:43 +05:30
Kovid Goyal
121b7eb7f2
Implement changing of icon theme 2022-07-06 19:19:43 +05:30
Kovid Goyal
6b9bcd001e
... 2022-07-06 19:19:43 +05:30
Kovid Goyal
20efcd0fd6
Misc improvements to choose theme dialog 2022-07-06 19:19:43 +05:30
Kovid Goyal
a56e168f70
Work on UI for color specific icon themes 2022-07-06 19:19:43 +05:30
Kovid Goyal
83d1f1a6c6
Port icon theme usage reporting 2022-07-06 19:19:43 +05:30
Kovid Goyal
985befbb6d
Dont need to restart when changing icon themes any more 2022-07-06 19:19:43 +05:30
Kovid Goyal
168f583396
... 2022-07-06 19:19:43 +05:30
Kovid Goyal
8a33f48874
Support themeing for plugin icons 2022-07-06 19:19:43 +05:30
Kovid Goyal
3650033173
Also include plugin icons when building resource files
And handle sub-directories more efficiently by flattening into a
single theme directory
2022-07-06 19:19:43 +05:30
Kovid Goyal
4bb2cb27b3
Code to migrate a legacy icon theme 2022-07-06 19:19:43 +05:30
Kovid Goyal
eb0f405d9a
Move icon management into its own class 2022-07-06 19:19:43 +05:30
Kovid Goyal
2288a26612
gui clean should remove the RCC file as well 2022-07-06 19:19:43 +05:30
Kovid Goyal
75859ba62b
Ensure icons.rcc exists when running from develop 2022-07-06 19:19:43 +05:30
Kovid Goyal
b73fd715b1
Allow specialising a theme resource for dark/light 2022-07-06 19:19:43 +05:30
Kovid Goyal
2c0325ae68
Simplify function 2022-07-06 19:19:42 +05:30
Kovid Goyal
0d0467b740
Load icons from resource file
Reduces small library startup time on my system by 30%
2022-07-06 19:19:42 +05:30
Kovid Goyal
bffaacd3c2
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-07-06 19:19:42 +05:30
Kovid Goyal
62c8a0dcfb
Function to compile icon dir into themes resource 2022-07-06 19:19:42 +05:30
Kovid Goyal
32d4243e1d
Start work on loading icons from resource files 2022-07-06 19:19:42 +05:30
Kovid Goyal
178f94a271
Dont link rcc_backend against qtgui 2022-07-06 19:19:42 +05:30
Kovid Goyal
a0e1c7b7e3
Code to compile a single qrc file 2022-07-06 19:19:42 +05:30
Kovid Goyal
9f0ab6e40f
Get rcc compiler building 2022-07-06 19:19:42 +05:30
Kovid Goyal
fece62c677
Cleanup right click to visit homepage 2022-07-06 19:19:42 +05:30
Kovid Goyal
9296082375
... 2022-07-06 19:19:42 +05:30
Kovid Goyal
be860b2464
Dont use system dependent fallback icons 2022-07-06 19:19:42 +05:30
Kovid Goyal
10776a9bba
pyqt6: More enum goodness, this time in the font chooser widget 2022-07-06 19:19:42 +05:30
Kovid Goyal
af2fce89fd
... 2022-07-06 19:19:42 +05:30
Kovid Goyal
7fa564da07
Use themes for modified.png 2022-07-06 19:19:42 +05:30
Kovid Goyal
b94ddad134
Use the themes for the dialog close button 2022-07-06 19:19:42 +05:30
Kovid Goyal
d377eedf52
Work on using icon themes 2022-07-06 19:19:41 +05:30
Kovid Goyal
a0e6bbe2bf
... 2022-07-06 19:19:41 +05:30
Kovid Goyal
fc14525e24
more QIcon.ic() usage 2022-07-06 19:19:41 +05:30