GradientImageProvider.h 326 Bytes
Newer Older
Michael Winkelmann's avatar
Michael Winkelmann committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef GRADIENTIMAGEPROVIDER_H
#define GRADIENTIMAGEPROVIDER_H

#include <QQuickImageProvider>

class GradientImageProvider : public QQuickImageProvider
{
public:
    GradientImageProvider();

    QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) override;
};

#endif // GRADIENTIMAGEPROVIDER_H