first commit

This commit is contained in:
2026-02-21 17:11:31 +09:00
commit 18b4338361
4001 changed files with 365464 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#ifndef RM_WIDGET_DRAG_H
#define RM_WIDGET_DRAG_H
#include "../rm_include.h"
//#include <QWidget>
class RMWidgetDrag : public QObject
{
Q_OBJECT
public:
explicit RMWidgetDrag(QWidget *target,int titleBarHeight);
~RMWidgetDrag();
private:
int _titleBarHeight;
QWidget* _target;
bool _dragStart;
QPoint _dragPos;
bool eventFilter(QObject *o, QEvent *e) override;
signals:
void onWindowMove();
public slots:
};
#endif // RM_WIDGET_DRAG_H