Show blurhashes for image events

This commit is contained in:
Tobias Fella
2021-08-21 00:19:07 +02:00
parent dada3e300b
commit 046e823d1b
10 changed files with 291 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
// SPDX-FileCopyrightText: 2021 Tobias Fella <fella@posteo.de>
// SPDX-License-Identifier: LGPL-2.0-or-later
#pragma once
#include <QQuickImageProvider>
class BlurhashImageProvider : public QQuickImageProvider
{
public:
BlurhashImageProvider();
QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) override;
};