@ -200,6 +200,7 @@ class ConductorTransparentBlock(QtWidgets.QGraphicsRectItem):
self.setFlags(QtWidgets.QGraphicsItem.ItemDoesntPropagateOpacityToChildren|QtWidgets.QGraphicsItem.ItemIsMovable)#no mouseReleaseEvent without selection or movable.
self.setFlags(QtWidgets.QGraphicsItem.ItemDoesntPropagateOpacityToChildren|QtWidgets.QGraphicsItem.ItemIsMovable)#no mouseReleaseEvent without selection or movable.
self.setAcceptHoverEvents(True)
self.setAcceptHoverEvents(True)
self.parent=parent#Conductor instance
self.parent=parent#Conductor instance
self.parentGuiTrack=parent#redundant, but specifically for block movement. see ScoreScene
@ -237,13 +237,17 @@ class CCGraphTransparentBlock(QtWidgets.QGraphicsRectItem):
super().__init__(x,y,w,h)
super().__init__(x,y,w,h)
#self.setFlags(QtWidgets.QGraphicsItem.ItemDoesntPropagateOpacityToChildren|QtWidgets.QGraphicsItem.ItemIsMovable) #no mouseReleaseEvent without selection or movable.
#self.setFlags(QtWidgets.QGraphicsItem.ItemDoesntPropagateOpacityToChildren|QtWidgets.QGraphicsItem.ItemIsMovable) #no mouseReleaseEvent without selection or movable.
self.setFlags(QtWidgets.QGraphicsItem.ItemDoesntPropagateOpacityToChildren)#no mouseReleaseEvent without selection or movable.
self.setFlags(QtWidgets.QGraphicsItem.ItemDoesntPropagateOpacityToChildren)#no mouseReleaseEvent without selection or movable.
self.parent=parent# CCPath instance
self.parentCCPath=parent
self.parent=parent#for compatibility with block movement to the appending positon.
self.parentGuiTrack=parent.parentGuiTrack#redundant, but specifically for block movement. see ScoreScene
@ -57,6 +57,7 @@ class GuiBlockHandle(QtWidgets.QGraphicsRectItem):
#self.setFlag(QtWidgets.QGraphicsItem.ItemHasNoContents, True) #only child items. Without this we get notImplementedError: QGraphicsItem.paint() is abstract and must be overridden
#self.setFlag(QtWidgets.QGraphicsItem.ItemHasNoContents, True) #only child items. Without this we get notImplementedError: QGraphicsItem.paint() is abstract and must be overridden