123456789101112131415161718192021222324252627 |
- #ifndef QMOVEWINDOWMANAGER_H
- #define QMOVEWINDOWMANAGER_H
- #include <QtCore/qglobal.h>
- #include <QObject>
- #include <QWidget>
- #include "qcoreevent.h"
- class QMoveWindowManager : public QObject
- {
- Q_OBJECT
- QPoint m_ptPress;
- bool m_bLeftButtonPress;
- QPoint m_ptMove;
- QWidget * m_parent;
- QRect m_hit;
- public:
- QMoveWindowManager(QWidget *parent,QRect hit=QRect());
- ~QMoveWindowManager();
- virtual bool eventFilter( QObject * obj, QEvent * evt);
- private:
-
- };
- #endif // QMOVEWINDOWMANAGER_H
|