* fix issue #481 * fix lint * Add QTextEdit and QTextBrowser * Add QGraphicsBlurEffect * Add QGraphicsDropShadowEffect Co-authored-by: wuxiaofeng <wuxiaofeng@erayt.com>
26 lines
684 B
C++
26 lines
684 B
C++
#pragma once
|
|
|
|
#include <napi.h>
|
|
|
|
#include <QPointer>
|
|
|
|
#include "Extras/Export/export.h"
|
|
#include "QtWidgets/QGraphicsEffect/qgraphicseffect_macro.h"
|
|
#include "ngraphicsblureffect.hpp"
|
|
|
|
class DLL_EXPORT QGraphicsBlurEffectWrap
|
|
: public Napi::ObjectWrap<QGraphicsBlurEffectWrap> {
|
|
QGRAPHICSEFFECT_WRAPPED_METHODS_DECLARATION
|
|
private:
|
|
QPointer<NGraphicsBlurEffect> instance;
|
|
|
|
public:
|
|
static Napi::Object init(Napi::Env env, Napi::Object exports);
|
|
QGraphicsBlurEffectWrap(const Napi::CallbackInfo& info);
|
|
~QGraphicsBlurEffectWrap();
|
|
NGraphicsBlurEffect* getInternalInstance();
|
|
// class constructor
|
|
static Napi::FunctionReference constructor;
|
|
// wrapped methods
|
|
};
|