改进大量代码

This commit is contained in:
feiyangqingyun
2021-05-15 19:09:26 +08:00
parent c574db4f26
commit 8fcebd5b73
58 changed files with 4772 additions and 14431 deletions

View File

@@ -0,0 +1,28 @@
#ifndef FRAMELESSWIDGET2_H
#define FRAMELESSWIDGET2_H
#include <QWidget>
#ifdef quc
class Q_DECL_EXPORT FramelessWidget2 : public QWidget
#else
class FramelessWidget2 : public QWidget
#endif
{
Q_OBJECT
public:
explicit FramelessWidget2(QWidget *parent = 0);
protected:
bool eventFilter(QObject *watched, QEvent *event);
bool nativeEvent(const QByteArray &eventType, void *message, long *result);
#ifdef Q_OS_WIN
bool winEvent(MSG *message, long *result);
#endif
private:
int padding;
};
#endif // FRAMELESSWIDGET2_H