PowerDesignerX/include/util/selectionSelector.h

30 lines
664 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
*\file selectionSelector.h
*
*\brief 用来实现图元选择的selector比如点选、框选和取消选择等也是默认的selector
*
*\author dsc
*/
#ifndef SELECTIONSELECTOR_H
#define SELECTIONSELECTOR_H
#include "baseSelector.h"
class SelectionSelector : public BaseSelector
{
Q_OBJECT
public:
explicit SelectionSelector(QObject *parent = 0);
virtual ~SelectionSelector();
public:
void mousePressEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
void mouseMoveEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
void mouseReleaseEvent(QGraphicsSceneMouseEvent*, DesignerScene*);
};
#endif