Commit graph

44702 commits

Author SHA1 Message Date
Kovid Goyal
46c0a57a25
Dont attempt to read NULL MSG.lParam 2022-03-02 10:22:29 +05:30
Kovid Goyal
e158b0a9ef
Fix a couple of bugs when beautifying files before comparing 2022-03-02 10:22:29 +05:30
Kovid Goyal
a48b3ed6c4
more pyqt6 enum goodness 2022-03-02 10:22:29 +05:30
Kovid Goyal
5ad6a21581
More pyqt6 enum goodness 2022-03-02 10:22:29 +05:30
Kovid Goyal
4687d20246
More pyqt6 enum goodness 2022-03-02 10:22:29 +05:30
Kovid Goyal
1c51e69951
more pyqt6 enum goodness
Fixes #1959011 [Printing doesn't work in beta 5.99.4 (portable)](https://bugs.launchpad.net/calibre/+bug/1959011)
2022-03-02 10:22:29 +05:30
Kovid Goyal
764a251274
Allow serializing integer valued enums in JSON config dicts 2022-03-02 10:22:28 +05:30
Kovid Goyal
167c765201
Bump beta version 2022-03-02 10:22:28 +05:30
Kovid Goyal
d76629d769
Windows: Automatically change colors between light and dark when the system wide preference is changed 2022-03-02 10:22:28 +05:30
Kovid Goyal
c91c5daf34
Windows: Fix error if calibre is launched before the previous instance has fully shutdown 2022-03-02 10:22:28 +05:30
Kovid Goyal
697886db72
More pyqt6 enum goodness 2022-03-02 10:22:28 +05:30
Kovid Goyal
7ea7c8bfb9
... 2022-03-02 10:22:28 +05:30
Kovid Goyal
4e7bd412c1
Update icon theme docs 2022-03-02 10:22:28 +05:30
Kovid Goyal
0e06696732
Bump beta version 2022-03-02 10:22:28 +05:30
Kovid Goyal
06070bb6ba
Handle loading of dual mode icons missing from user "any" themes 2022-03-02 10:22:28 +05:30
Kovid Goyal
8d37317794
Implement changing of icon theme 2022-03-02 10:22:28 +05:30
Kovid Goyal
1b8a58a03a
... 2022-03-02 10:22:28 +05:30
Kovid Goyal
0ae9fe2321
Misc improvements to choose theme dialog 2022-03-02 10:22:28 +05:30
Kovid Goyal
09d2541146
Work on UI for color specific icon themes 2022-03-02 10:22:28 +05:30
Kovid Goyal
f8500a11c2
Port icon theme usage reporting 2022-03-02 10:22:28 +05:30
Kovid Goyal
400c761a26
Dont need to restart when changing icon themes any more 2022-03-02 10:22:28 +05:30
Kovid Goyal
5e95325d3c
... 2022-03-02 10:22:28 +05:30
Kovid Goyal
ed509a108d
Support themeing for plugin icons 2022-03-02 10:22:27 +05:30
Kovid Goyal
b3a33ea1f9
Also include plugin icons when building resource files
And handle sub-directories more efficiently by flattening into a
single theme directory
2022-03-02 10:22:27 +05:30
Kovid Goyal
7a4842aa1b
Code to migrate a legacy icon theme 2022-03-02 10:22:27 +05:30
Kovid Goyal
0d4a69c07b
Move icon management into its own class 2022-03-02 10:22:27 +05:30
Kovid Goyal
2c4747a114
gui clean should remove the RCC file as well 2022-03-02 10:22:27 +05:30
Kovid Goyal
1d494b14b2
Ensure icons.rcc exists when running from develop 2022-03-02 10:22:27 +05:30
Kovid Goyal
19411f8bef
Allow specialising a theme resource for dark/light 2022-03-02 10:22:27 +05:30
Kovid Goyal
03c9d7b5b7
Simplify function 2022-03-02 10:22:27 +05:30
Kovid Goyal
c22fbf68f2
Load icons from resource file
Reduces small library startup time on my system by 30%
2022-03-02 10:22:27 +05:30
Kovid Goyal
fa82866e1e
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-02 10:22:27 +05:30
Kovid Goyal
5da24437da
Function to compile icon dir into themes resource 2022-03-02 10:22:27 +05:30
Kovid Goyal
f81ae5148b
Start work on loading icons from resource files 2022-03-02 10:22:27 +05:30
Kovid Goyal
6abd490e62
Dont link rcc_backend against qtgui 2022-03-02 10:22:27 +05:30
Kovid Goyal
fe5d878bbb
Code to compile a single qrc file 2022-03-02 10:22:27 +05:30
Kovid Goyal
f380116256
Get rcc compiler building 2022-03-02 10:22:27 +05:30
Kovid Goyal
9a0ca152cd
Cleanup right click to visit homepage 2022-03-02 10:22:27 +05:30
Kovid Goyal
e1273dd52a
... 2022-03-02 10:22:26 +05:30
Kovid Goyal
b43c30372d
Dont use system dependent fallback icons 2022-03-02 10:22:26 +05:30
Kovid Goyal
69ab45dcdf
pyqt6: More enum goodness, this time in the font chooser widget 2022-03-02 10:22:26 +05:30
Kovid Goyal
17e9e222a6
... 2022-03-02 10:22:26 +05:30
Kovid Goyal
54921b2605
Use themes for modified.png 2022-03-02 10:22:26 +05:30
Kovid Goyal
5f5a42b974
Use the themes for the dialog close button 2022-03-02 10:22:26 +05:30
Kovid Goyal
5defdf7233
Work on using icon themes 2022-03-02 10:22:26 +05:30
Kovid Goyal
7e77144b55
... 2022-03-02 10:22:26 +05:30
Kovid Goyal
7d7dac4792
more QIcon.ic() usage 2022-03-02 10:22:26 +05:30
Kovid Goyal
920083a2ce
More QIcon.ic usage 2022-03-02 10:22:26 +05:30
Kovid Goyal
845c2ab482
Restore QCoreApplication.exec_ 2022-03-02 10:22:26 +05:30
Kovid Goyal
bcf05dfe20
more QIcon.ic() usage 2022-03-02 10:22:26 +05:30