git-svn-id: svn://db.shs.com.ru/libs@315 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -161,6 +161,8 @@ protected:
|
||||
int type() const {return Type;}
|
||||
QRectF boundingRect() const;
|
||||
void mouseMoveEvent(QGraphicsSceneMouseEvent * event);
|
||||
void hoverEnterEvent(QGraphicsSceneHoverEvent * event);
|
||||
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event);
|
||||
double left() const {return boundingRect().left();}
|
||||
double right() const {return boundingRect().right();}
|
||||
double top() const {return boundingRect().top();}
|
||||
@@ -174,6 +176,9 @@ protected:
|
||||
QMap<Qt::Alignment, QVector<BlockItemPin * > > pins_;
|
||||
QList<QGraphicsItem * > decors_;
|
||||
|
||||
signals:
|
||||
void blockHoverEnter(BlockItem * b);
|
||||
void blockHoverLeave(BlockItem * b);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user