#ifndef QMOVEWINDOWMANAGER_H #define QMOVEWINDOWMANAGER_H #include #include #include #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