super().__init__(mainWindow,translate("submenus","choose units per minute, reference note, graph type"),hasOkCancelButtons=True)
super().__init__(mainWindow,translate("submenus","choose units per minute, reference note, graph type\nand an optional description like 'Allegro'"),hasOkCancelButtons=True)
self.mainWindow=mainWindow
self.staticExportTempoItem=staticExportTempoItem
tickindex,unitsPerMinute,referenceTicks,graphType=self.getCurrentValues()#takes self.staticExportTempoItem into account
tickindex,unitsPerMinute,referenceTicks,graphType,description=self.getCurrentValues()#takes self.staticExportTempoItem into account
self.unitbox=QtWidgets.QSpinBox()
self.unitbox.setMinimum(1)
@ -286,24 +286,29 @@ class SecondaryTempoChangeMenu(Submenu):
returnself.mainWindow.scoreView.scoreScene.cursor.cursorExportObject["tickindex"],self.mainWindow.scoreView.scoreScene.cursor.cursorExportObject["tempoUnitsPerMinute"],self.mainWindow.scoreView.scoreScene.cursor.cursorExportObject["tempoReferenceTicks"],self.mainWindow.scoreView.scoreScene.cursor.cursorExportObject["tempoGraphType"],""#empty string is the description
classSecondaryTemporaryTempoChangeMenu(Submenu):
"""Essentially: What kind of fermata effect do you want?"""