From 469dae40285ced9f56a44c260e4e1a53ae08dd9c Mon Sep 17 00:00:00 2001 From: SSSSSSSan Date: Sat, 7 Aug 2021 02:21:19 +0000 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E4=BB=B6=20frameles?= =?UTF-8?q?swidget.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- framelesswidget.h | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 framelesswidget.h diff --git a/framelesswidget.h b/framelesswidget.h deleted file mode 100644 index 4eb74ed..0000000 --- a/framelesswidget.h +++ /dev/null @@ -1,26 +0,0 @@ - -#ifndef FRAMELESSWIDGET_H -#define FRAMELESSWIDGET_H - -#include -#include //注意头文件 -#include -#include -class FramelessWidget : public QWidget -{ - Q_OBJECT - -public: - FramelessWidget(QWidget *parent = 0); - ~FramelessWidget(); -protected: - bool nativeEvent(const QByteArray &eventType, void *message, long *result); - void mousePressEvent(QMouseEvent *e); - void mouseMoveEvent(QMouseEvent *e); -private: - int boundaryWidth; - QPoint clickPos; -}; - - -#endif // FRAMELESSWIDGET_H -- Gitee