Browse Source

Add option to use current block duration when entering a minimum duration in block properties GUI

master
Nils 4 months ago
parent
commit
aee31a95db
  1. 8
      CHANGELOG
  2. 9
      qtgui/submenus.py

8
CHANGELOG

@ -5,13 +5,18 @@ Two empty lines before the next entry.
External contributors notice at the end of the line: (LastName, FirstName / nick)
## 2022-10-15 2.2.2
Empty blocks with explicit minimum tick duration will not be deleted anymore by "Delete All Empty Blocks" command.
Add option to use current block duration when entering a minimum duration in block properties GUI
## 2022-08-15 2.2.1
"Flip the page" earlier during live playback, showing the last measure (or so) twice
Add global staff size to lilypond properties and metadata
Don't export empty tracks (no duration items) to Lilypond.
Always show block labels in block mode.
Don't focus on cursor after stretching.
Fix duplicate to reserverd-space block.
Fix "duplicate to reserved-space" block.
Fix crash when splitting linked block in multiple tracks.
Fix crash related to MultimeasureRests in a context without a MetricalInstruction.
@ -36,7 +41,6 @@ Lilypond Export:
Add lilypond template filename to properties and metadata dialog. Will be symlinked into the session dir automatically.
## 2022-07-15 2.1.0
New function: custom key signature for any combination.
Add area in the GUI to set initial key signature, metrical instructions and clefs, accessed through the track editor

9
qtgui/submenus.py

@ -405,8 +405,15 @@ class BlockPropertiesEdit(Submenu):
self.minimumInTicks.setValue(self.staticExportItem["minimumInTicks"])
self.layout.addRow(translate("submenus", "minimum in ticks"), self.minimumInTicks)
self.setMinimumToCurrentButton = QtWidgets.QPushButton(translate("submenus","Set min. to current"))
self.setMinimumToCurrentButton.clicked.connect(self.setMinimumToCurrent)
self.layout.addRow(None, self.setMinimumToCurrentButton)
self.__call__()
def setMinimumToCurrent(self):
self.minimumInTicks.setValue(self.staticExportItem["completeDuration"])
def process(self):
newParametersDict = {
"minimumInTicks":self.minimumInTicks.value(),
@ -474,7 +481,7 @@ class TransposeMenu(Submenu):
self.done(True)
class SecondaryProperties(Submenu):
"""Lilypodn Settings and Properties.
"""Lilypond Settings and Properties.
Directly edits the backend score meta data. There is no api and no callbacks"""
def __init__(self, mainWindow):

Loading…
Cancel
Save