piqt importand fix with qmap serialization

ImageView now supprt view interaction
BlockView update background when EnabledChange
This commit is contained in:
2021-08-05 00:41:52 +03:00
parent a9203554c5
commit 1ab677774b
4 changed files with 46 additions and 22 deletions

View File

@@ -113,6 +113,9 @@ bool BlockView::event(QEvent * e) {
QGraphicsView::scale(cscl / prev_app_scale, cscl / prev_app_scale);
prev_app_scale = cscl;
}
if (e->type() == QEvent::EnabledChange) {
_updateBack();
}
return QGraphicsView::event(e);
}