This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef FILTER_H | |
#define FILTER_H | |
#include <QQuickImageProvider> | |
#include <QObject> | |
class Filter : public QObject, public QQuickImageProvider | |
{ | |
Q_OBJECT | |
private: | |
int _kernelRadius; // フィルター半径 | |
public: | |
Filter(QObject *parent); | |
~Filter(); | |
// フィルター半径のセット | |
Q_INVOKABLE void setKernelRadius(int radius); | |
QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize); | |
signals: | |
public slots: | |
}; | |
#endif // FILTER_H |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment