668cc48578
Fix hdpi trackpad scrolling when scroll animations are enabled.
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
2026-04-08 22:27:53 +02:00
49eed6ba85
Use continuous scroll mode automatically when a web comic is open
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
2026-03-24 22:17:41 +01:00
3709b6e737
Format includes using clang-format
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
2026-03-13 18:21:38 +01:00
f0943995c6
Include sanitation
2026-03-13 11:06:25 +01:00
6317c3a4d0
Fix the continuous scroll mode in hdpi screen modes
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt6) (push) Has been cancelled
Build / Linux (Qt6 + 7zip) (push) Has been cancelled
Build / macOS (Qt6 Universal) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Docker amd64 Image (push) Has been cancelled
Build / Docker arm64 Image (push) Has been cancelled
Build / Publish Dev Builds (push) Has been cancelled
Build / Publish Release (push) Has been cancelled
Build / Publish YACReader10 Pre-release Builds (push) Has been cancelled
2026-03-07 22:38:33 +01:00
fbbccfc608
Fix drag for scrolling in continuous scroll mode
2026-03-07 22:22:19 +01:00
3f6235fe32
Trigger a rendering pass when the settings change
2026-03-06 17:19:02 +01:00
de676a0fcb
Use the new resize image API to resize the pages while reading
2026-03-06 17:18:14 +01:00
e636406855
Fix the magnifying glass in continuous scroll mode
2026-03-05 21:10:52 +01:00
0bd291ba98
Extract the layout logic to a view model to simplify the update logic in continuous scroll mode
2026-02-26 20:42:29 +01:00
adfa058742
Implement continuous scrolling
2026-02-22 19:28:37 +01:00
7218d0dc87
Drop Qt 5 support
2026-02-20 21:48:15 +01:00
3bdbf4424b
Use local var
2026-02-19 18:06:31 +01:00
bd4c5eace0
Make Themable keep the current theme for convenience
2026-02-19 18:06:31 +01:00
edd5bbc69c
Make Themable pass the current Theme through applyTheme
...
This reduces boilerplate code and remove the ThemeManager dependency at Thamable subclasses level.
2026-02-19 18:06:31 +01:00
721da42c8c
Add toolbar and background theming to YACReader
2026-02-19 18:06:30 +01:00
283475bee2
Remove software and opengl flow implementations
...
This simplifies the code base A LOT.
2026-02-19 18:00:53 +01:00
3381754c12
Add an initial rhi implementation that mimics the opengl implementation
2026-02-19 18:00:52 +01:00
41b7873263
Setting to control whether the time is shown in the 'current page/total' label.
...
Apparently I am going to make millions with this new feature :D
2025-07-18 14:51:33 +02:00
8b41bbf711
Check the load state before trying to turn pages
2025-05-04 09:52:13 +02:00
7db47f9147
Extract mouse handling events to it's own class
2025-05-03 15:10:16 +02:00
c5924e625b
Fix trackpad scrolling in YACReader
2024-08-18 14:51:10 +02:00
2bebec95bf
Save magnifying glass size and zoom level
2024-03-02 12:14:01 +01:00
5706407778
Add options for disabling scroll animation
2023-08-26 10:18:52 +02:00
f3249e4053
Add shortcuts to control the double page mode offset
2023-07-09 10:44:43 +02:00
68ece533e1
Replace Q_OS_MAC with Q_OS_MACOS
2023-06-04 20:55:11 +02:00
315d2deced
Don't use Q_OS_MAC for ui specifics, Y_MAC_UI is the replacement
2023-05-23 18:51:33 +02:00
0afe2c33b7
Fix currentPage value when closing YACReader in double page mode
...
If the latest page of the comic is visible, that should be the currentPage value so YACReaderLibrary can mark the comic as read.
2022-12-27 09:26:55 +01:00
24e42f76d2
Make Magnifying glass shortcuts work with non-Latin layouts
...
Viewer::keyPressEvent()'s and MagnifyingGlass::keyPressEvent()'s custom
matching of these shortcuts is the same as
MainWindowViewer::keyPressEvent()'s before the recent commit
"Reader: make 3 keyboard shortcuts work with non-Latin layouts". That
commit's message details the issues with the custom code.
The Magnifying glass actions are now enabled/disabled when
loadedComicActions are enabled/disabled - for the same reason (see the
recent "Reader: make 12 keyboard shortcuts work with non-Latin layouts"
commit). In addition, Viewer::keyPressEvent() propagated the Magnifying
glass shortcuts to MagnifyingGlass only when it was visible. Therefore
showing/hiding Magnifying glass also enables/disables these actions.
Note that Viewer::showMagnifyingGlass() shows Magnifying glass only if
render->hasLoadedComic() returns true, so
MainWindowViewer::setMglassActionsEnabled slot can be connected directly
to Viewer::magnifyingGlassVisibilityChanged signal without checking this
condition again.
2022-01-15 18:02:31 +02:00
5254e66da3
Fix a typo in Viewer::magnifyingGlassShowed name
...
Make Viewer::magnifyingGlassIsVisible() const.
2022-01-15 18:02:30 +02:00
efe9a1b995
MagnifyingGlass: get rid of C-style casts to Viewer*
...
qobject_cast<const Viewer *> improves const correctness.
QLabel::pixmap() is const-qualified => make Viewer::pixmap() const too.
Return non-const QPixmap from Viewer::pixmap() to let compiler move the
return value at the function's call sites.
Introduce a named constant maxRelativeDimension. Change its type from
float to double, which usually multiplies faster on x86-64.
Remove redundant parentheses to improve readability.
2022-01-15 18:02:30 +02:00
a1bb7735d2
Reader: make 12 keyboard shortcuts work with non-Latin layouts
...
Viewer::keyPressEvent()'s custom matching of these shortcuts is the same
as MainWindowViewer::keyPressEvent()'s before the recent commit
"Reader: make 3 keyboard shortcuts work with non-Latin layouts". That
commit's message details the issues with the custom code.
render->hasLoadedComic() condition in Viewer::keyPressEvent() becomes
true when Comic::_loaded is set to true. This always happens right after
Comic emits its numPages() signal. That is why the 12 fixed actions are
now enabled when Viewer emits its comicLoaded() signal, which is
connected to Render::numPages, which in turn is connected to
Comic::numPages signal.
The 12 fixed actions are now disabled when most other actions are
disabled: before a comic is opened and on comic opening error.
2022-01-15 18:02:30 +02:00
feaee915bc
Extract Viewer::(vertical|horizontal)ScrollStep()
2022-01-15 18:02:30 +02:00
133b547e7a
Remove unused *Step* data members from Viewer
2022-01-15 18:02:30 +02:00
77c96de0ea
Remove unused resources
2022-01-15 15:51:59 +01:00
e452178adb
Log the device pixel ratio used while rendering
2022-01-15 11:54:40 +01:00
565bc3a5d0
Replace all uses of devicePixelRatio with devicePixelRatioF
2022-01-14 19:22:50 +01:00
e532fa4439
Use devicePixelRatioF instead of devicePixelRatio when rendering pages
2022-01-13 23:12:05 +01:00
d20958c14f
Make forward and backward mouse buttons turn pages
2022-01-13 23:05:49 +01:00
dcb7e6e0c6
Add settings to control the page turn behavior on scroll
2022-01-13 23:04:22 +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
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
ae43f23c85
Use angleDelta
...
pixelDelta is only provided in systems that support it
2021-10-19 00:00:08 +02:00
740eab5025
Update QWheelEvent delta usage
2021-10-19 00:00:08 +02:00
5f55dab0cc
Do not write unused values
2021-10-19 00:00:08 +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
b8ad2b540b
Merge branch 'develop' into clazy_autorefactoring
2021-09-26 08:52:23 +02:00