Commit Graph

311 Commits

Author SHA1 Message Date
865020fe11 Migrate the build system to cmake 2026-02-25 09:19:39 +01:00
68dd26e20f Clean leftover code after theming that set QIcons directly 2026-02-22 21:30:03 +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
76860ae6c4 Support Qt below 6.5
QStyleHints::colorScheme is only 6.5+ but github actions latest ubuntu image is running Qt 6.4.
2026-02-19 19:21:28 +01:00
ac5adcf824 Bump version to 10.0.0 2026-02-19 18:21:53 +01:00
044176d6b7 Initial implementation of theming 2026-02-19 18:06:32 +01:00
9d6a1abd39 Improve icon utils by supporting explicit file name destination
Useful for using svg templates that can generate multiple icons, e.g. labels
2026-02-19 18:06:31 +01:00
36899b4e06 Add new function to recolor svg files supporting 3 placeholders 2026-02-19 18:06:31 +01:00
6b3fcc63d3 Make help/about dialog themable
Just the hardcoded colors used, the rest of the dialog will be themed by Qt.
2026-02-19 18:06:31 +01:00
561c2ae568 Fix theme initialization in Themable 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
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