git-svn-id: svn://db.shs.com.ru/libs@315 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-11-09 17:59:47 +00:00
parent bc2cc255b3
commit efeb95c1c3
4 changed files with 20 additions and 0 deletions

View File

@@ -445,6 +445,17 @@ void BlockItem::mouseMoveEvent(QGraphicsSceneMouseEvent * event) {
//QGraphicsItem::mouseMoveEvent(event);
}
void BlockItem::hoverEnterEvent(QGraphicsSceneHoverEvent * e) {
emit blockHoverEnter(this);
}
void BlockItem::hoverLeaveEvent(QGraphicsSceneHoverEvent * e) {
emit blockHoverLeave(this);
}
#define _POS(m) (i - ((cp.size() - 1) / 2)) * m
void BlockItem::arrangePins() {