28462 Commits

Author SHA1 Message Date
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
b0bbe3f6d7 Port including of private Qt headers int he build system for Qt 5 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
d447567b08 ... 2014-08-08 18:31:08 +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
1c01665fe7 ... 2014-08-08 18:31:08 +05:30
Kovid Goyal
1f63fab037 ... 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
6c3bdc96df Note about looking for obsolete classes/functions in Qt 5 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
d66702e77a Add note about testing viewer touch screen support on windows 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
857b9fa205 Better QVariant use detection 2014-08-08 18:31:07 +05:30
Kovid Goyal
1bec18af24 Port pictureflow 2014-08-08 18:31:07 +05:30
Kovid Goyal
4ec530f316 Code to detect usage of QVariant 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
d240581bce note about creating import checker 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
f090af1bd0 Add note about headless Qt QPA plugin 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
62f72877e9 faster builds 2014-08-08 18:31:07 +05:30