Move most pattern tool buttons to a real toolbar and activate most opengl viewports. However, not the pattern one because pitches are still proxy widgets
tranposeControlsProxy.setPos(velocityControlsProxy.geometry().width()+10,25)#we can't get the height of the track name properly. So it was trial and error...
tranposeControlsProxy.setZValue(_zValuesRelativeToScene["scale"])#so the drop down menu is above the steps
self._middleMouseDown=False
#self.ticksToPixelRatio set by callback_timeSignatureChanged
@ -885,10 +877,12 @@ class Playhead(QtWidgets.QGraphicsLineItem):
self.hide()
classVelocityControls(QtWidgets.QWidget):
def__init__(self,parentScene):
self.parentScene=parentScene
def__init__(self,mainWindow,patternScene):
super().__init__()
self.parentScene=patternScene
self.mainWindow=mainWindow
layout=QtWidgets.QHBoxLayout()
layout.setSpacing(0)
layout.setContentsMargins(0,0,0,0)
@ -909,9 +903,9 @@ class VelocityControls(QtWidgets.QWidget):