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

This commit is contained in:
2018-12-23 11:35:14 +00:00
parent 55710aafc9
commit df631820a2
3 changed files with 7 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
BlockItem::BlockItem(QGraphicsItem * parent): QGraphicsObject(parent), PropertyStorage(),
g_main(this), g_selection(this) {
setData(1006, "item");
setZValue(1.);
setZValue(2.);
setAcceptHoverEvents(true);
setFlags(QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemIsMovable);
g_main.setData(1002, true);