DiagramDesigner/include/util/movingSelector.h

30 lines
578 B
C
Raw Normal View History

2024-12-03 20:07:25 +08:00
/**
*\file movingSelector.h
*
*\brief selector
*
*\author dsc
*/
#ifndef MOVINGSELECTOR_H
#define MOVINGSELECTOR_H
#include "baseSelector.h"
class MovingSelector : public BaseSelector
{
Q_OBJECT
public:
explicit MovingSelector(QObject *parent = 0);
virtual ~MovingSelector();
public:
void mousePressEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
void mouseMoveEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
void mouseReleaseEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
};
#endif