Commit Graph

45150 Commits

Author SHA1 Message Date
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
Kovid Goyal 2d44370c25 More QIcon.ic usage 2022-07-06 19:19:41 +05:30
Kovid Goyal aee016b897 Restore QCoreApplication.exec_ 2022-07-06 19:19:41 +05:30
Kovid Goyal a48fae501f more QIcon.ic() usage 2022-07-06 19:19:41 +05:30
Kovid Goyal 35aba136ee more QIcon.ic() usage 2022-07-06 19:19:41 +05:30
Kovid Goyal 7ce05e3097 use QIcon.ic() in rest of calibre source 2022-07-06 19:19:41 +05:30
Kovid Goyal 1e51e4a09a Use the convenience icon load method in .ui files 2022-07-06 19:19:41 +05:30
Kovid Goyal 0476d5bdf1 A convenience method to load icons 2022-07-06 19:19:41 +05:30
Kovid Goyal 079f89b6c7 pyqt6: Fix handling of CheckStateRole in various models
The idiotic enums strike again
2022-07-06 19:19:41 +05:30
Kovid Goyal d031538a2e Workaround QSizePolicy::PolicyFlag broken in pyqt6 2022-07-06 19:19:41 +05:30
Kovid Goyal 3c49d08b2a pyqt6: Fix QPrinter::pageSize no longer present in pyqt6 2022-07-06 19:19:41 +05:30
Kovid Goyal 483e976ccc Build linux arm64 in parallel as its the slowest by far 2022-07-06 19:19:40 +05:30
Kovid Goyal 29505f1951 bump beta version 2022-07-06 19:19:40 +05:30
Kovid Goyal a497e7698b 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-07-06 19:19:40 +05:30
Kovid Goyal da775a7adc Add compat for enums from QSizePolicy and QLayout 2022-07-06 19:19:40 +05:30
Kovid Goyal a67fcb81f1 Ensure jobs log viewer stay at bottom when appending 2022-07-06 19:19:40 +05:30
Kovid Goyal d428e01d2a bump beta version 2022-07-06 19:19:40 +05:30
Kovid Goyal 9c9e903e83 remove unused code 2022-07-06 19:19:40 +05:30
Kovid Goyal 7cb53c9c96 pyqt6: Fix some keyboard modifiers checks in the editor 2022-07-06 19:19:40 +05:30
Kovid Goyal a5257b532f pyqt6: Fix drop and hover events as well 2022-07-06 19:19:40 +05:30
Kovid Goyal f2c058fea3 Also enumify QMessgaeBox 2022-07-06 19:19:40 +05:30
Kovid Goyal dd7c9a71b5 ... 2022-07-06 19:19:40 +05:30
Kovid Goyal 49e6a69b5b pep8 2022-07-06 19:19:40 +05:30
Kovid Goyal b1c0ca7b6e ... 2022-07-06 19:19:40 +05:30
Kovid Goyal a78d3cd611 Allow imports of top level PyQt modules to work from the qt virtual module
This is needed for legacy compat of

from PyQt5 import QtCore, QtGui, etc
2022-07-06 19:19:40 +05:30
Kovid Goyal 924625e047 Use beta version numbers 2022-07-06 19:19:40 +05:30
Kovid Goyal 05bdc88450 Apparently defaultSettings() is not going to return 2022-07-06 19:19:40 +05:30
Kovid Goyal bbb0d39053 Fix for JobSpy plugin using integers instead of enum for tool button popup mode 2022-07-06 19:19:39 +05:30
Kovid Goyal 50e5fb1e4f pyqt6: Fix drop actions check 2022-07-06 19:19:39 +05:30
Kovid Goyal b76c76390e Workaround for PyQt6 missing QWebEngine::defaultSettings() 2022-07-06 19:19:39 +05:30
Kovid Goyal a1a4d3ecc9 ... 2022-07-06 19:19:39 +05:30
Kovid Goyal d1bfc18ac5 oops 2022-07-06 19:19:39 +05:30
Kovid Goyal a8336ca1fe ... 2022-07-06 19:19:39 +05:30
Kovid Goyal d7e16f1b8e Remove build commands for 32-bit arches 2022-07-06 19:19:39 +05:30
Kovid Goyal df89c9f251 Automatically uninstall 32-bit calibre on windows when installing 2022-07-06 19:19:39 +05:30
Kovid Goyal ecf9f103d6 Get the portable installer building on 64bits 2022-07-06 19:19:39 +05:30