diff --git a/qtgui/mainwindow.py b/qtgui/mainwindow.py index 33ae29e..68c411e 100644 --- a/qtgui/mainwindow.py +++ b/qtgui/mainwindow.py @@ -132,10 +132,11 @@ class MainWindow(TemplateMainWindow): def zoom(self, scaleFactor:float): - """Scale factor is absolute""" + """Scale factor is absolute. zooming three times to 2.0 will result in 2.0""" self.scoreView.zoom(scaleFactor) def stretchXCoordinates(self, factor:float): + """Cumulative factor. If you repeatedly send factor=2 it will double each time""" self.scoreView.stretchXCoordinates(factor) def updateStatusBar(self, exportCursorDict): @@ -164,6 +165,8 @@ class MainWindow(TemplateMainWindow): def toggleMainView(self): + """Switch between the Track Editor and Score/Block Editor""" + if self.ui.actionData_Editor.isChecked(): self.ui.mainStackWidget.setCurrentIndex(self.ui.mainStackWidget.indexOf(self.trackEditor)) self.scoreView.setEnabled(False) #disables shortcut like cursor movement, but not all of them.