Upgrade to Qt 6.10.3, refactor AppState for LibraryModel integration, add ChunkMeasurer tests, and update CI/docker configurations.
This commit is contained in:
53 files changed
+2095
-880
No files matched your search
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user