Browse Source

remove old code

master
Nils 4 years ago
parent
commit
b069cdb26c
  1. 16
      qtgui/pattern_grid.py

16
qtgui/pattern_grid.py

@ -786,27 +786,11 @@ class PitchWidget(QtWidgets.QGraphicsProxyWidget):
self.setWidget(widget)
self.spinBox.wheelEvent = self.spinBoxMouseWheelEvent
self.spinBox.valueChanged.connect(self.spinBoxValueChanged)
self.spinBox.editingFinished.connect(self.spinBoxEditingFinished)
#self.spinBoxValueChanged() #Delay that. The engine Data is not ready yet. It will be sent by the callback
arrowsLeftStylesheet = """
QSpinBox {
padding-left: 15px; /* make room for the arrows */
}
QSpinBox::up-button {
subcontrol-position: top left; /* position at the top right corner */
}
QSpinBox::down-button {
subcontrol-position: bottom left; /* position at bottom right corner */
}
"""
#That does not looks good
#self.spinBox.setStyleSheet(arrowsLeftStylesheet)
def midiToNotename(self, midipitch):
assert self.parentItem.simpleNoteNames, self.parentItem.simpleNoteNames

Loading…
Cancel
Save