DiagramDesigner/include/util/linkMovingSelector.h

31 lines
718 B
C
Raw Normal View History

/**
*\file linkMovingSelector.h
*
*\brief 线selectormovingSelector作区分
*
*\author by
*/
#ifndef LINKMOVINGSELECTOR_H
#define LINKMOVINGSELECTOR_H
#include "baseSelector.h"
class ElectricConnectLineItem;
class LinkMovingSelector : public BaseSelector
{
Q_OBJECT
public:
explicit LinkMovingSelector(QObject *parent = 0);
virtual ~LinkMovingSelector();
public:
void mousePressEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
void mouseMoveEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
void mouseReleaseEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
private:
ElectricConnectLineItem* m_pMovingLine;
};
#endif