Upgrade to Qt 6.10.3, refactor AppState for LibraryModel integration, add ChunkMeasurer tests, and update CI/docker configurations.

This commit is contained in:
Agel committed 2026-04-03 13:55:28 +02:00
1 parent 0303107fa2
commit a31b20534a
53 files changed
+2095 -880

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#pragma once
#include <QQuickAsyncImageProvider>
#include <QString>
class IImageProvider : public QQuickAsyncImageProvider {
public:
virtual ~IImageProvider() = default;
virtual void setFilePath(const QString &filePath) = 0;
virtual void setDisplayWidth(int width) = 0;
virtual void clear() = 0;
// Returns the full QML image URL for a given internal path (e.g., "image://epub/OEBPS/cover.jpg")
virtual QString coverImageUrl(const QString &coverPath) const = 0;
// The scheme this provider is registered under with the QML engine (e.g., "epub")
virtual QString scheme() const = 0;
};