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
Kovid Goyal
3d025c46b1
more QIcon.ic() usage
2022-03-02 10:22:26 +05:30
Kovid Goyal
32299676ae
use QIcon.ic() in rest of calibre source
2022-03-02 10:22:25 +05:30
Kovid Goyal
5e7726d083
Use the convenience icon load method in .ui files
2022-03-02 10:22:25 +05:30
Kovid Goyal
5cb836d47a
A convenience method to load icons
2022-03-02 10:22:25 +05:30
Kovid Goyal
07df56d672
pyqt6: Fix handling of CheckStateRole in various models
...
The idiotic enums strike again
2022-03-02 10:22:25 +05:30
Kovid Goyal
3c91f57a8f
Workaround QSizePolicy::PolicyFlag broken in pyqt6
2022-03-02 10:22:25 +05:30
Kovid Goyal
670010209b
pyqt6: Fix QPrinter::pageSize no longer present in pyqt6
2022-03-02 10:22:25 +05:30
Kovid Goyal
e893a86705
Build linux arm64 in parallel as its the slowest by far
2022-03-02 10:22:25 +05:30
Kovid Goyal
c44184b235
bump beta version
2022-03-02 10:22:25 +05:30
Kovid Goyal
a553231d25
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-02 10:22:25 +05:30
Kovid Goyal
2a6ca7bbaa
Add compat for enums from QSizePolicy and QLayout
2022-03-02 10:22:25 +05:30
Kovid Goyal
2e47370680
Ensure jobs log viewer stay at bottom when appending
2022-03-02 10:22:25 +05:30
Kovid Goyal
13e5fc5011
bump beta version
2022-03-02 10:22:25 +05:30
Kovid Goyal
9de01a67c2
remove unused code
2022-03-02 10:22:25 +05:30
Kovid Goyal
c7ea5ab798
pyqt6: Fix some keyboard modifiers checks in the editor
2022-03-02 10:22:25 +05:30
Kovid Goyal
2a29823fc6
pyqt6: Fix drop and hover events as well
2022-03-02 10:22:24 +05:30