git-svn-id: svn://db.shs.com.ru/libs@300 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -956,6 +956,30 @@ bool BlockView::connectPins(BlockItemPin * p0, BlockItemPin * p1) {
|
||||
}
|
||||
|
||||
|
||||
void BlockView::setTransform(const QTransform & matrix, bool combine) {
|
||||
QGraphicsView::setTransform(matrix, combine);
|
||||
nav_target = _nav();
|
||||
}
|
||||
|
||||
|
||||
void BlockView::centerOn(const QPointF & pos) {
|
||||
QGraphicsView::centerOn(pos);
|
||||
nav_target = _nav();
|
||||
}
|
||||
|
||||
|
||||
void BlockView::centerOn(qreal x, qreal y) {
|
||||
QGraphicsView::centerOn(x, y);
|
||||
nav_target = _nav();
|
||||
}
|
||||
|
||||
|
||||
void BlockView::centerOn(const QGraphicsItem * item) {
|
||||
QGraphicsView::centerOn(item);
|
||||
nav_target = _nav();
|
||||
}
|
||||
|
||||
|
||||
void BlockView::restoreSelState() {
|
||||
foreach (QGraphicsItem * i, sel_items) {
|
||||
i->setPos(i->data(1001).toPointF());
|
||||
|
||||
Reference in New Issue
Block a user