34885 Commits

Author SHA1 Message Date
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
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
5db39aa16e
Drop 32-bit code paths 2022-07-06 19:19:39 +05:30
Kovid Goyal
ca2003b405
More PyQt6 nonsense 2022-07-06 19:19:38 +05:30
Kovid Goyal
a448bc7079
Fix building on latest VS 2019 2022-07-06 19:19:38 +05:30
Kovid Goyal
c283f85d73
Fix aliasing of PyQt5 imports 2022-07-06 19:19:38 +05:30
Kovid Goyal
83fcbf7e17
Delay load hunspell 2022-07-06 19:19:38 +05:30
Kovid Goyal
b4c0513d85
Get print to work in test_build 2022-07-06 19:19:38 +05:30
Kovid Goyal
3de1bb711c
Cleanup imports 2022-07-06 19:19:37 +05:30
Kovid Goyal
d25bfd9d42
More PyQt6 nonsense 2022-07-06 19:19:37 +05:30
Kovid Goyal
5749582c9b
More PyQt6 nonsense 2022-07-06 19:19:37 +05:30
Kovid Goyal
7f01313b8a
Skip a hunspell test that fails only on ARM 2022-07-06 19:19:37 +05:30
Kovid Goyal
79013ef7d7
More pyqt6 nonsense 2022-07-06 19:19:37 +05:30
Kovid Goyal
7c28360d71
More PyQt6 nonsense 2022-07-06 19:19:36 +05:30
Kovid Goyal
c067c1c2ce
... 2022-07-06 19:19:36 +05:30
Kovid Goyal
16bae8546e
Make the calibre style object accessible in Python 2022-07-06 19:19:36 +05:30
Kovid Goyal
aea448a5a4
Separate declaration and definition of CalibreStyle 2022-07-06 19:19:36 +05:30
Kovid Goyal
bd63a4514f
zeroconf API change 2022-07-06 19:19:36 +05:30
Kovid Goyal
f61a394fdc
Some new dependencies for py7r 2022-07-06 19:19:36 +05:30
Kovid Goyal
259c7398cb
Viewer: Fix the color of browser provided controls in dark mode 2022-07-06 19:19:36 +05:30
Kovid Goyal
3523abef08
Use native webengine dark mode support in the toc and preview tools 2022-07-06 19:19:36 +05:30
Kovid Goyal
27b5c08d47
Also enumify QEvent 2022-07-06 19:19:35 +05:30
Kovid Goyal
638b987a70
pyqt6: QWizard changes 2022-07-06 19:19:35 +05:30
Kovid Goyal
93ff403587
pyqt6: setSortIndicator() and setCheckState() 2022-07-06 19:19:35 +05:30
Kovid Goyal
4242a71758
pyqt6: system locale date formatting is no longer supported directly by QDateTime 2022-07-06 19:19:35 +05:30
Kovid Goyal
fbacea46ab
pyqt6: More random fixes 2022-07-06 19:19:35 +05:30
Kovid Goyal
d9a7ff5898
pyqt6: QCombobox::currentIndexChanged is now not subscriptable 2022-07-06 19:19:35 +05:30