feat: 添加ElaWidgetTool库
This commit is contained in:
23
ElaWidgetTools/ElaExponentialBlur.h
Normal file
23
ElaWidgetTools/ElaExponentialBlur.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef ELAEXPONENTIALBLUR_H
|
||||
#define ELAEXPONENTIALBLUR_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "ElaProperty.h"
|
||||
#include "ElaSingleton.h"
|
||||
|
||||
class ElaExponentialBlurPrivate;
|
||||
class ELA_EXPORT ElaExponentialBlur : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_SINGLETON_CREATE_H(ElaExponentialBlur)
|
||||
Q_Q_CREATE(ElaExponentialBlur)
|
||||
private:
|
||||
explicit ElaExponentialBlur(QObject* parent = nullptr);
|
||||
~ElaExponentialBlur();
|
||||
|
||||
public:
|
||||
static QPixmap doExponentialBlur(QImage img, const quint16& blurRadius);
|
||||
};
|
||||
|
||||
#endif // ELAEXPONENTIALBLUR_H
|
||||
Reference in New Issue
Block a user