Commit Graph

162 Commits

Author SHA1 Message Date
b0b0849cbc Extract DEFINES += NOMINMAX into common config.pri 2021-12-29 09:36:44 +01:00
6aeed9ae90 Include some missing headers 2021-11-02 11:02:32 +01:00
1c3fd4d16f Do not pass MSVC arguments to mingw/gcc 2021-11-02 11:02:32 +01:00
4bee296096 Strict qt5.15 breaks poppler 2021-10-23 17:11:50 +02:00
81ff663acd Use qt5.15 2021-10-19 00:00:09 +02:00
2cdd53c316 Replace forward declaration with import 2021-10-19 00:00:08 +02:00
e91481d0c3 Fix QMediaPlayer usage in Qt6 2021-10-19 00:00:08 +02:00
75060d4f24 Do not use QTextCodec in Qt6 2021-10-19 00:00:08 +02:00
a7e3c41f34 QLabel QPixmap *pixmap() method is deprecated
const QPixmap should perform as fast as a pointer
there is a replacement version for Qt5 but it requires Qt5.15, so we are using indirection witch is unsafer but it should be ok as all the action is happen in the main thread
2021-10-19 00:00:08 +02:00
8207f75297 Replace setMargin with setContentsMargins 2021-10-19 00:00:08 +02:00
5e1e0b1d4a Add include 2021-10-19 00:00:08 +02:00
088ccdf094 Remove setMargin usage 2021-10-19 00:00:08 +02:00
09e85e48bf Remove unused include 2021-10-19 00:00:08 +02:00
100e1c40a1 Use QTransform instead of QMatrix 2021-10-19 00:00:08 +02:00
154f215c38 Use 4 args connect 2021-10-19 00:00:08 +02:00
567c00102d Use fully qualified names 2021-10-19 00:00:08 +02:00
f5035b4bac Use fully qualified names 2021-10-19 00:00:08 +02:00
d5e6623e33 Fix connections
signals can be chained and setCenter was an slot not a signal
2021-10-19 00:00:08 +02:00
ae43f23c85 Use angleDelta
pixelDelta is only provided in systems that support it
2021-10-19 00:00:08 +02:00
052e7ffba0 Add override annotation 2021-10-19 00:00:08 +02:00
740eab5025 Update QWheelEvent delta usage 2021-10-19 00:00:08 +02:00
1c144d950d Use fully qualified names 2021-10-19 00:00:08 +02:00
474689e24b Replace deprecated QPalette role 2021-10-19 00:00:08 +02:00
1012ec37c7 Use setContentsMargins instead of setMargin 2021-10-19 00:00:08 +02:00
2a90b1c6ef Stop using availableGeometry 2021-10-19 00:00:08 +02:00
2de4b26b71 Start supporting Qt6
Everything is broken but we want to start fixing as much as possible
2021-10-19 00:00:08 +02:00
5f55dab0cc Do not write unused values 2021-10-19 00:00:08 +02:00
0a2f7bd2af Proper use of QString::arg 2021-10-19 00:00:08 +02:00
32b4e420a2 Fix emit calls 2021-10-19 00:00:08 +02:00
cc927de7de Use ints for colors instead of string literals 2021-10-19 00:00:07 +02:00
e1ed292a91 Convert emit(signal()) calls to emit signal() 2021-10-19 00:00:07 +02:00
5aa02a19bb clang-format 2021-10-18 21:56:52 +02:00
0dbad65f7f Don't use the wheel stop in full page mode 2021-09-28 16:21:43 +02:00
2717f755bb Fix signal name 2021-09-26 09:02:41 +02:00
b8ad2b540b Merge branch 'develop' into clazy_autorefactoring 2021-09-26 08:52:23 +02:00
53f92ba1f6 Enable hdpi scaling 2021-09-13 17:34:15 +02:00
22c2431cc5 Render: Remove obsolete debug messages 2021-07-30 08:58:39 +02:00
abcb4b1f26 GoTo flow: Sync slide and page index in quick navigation mode 2021-07-30 08:58:39 +02:00
40d4d224be Viewer: Always start GoTo flow on correct page 2021-07-30 08:58:39 +02:00
df32cf01fb GoTo dialogs: Restrict input values to existing pages 2021-07-30 08:58:39 +02:00
54b9952253 YACReader: Show error when opening nonexistent open recent entry 2021-07-30 08:58:39 +02:00
5b66153390 YACReader/viewer: Convert a bunch of loosely related signals to new syntax 2021-06-29 13:53:12 +02:00
5dbbaad73b GoTo flows: Untangle and refactor goTo signal to new syntax 2021-06-29 13:53:12 +02:00
47324e7f22 Comic/Render: Use overloads refactor some SIGNAL/SLOT connections to new syntax 2021-06-29 13:53:12 +02:00
f813a018d2 Comic: Virtual prototype for process(), fix signal/slot 2021-06-29 13:53:12 +02:00
8377de7c3e Clazy: Use fixits to refactor some old style signal connections 2021-06-29 13:53:12 +02:00
82a94113e1 macOS Info.plis: remove deprecated CFBundleGetInfoString 2021-06-26 00:39:05 +01:00
3683ace654 Remove message box used during development 2021-05-29 10:34:42 +02:00
4fc60c72aa Update YACReaderLibrary <-> YACReader communication to support reading lists 2021-05-27 18:56:31 +02:00
dbe1da58dc Update Simplified Chinese GUI translation for YACReader &
YACReaderLibrary
2021-05-09 11:55:52 +02:00