clip children
prevent from desktop vigets going into the panel
This commit is contained in:
parent
b7e335265f
commit
b332cfade6
@ -160,7 +160,7 @@ void Containment::init()
|
||||
|
||||
setCacheMode(NoCache);
|
||||
setFlag(QGraphicsItem::ItemIsMovable, false);
|
||||
setFlag(QGraphicsItem::ItemClipsChildrenToShape, false);
|
||||
setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);
|
||||
setAcceptDrops(true);
|
||||
setAcceptsHoverEvents(true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user