Kovid Goyal
dad004e03c
Remove the notify() debug redirection as it greatly slows down startup and also causes hangs in some not fully understood situations
2014-08-08 18:31:09 +05:30
Kovid Goyal
7e9d8e1c5d
QHeaderView.restoreState() leads to a broken table view when restoring data from different Qt major versions
2014-08-08 18:31:09 +05:30
Kovid Goyal
7dea39ec30
Use the default row height for the book list, rather than resizing to contents, as the Fusion style has a nice default row height
...
Also allow both increasing and decreasing of the row height
2014-08-08 18:31:09 +05:30
Kovid Goyal
bfd037120a
Better default font when no user font settings detected (happens on linux)
2014-08-08 18:31:09 +05:30
Kovid Goyal
0ec844aea4
Restore removed qapp.original_font
2014-08-08 18:31:09 +05:30
Kovid Goyal
8967c57252
...
2014-08-08 18:31:09 +05:30
Kovid Goyal
bd66002283
Improve layout of preferences button when there is extra vertical space
2014-08-08 18:31:09 +05:30
Kovid Goyal
5eefd0159b
Ensure platform specific button orders
2014-08-08 18:31:09 +05:30
Kovid Goyal
1b61617432
Get the qt_hack module to build against Qt 5. Apparently, we no longer need a private copy of the harfbuzz headers
2014-08-08 18:31:09 +05:30
Kovid Goyal
673d5813b5
Adjust Tag Browser styling to suit new calibre style
2014-08-08 18:31:09 +05:30
Kovid Goyal
0bd81146d8
pep8
2014-08-08 18:31:09 +05:30
Kovid Goyal
0e721e1604
Switch to using Qt Fusion as the calibre style and port calibre specific customizations to it
2014-08-08 18:31:09 +05:30
Kovid Goyal
ae2183ed61
Port obsolete setAutoCompletionCaseSensitivity from QCombobox
2014-08-08 18:31:08 +05:30
Kovid Goyal
4ff0c73b1a
More multiple inheritance porting
2014-08-08 18:31:08 +05:30
Kovid Goyal
53991dc588
Finish the QVariant porting
2014-08-08 18:31:08 +05:30
Kovid Goyal
e25696f16c
More QVariant porting
2014-08-08 18:31:08 +05:30
Kovid Goyal
ba7206a5ff
More QVariant porting
2014-08-08 18:31:08 +05:30
Kovid Goyal
fea5728d70
Port QHeaderView obsolete members, not longer present in PyQt5
2014-08-08 18:31:08 +05:30
Kovid Goyal
d63f346d6e
More multiple inheritance fixes
2014-08-08 18:31:08 +05:30
Kovid Goyal
6621bd7357
More QVariant porting
2014-08-08 18:31:08 +05:30
Kovid Goyal
8518d8f7dc
More QVariant porting
2014-08-08 18:31:08 +05:30
Kovid Goyal
fc2842108c
Port use of QFileDialog since the return type of the static methods has changed in PyQt5
2014-08-08 18:31:08 +05:30
Kovid Goyal
43aaa3f0d0
Port usage of clicked[()] as it no longer exists in PyQt5
2014-08-08 18:31:08 +05:30
Kovid Goyal
12f1e58f9f
More QVariant migration
2014-08-08 18:31:08 +05:30
Kovid Goyal
a5dc23ae0f
More removal anf QVariant. Also fix PyQt5 multiple inheritance problem with QMainWindow for main calibre gui
2014-08-08 18:31:08 +05:30
Kovid Goyal
0a301507c8
Replace QStyleOptionItemV4 with QStyleOptionItem
2014-08-08 18:31:08 +05:30
Kovid Goyal
9ed39c3d6a
Add note about multiple inheritance issues in PyQt5
2014-08-08 18:31:08 +05:30
Kovid Goyal
0f3138bbdb
...
2014-08-08 18:31:08 +05:30
Kovid Goyal
8ce199cd6b
Port use of QVariant in all edit book code. Edit book basically works
2014-08-08 18:31:08 +05:30
Kovid Goyal
69af8a9b65
More robust fix for handling of .py config files with pickled QByteArray instances
2014-08-08 18:31:08 +05:30
Kovid Goyal
4106a4b0d1
Replace QMatrix with QTransform
2014-08-08 18:31:08 +05:30
Kovid Goyal
30186ad1d9
...
2014-08-08 18:31:07 +05:30
Kovid Goyal
7d0a047026
Remove the workarounds for the Qt WebKit embedded font bug as the bug has been fixed in Qt 5
2014-08-08 18:31:07 +05:30
Kovid Goyal
b052f6ed68
Port use of QVariant in the viewer, the viewer now basically works
2014-08-08 18:31:07 +05:30
Kovid Goyal
f6bdc450a8
Port QWheelEvent usage in the ebook viewer
2014-08-08 18:31:07 +05:30
Kovid Goyal
95d831403d
Replace QDesktopWidget.numScreens() with screenCount()
2014-08-08 18:31:07 +05:30
Kovid Goyal
fc70edee09
Fix no QMenu.triggered[QAction] signal overload in PyQt5
...
Replace with simple triggered as there is only a single signal, that
sends a QAction.
2014-08-08 18:31:07 +05:30
Kovid Goyal
1bec18af24
Port pictureflow
2014-08-08 18:31:07 +05:30
Kovid Goyal
fa5a77afde
Port various import from QtGui to Qt
2014-08-08 18:31:07 +05:30
Kovid Goyal
098f178dfc
Port usage of QString and various miscellaneous imports that no longer work
2014-08-08 18:31:07 +05:30
Kovid Goyal
04e342c072
...
2014-08-08 18:31:07 +05:30
Kovid Goyal
39dbd718d6
Port syntax highlighters
2014-08-08 18:31:07 +05:30
Kovid Goyal
f5334df877
Port WebKit imports and QChar
...
WebKit has been split up into QtWebKit and QtWebKitWidgets. Change
imports accordingly.
Replace use of QChar since it no longer exists in PyQt5
2014-08-08 18:31:07 +05:30
Kovid Goyal
1ba821eb0d
Port coffeescript compiler
2014-08-08 18:31:07 +05:30
Kovid Goyal
abf157b816
Fix mouse wheel not working in diff view
2014-08-08 18:31:07 +05:30
Kovid Goyal
f1842ae443
Port: setMargin() reset() QStringList()
...
setMargin(): QLayout no longer has a setMargin() function, replace with
setContentsMargins()
reset(): QAbstractListModel no longer has reset(), replace with
beginResetModel(), endResetModel()
QStringList: No longer exists, a simply python list of strings works
instead
2014-08-08 18:31:07 +05:30
Kovid Goyal
5068f62f0f
Get rid of the PyQt4 string from everywhere
2014-08-08 18:31:07 +05:30
Kovid Goyal
d18a999f31
Allow controlling PyQt5 import path via the env var PYQT5_IMPORT_PATH
2014-08-08 18:31:07 +05:30
Kovid Goyal
1f3d25d934
Port the progress indicator extension to PyQt5
2014-08-08 18:31:06 +05:30
Kovid Goyal
3b2eafc2c4
Port imports
2014-08-08 18:31:06 +05:30