Commit Graph

299 Commits

Author SHA1 Message Date
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
07eb103ce3 Add the new files to the projects 2026-02-19 18:06:30 +01:00
77240e67f2 Add a struct for the cases where we need to specify a icon size explicitly 2026-02-19 18:06:30 +01:00
390b24514c Add helpers to tint svg files 2026-02-19 18:06:30 +01:00
19a4037a1a Add an abstract class to be implemented by any class that needs theming 2026-02-19 18:06:30 +01:00
cc753e1866 Add ThemeManager
It can listen to system changes and update the current theme, widgets can use it to get the current theme.
2026-02-19 18:06:30 +01:00
05338d8122 Add an enum to identify themes
We can add here all the built-in themes, plus a custom one that could be loaded from a file.
2026-02-19 18:06:30 +01:00
ecee7d0aa4 Add new pri files for including the theme related files 2026-02-19 18:06:30 +01:00
5ebf52bdb3 Fix shaders, vertex shader output locations don't match the fragment shader input locations. 2026-02-19 18:00:53 +01:00
7fad1ebb3f Make compile_shaders.sh executable 2026-02-19 18:00:53 +01:00
283475bee2 Remove software and opengl flow implementations
This simplifies the code base A LOT.
2026-02-19 18:00:53 +01:00
8c04235987 Remove comments 2026-02-19 18:00:53 +01:00
f2b3a696a9 Add performance measurement 2026-02-19 18:00:53 +01:00
d913fa137e Add a CPU based frustum culling that's good enough for flow use case 2026-02-19 18:00:53 +01:00
d4fbbd5603 More cleaning 2026-02-19 18:00:53 +01:00
ea80a550dd Clean unused stuff 2026-02-19 18:00:52 +01:00
720d58533c Fix the fragment shader to work with any background color
There now some dither to avoid banding in the gradients.
2026-02-19 18:00:52 +01:00
41b02725d7 Use the fragment shader to calculate the shading effect for a more uniform shading than the one based on vertex 2026-02-19 18:00:52 +01:00
7384d50721 Fix mipmapping 2026-02-19 18:00:52 +01:00
4e18fb69d7 Lazy population can clear already set marks
We need to initialize marks separated from populate
2026-02-19 18:00:52 +01:00
5e21657791 Simplify code 2026-02-19 18:00:52 +01:00
6053fca005 Use a QLabel to show the current/total text 2026-02-19 18:00:52 +01:00
c4c59ab96a Ensure resources dynamically
Content and settings can vary at any moment and we need to be prepared for always have a consistent context
2026-02-19 18:00:52 +01:00
48aaf36fab Format 2026-02-19 18:00:52 +01:00
b142ffd6c9 Remove comments 2026-02-19 18:00:52 +01:00
816d5bfe9a Extract the comic and page flow classes to their own files 2026-02-19 18:00:52 +01:00
65fd07bb99 Add proper resources cleaning 2026-02-19 18:00:52 +01:00
e6b7174c62 Put rhi resources into a scene struct 2026-02-19 18:00:52 +01:00
3381754c12 Add an initial rhi implementation that mimics the opengl implementation 2026-02-19 18:00:52 +01:00
91b8a31727 AI generated migration for a more modern OpenGL (3.3 + ES 3.0) approach that supports tinting 2026-02-19 18:00:52 +01:00
d89368d135 Fix migration from pre-9.14 libraries
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt5) (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 / macOS (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Windows x86 (Qt5) (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
2026-01-13 19:05:19 +01:00
7927975902 Avoid saving a non populated header state for the table view headers
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt5) (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 / macOS (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Windows x86 (Qt5) (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
This was causing problems loading content on the table view that could persist between sessions.
2025-12-29 19:06:04 +01:00
52124567d8 Fix last column stretch in the comics table view
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt5) (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 / macOS (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Windows x86 (Qt5) (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
2025-12-29 13:49:57 +01:00
626ac14d01 Use the default user agent in YACReader
Some checks failed
Build / Initialization (push) Has been cancelled
Build / Code Format Validation (push) Has been cancelled
Build / Linux (Qt5) (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 / macOS (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt5) (push) Has been cancelled
Build / Windows x64 (Qt6) (push) Has been cancelled
Build / Windows ARM64 (Qt6) (push) Has been cancelled
Build / Windows x86 (Qt5) (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
2025-12-10 11:10:37 +01:00
79eb19a192 Add COMIC_VINE_USER_AGENT to YACReaderLibrary.ini to be able to customize the user agent 2025-12-10 10:42:45 +01:00
d2bdd3fc8f Bump version number to 9.16.1 2025-12-08 11:46:31 +01:00
368898e013 Send a user agent header to simulate being a browser when requesting Comic Vine info
This fixes cover loading in the Comic Vine scraper.
2025-12-08 11:46:02 +01:00
14ad6f3a2d Do not create a new QCollator every time we compare a string 2025-11-19 18:09:10 +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
b7fb45a331 Add support for storing and serving the new comic filters format
It's already implemented on iOS and next is supporting it on Android.
2025-06-14 09:56:33 +02:00
4adad5f966 Format 2025-05-09 21:33:14 +02:00
8b159c9da6 Support drag&drop for setting a custom cover in the properties dialog 2025-05-09 19:58:52 +02:00
28952180ab Remove commented code 2025-05-09 19:27:35 +02:00
508ff6d547 Add support for loading custom comic images 2025-05-09 19:25:02 +02:00
b976b7f809 Add support for setting custom covers on folders 2025-05-08 22:00:55 +02:00
a51252ca0d Add settings to the options dialog to control the mouse behavior 2025-05-04 09:51:17 +02:00
257436c040 Move FitMode to configuration.h 2025-05-03 15:44:41 +02:00
181884a85f More migrations to LibraryPaths 2025-03-30 15:17:24 +02:00
d4b7c6dd8a Extract library paths methods to it's own struct in yacreader_global.h and use it everywhere 2025-03-29 11:31:53 +01:00