#ifndef FLUFRAMELESS_H #define FLUFRAMELESS_H #include #include #include #include #include "stdafx.h" class FluFrameless : public QObject, public QQmlParserStatus { Q_OBJECT QML_NAMED_ELEMENT(FluFrameless) public: explicit FluFrameless(QObject *parent = nullptr); ~FluFrameless(); void classBegin() override; void componentComplete() override; protected: bool eventFilter(QObject *obj, QEvent *event) override; private: void updateCursor(int edges); private: QPointer _window = nullptr; }; #endif // FLUFRAMELESS_H