self._markerLine.setZValue(_zValuesRelativeToScene["switch"]+1)#It is not possible to have this in front of barlines AND the switches. Barlines need to be below switches for multiplied-patterns. But we want to "erase" the switches
self._markerLine.hide()
self._markerLine.hide()
#Semitransparent hover-switch to show which one would be activated/deactivated
#Semitransparent hover-switch to show which one would be activated/deactivated