* Add `clearFocus()` to `QWidget` * Add `Alignment` param to `QBoxLayout.addWidget()` * Add `setViewportMargins()` & `viewportMargins()` to `QScrollArea` * Add `QEvent` methods to all event related subclasses * Tell C++ that our 0 is zero and not a null pointer
27 lines
690 B
C++
27 lines
690 B
C++
#pragma once
|
|
|
|
#include <napi.h>
|
|
|
|
#include <QDragLeaveEvent>
|
|
|
|
#include "Extras/Export/export.h"
|
|
#include "QtGui/QEvent/QEvent/qevent_macro.h"
|
|
#include "core/Component/component_macro.h"
|
|
|
|
class DLL_EXPORT QDragLeaveEventWrap
|
|
: public Napi::ObjectWrap<QDragLeaveEventWrap> {
|
|
COMPONENT_WRAPPED_METHODS_DECLARATION
|
|
QEVENT_WRAPPED_METHODS_DECLARATION
|
|
|
|
private:
|
|
QDragLeaveEvent* instance;
|
|
|
|
public:
|
|
static Napi::Object init(Napi::Env env, Napi::Object exports);
|
|
QDragLeaveEventWrap(const Napi::CallbackInfo& info);
|
|
~QDragLeaveEventWrap();
|
|
QDragLeaveEvent* getInternalInstance();
|
|
// class constructor
|
|
static Napi::FunctionReference constructor;
|
|
// wrapped methods (none)
|
|
}; |