# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'mainwindow.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1036, 625) MainWindow.setWindowTitle("Laborejo") self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout_2.setObjectName("verticalLayout_2") self.mainStackWidget = QtWidgets.QStackedWidget(self.centralwidget) self.mainStackWidget.setObjectName("mainStackWidget") self.verticalLayout_2.addWidget(self.mainStackWidget) MainWindow.setCentralWidget(self.centralwidget) self.statusbar = QtWidgets.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.toolBar = QtWidgets.QToolBar(MainWindow) self.toolBar.setWindowTitle("toolBar") self.toolBar.setMovable(False) self.toolBar.setFloatable(False) self.toolBar.setObjectName("toolBar") MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar) self.menubar = QtWidgets.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1036, 20)) self.menubar.setObjectName("menubar") self.menuHelp = QtWidgets.QMenu(self.menubar) self.menuHelp.setObjectName("menuHelp") self.menuObjects = QtWidgets.QMenu(self.menubar) self.menuObjects.setObjectName("menuObjects") self.menuGeneric = QtWidgets.QMenu(self.menubar) self.menuGeneric.setEnabled(True) self.menuGeneric.setTitle("&Generic") self.menuGeneric.setObjectName("menuGeneric") self.menuType_Here = QtWidgets.QMenu(self.menuGeneric) self.menuType_Here.setTitle("T&ype Here") self.menuType_Here.setObjectName("menuType_Here") self.menuTracks = QtWidgets.QMenu(self.menubar) self.menuTracks.setObjectName("menuTracks") self.menuEdit = QtWidgets.QMenu(self.menubar) self.menuEdit.setObjectName("menuEdit") self.menuView = QtWidgets.QMenu(self.menubar) self.menuView.setObjectName("menuView") self.menuMode = QtWidgets.QMenu(self.menuView) self.menuMode.setObjectName("menuMode") self.menu = QtWidgets.QMenu(self.menubar) self.menu.setEnabled(False) self.menu.setObjectName("menu") self.menu_2 = QtWidgets.QMenu(self.menubar) self.menu_2.setEnabled(False) self.menu_2.setTitle("|") self.menu_2.setObjectName("menu_2") self.menuEdit_MusicItem = QtWidgets.QMenu(self.menubar) self.menuEdit_MusicItem.setObjectName("menuEdit_MusicItem") self.menuEdit_2 = QtWidgets.QMenu(self.menubar) self.menuEdit_2.setObjectName("menuEdit_2") self.menuToolbox = QtWidgets.QMenu(self.menubar) self.menuToolbox.setObjectName("menuToolbox") self.menuOrder = QtWidgets.QMenu(self.menuToolbox) self.menuOrder.setObjectName("menuOrder") self.menuInsert = QtWidgets.QMenu(self.menuToolbox) self.menuInsert.setObjectName("menuInsert") self.menuMIDI = QtWidgets.QMenu(self.menuToolbox) self.menuMIDI.setObjectName("menuMIDI") self.menuLilypond = QtWidgets.QMenu(self.menubar) self.menuLilypond.setObjectName("menuLilypond") self.menuSettings = QtWidgets.QMenu(self.menubar) self.menuSettings.setObjectName("menuSettings") MainWindow.setMenuBar(self.menubar) self.leftToolBar = QtWidgets.QToolBar(MainWindow) self.leftToolBar.setEnabled(True) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.leftToolBar.sizePolicy().hasHeightForWidth()) self.leftToolBar.setSizePolicy(sizePolicy) self.leftToolBar.setMinimumSize(QtCore.QSize(26, 0)) self.leftToolBar.setMaximumSize(QtCore.QSize(26, 16777215)) self.leftToolBar.setWindowTitle("leftToolBar") self.leftToolBar.setMovable(False) self.leftToolBar.setAllowedAreas(QtCore.Qt.LeftToolBarArea) self.leftToolBar.setFloatable(False) self.leftToolBar.setObjectName("leftToolBar") MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.leftToolBar) self.actionUp = QtWidgets.QAction(MainWindow) self.actionUp.setText("u&p") self.actionUp.setToolTip("up") self.actionUp.setShortcut("Up") self.actionUp.setObjectName("actionUp") self.actionDown = QtWidgets.QAction(MainWindow) self.actionDown.setText("d&own") self.actionDown.setToolTip("down") self.actionDown.setShortcut("Down") self.actionDown.setObjectName("actionDown") self.actionLeft = QtWidgets.QAction(MainWindow) self.actionLeft.setText("&left") self.actionLeft.setToolTip("left") self.actionLeft.setShortcut("Left") self.actionLeft.setObjectName("actionLeft") self.actionRight = QtWidgets.QAction(MainWindow) self.actionRight.setText("&right") self.actionRight.setToolTip("right") self.actionRight.setShortcut("Right") self.actionRight.setObjectName("actionRight") self.actionModal1 = QtWidgets.QAction(MainWindow) self.actionModal1.setText("&modal1") self.actionModal1.setIconText("modal1") self.actionModal1.setToolTip("modal1") self.actionModal1.setShortcut("1") self.actionModal1.setObjectName("actionModal1") self.actionModal2 = QtWidgets.QAction(MainWindow) self.actionModal2.setText("modal&2") self.actionModal2.setToolTip("modal2") self.actionModal2.setShortcut("2") self.actionModal2.setObjectName("actionModal2") self.actionModal3 = QtWidgets.QAction(MainWindow) self.actionModal3.setText("modal&3") self.actionModal3.setToolTip("modal3") self.actionModal3.setShortcut("3") self.actionModal3.setObjectName("actionModal3") self.actionModal4 = QtWidgets.QAction(MainWindow) self.actionModal4.setText("modal&4") self.actionModal4.setToolTip("modal4") self.actionModal4.setShortcut("4") self.actionModal4.setObjectName("actionModal4") self.actionModal5 = QtWidgets.QAction(MainWindow) self.actionModal5.setText("modal&5") self.actionModal5.setToolTip("modal5") self.actionModal5.setShortcut("5") self.actionModal5.setObjectName("actionModal5") self.actionModal6 = QtWidgets.QAction(MainWindow) self.actionModal6.setText("modal&6") self.actionModal6.setToolTip("modal6") self.actionModal6.setShortcut("6") self.actionModal6.setObjectName("actionModal6") self.actionModal7 = QtWidgets.QAction(MainWindow) self.actionModal7.setText("modal&7") self.actionModal7.setToolTip("modal7") self.actionModal7.setShortcut("7") self.actionModal7.setObjectName("actionModal7") self.actionModal8 = QtWidgets.QAction(MainWindow) self.actionModal8.setText("modal&8") self.actionModal8.setToolTip("modal8") self.actionModal8.setShortcut("8") self.actionModal8.setObjectName("actionModal8") self.actionModal9 = QtWidgets.QAction(MainWindow) self.actionModal9.setText("modal&9") self.actionModal9.setToolTip("modal9") self.actionModal9.setShortcut("9") self.actionModal9.setObjectName("actionModal9") self.actionModal0 = QtWidgets.QAction(MainWindow) self.actionModal0.setText("modal&0") self.actionModal0.setToolTip("modal0") self.actionModal0.setShortcut("0") self.actionModal0.setObjectName("actionModal0") self.actionDelete = QtWidgets.QAction(MainWindow) self.actionDelete.setShortcut("Del") self.actionDelete.setObjectName("actionDelete") self.actionBackspace = QtWidgets.QAction(MainWindow) self.actionBackspace.setShortcut("Backspace") self.actionBackspace.setObjectName("actionBackspace") self.actionShift_modal1 = QtWidgets.QAction(MainWindow) self.actionShift_modal1.setText("sh&ift+modal1") self.actionShift_modal1.setShortcut("Shift+1") self.actionShift_modal1.setObjectName("actionShift_modal1") self.actionShift_modal2 = QtWidgets.QAction(MainWindow) self.actionShift_modal2.setText("shi&ft+modal2") self.actionShift_modal2.setShortcut("Shift+2") self.actionShift_modal2.setObjectName("actionShift_modal2") self.actionShift_modal3 = QtWidgets.QAction(MainWindow) self.actionShift_modal3.setText("shift+modal3") self.actionShift_modal3.setShortcut("Shift+3") self.actionShift_modal3.setObjectName("actionShift_modal3") self.actionShift_modal4 = QtWidgets.QAction(MainWindow) self.actionShift_modal4.setText("shift+modal4") self.actionShift_modal4.setShortcut("Shift+4") self.actionShift_modal4.setObjectName("actionShift_modal4") self.actionShift_modal5 = QtWidgets.QAction(MainWindow) self.actionShift_modal5.setText("shift+modal5") self.actionShift_modal5.setShortcut("Shift+5") self.actionShift_modal5.setObjectName("actionShift_modal5") self.actionShift_modal6 = QtWidgets.QAction(MainWindow) self.actionShift_modal6.setText("shift+modal6") self.actionShift_modal6.setShortcut("Shift+6") self.actionShift_modal6.setObjectName("actionShift_modal6") self.actionShift_modal7 = QtWidgets.QAction(MainWindow) self.actionShift_modal7.setText("shift+modal7") self.actionShift_modal7.setShortcut("Shift+7") self.actionShift_modal7.setObjectName("actionShift_modal7") self.actionShift_modal8 = QtWidgets.QAction(MainWindow) self.actionShift_modal8.setText("shift+modal8") self.actionShift_modal8.setShortcut("Shift+8") self.actionShift_modal8.setObjectName("actionShift_modal8") self.actionShift_modal9 = QtWidgets.QAction(MainWindow) self.actionShift_modal9.setText("shift+modal9") self.actionShift_modal9.setShortcut("Shift+9") self.actionShift_modal9.setObjectName("actionShift_modal9") self.actionShift_modal0 = QtWidgets.QAction(MainWindow) self.actionShift_modal0.setText("shift+modal0") self.actionShift_modal0.setShortcut("Shift+0") self.actionShift_modal0.setObjectName("actionShift_modal0") self.actionAddCursorNoteToChord = QtWidgets.QAction(MainWindow) self.actionAddCursorNoteToChord.setShortcut("Return") self.actionAddCursorNoteToChord.setShortcutContext(QtCore.Qt.WindowShortcut) self.actionAddCursorNoteToChord.setObjectName("actionAddCursorNoteToChord") self.actionDeleteCursorNoteFromChord = QtWidgets.QAction(MainWindow) self.actionDeleteCursorNoteFromChord.setShortcut("Shift+Del") self.actionDeleteCursorNoteFromChord.setObjectName("actionDeleteCursorNoteFromChord") self.actionAdd_Track = QtWidgets.QAction(MainWindow) self.actionAdd_Track.setObjectName("actionAdd_Track") self.actionTrackUp = QtWidgets.QAction(MainWindow) self.actionTrackUp.setText("&trackUp") self.actionTrackUp.setShortcut("PgUp") self.actionTrackUp.setObjectName("actionTrackUp") self.actionTrackDown = QtWidgets.QAction(MainWindow) self.actionTrackDown.setText("trac&kDown") self.actionTrackDown.setShortcut("PgDown") self.actionTrackDown.setObjectName("actionTrackDown") self.actionHead = QtWidgets.QAction(MainWindow) self.actionHead.setText("&head") self.actionHead.setShortcut("Home") self.actionHead.setObjectName("actionHead") self.actionTail = QtWidgets.QAction(MainWindow) self.actionTail.setText("tail") self.actionTail.setShortcut("End") self.actionTail.setObjectName("actionTail") self.actionTrackFirst = QtWidgets.QAction(MainWindow) self.actionTrackFirst.setText("trackFirst") self.actionTrackFirst.setShortcut("Ctrl+PgUp") self.actionTrackFirst.setObjectName("actionTrackFirst") self.actionTrackLast = QtWidgets.QAction(MainWindow) self.actionTrackLast.setText("trackLast") self.actionTrackLast.setShortcut("Ctrl+PgDown") self.actionTrackLast.setObjectName("actionTrackLast") self.actionSharpen_Note = QtWidgets.QAction(MainWindow) self.actionSharpen_Note.setShortcut("+") self.actionSharpen_Note.setObjectName("actionSharpen_Note") self.actionFlatten_Note = QtWidgets.QAction(MainWindow) self.actionFlatten_Note.setShortcut("-") self.actionFlatten_Note.setObjectName("actionFlatten_Note") self.actionMeasureLeft = QtWidgets.QAction(MainWindow) self.actionMeasureLeft.setText("measureLeft") self.actionMeasureLeft.setShortcut("Ctrl+Left") self.actionMeasureLeft.setObjectName("actionMeasureLeft") self.actionMeasureRight = QtWidgets.QAction(MainWindow) self.actionMeasureRight.setText("measureRight") self.actionMeasureRight.setShortcut("Ctrl+Right") self.actionMeasureRight.setObjectName("actionMeasureRight") self.actionStep_Up = QtWidgets.QAction(MainWindow) self.actionStep_Up.setShortcut("Alt+Up") self.actionStep_Up.setObjectName("actionStep_Up") self.actionStep_Down = QtWidgets.QAction(MainWindow) self.actionStep_Down.setShortcut("Alt+Down") self.actionStep_Down.setObjectName("actionStep_Down") self.actionOctave_Up = QtWidgets.QAction(MainWindow) self.actionOctave_Up.setShortcut("Ctrl+Alt+Up") self.actionOctave_Up.setObjectName("actionOctave_Up") self.actionOctave_Down = QtWidgets.QAction(MainWindow) self.actionOctave_Down.setShortcut("Ctrl+Alt+Down") self.actionOctave_Down.setObjectName("actionOctave_Down") self.actionAugment = QtWidgets.QAction(MainWindow) self.actionAugment.setShortcut("Alt+Right") self.actionAugment.setObjectName("actionAugment") self.actionDiminish = QtWidgets.QAction(MainWindow) self.actionDiminish.setShortcut("Alt+Left") self.actionDiminish.setObjectName("actionDiminish") self.actionAppend_Block = QtWidgets.QAction(MainWindow) self.actionAppend_Block.setObjectName("actionAppend_Block") self.actionSplit_Current_Block = QtWidgets.QAction(MainWindow) self.actionSplit_Current_Block.setShortcut("Ins") self.actionSplit_Current_Block.setObjectName("actionSplit_Current_Block") self.actionDuplicate = QtWidgets.QAction(MainWindow) self.actionDuplicate.setShortcut("Alt+Ins") self.actionDuplicate.setObjectName("actionDuplicate") self.actionCreate_Linked_Copy = QtWidgets.QAction(MainWindow) self.actionCreate_Linked_Copy.setShortcut("Alt+Shift+Ins") self.actionCreate_Linked_Copy.setObjectName("actionCreate_Linked_Copy") self.actionDelete_Current_Block = QtWidgets.QAction(MainWindow) self.actionDelete_Current_Block.setObjectName("actionDelete_Current_Block") self.actionToggle_Notehead_Rectangles = QtWidgets.QAction(MainWindow) self.actionToggle_Notehead_Rectangles.setCheckable(True) self.actionToggle_Notehead_Rectangles.setShortcut("F1") self.actionToggle_Notehead_Rectangles.setObjectName("actionToggle_Notehead_Rectangles") self.actionPlayPause = QtWidgets.QAction(MainWindow) self.actionPlayPause.setShortcut("Space") self.actionPlayPause.setObjectName("actionPlayPause") self.actionPlayFromBeginning = QtWidgets.QAction(MainWindow) self.actionPlayFromBeginning.setShortcut("Shift+Space") self.actionPlayFromBeginning.setObjectName("actionPlayFromBeginning") self.actionFollow_Playhead = QtWidgets.QAction(MainWindow) self.actionFollow_Playhead.setCheckable(True) self.actionFollow_Playhead.setChecked(True) self.actionFollow_Playhead.setShortcut("F3") self.actionFollow_Playhead.setObjectName("actionFollow_Playhead") self.actionPlayFromEditCursor = QtWidgets.QAction(MainWindow) self.actionPlayFromEditCursor.setShortcut("Ctrl+Space") self.actionPlayFromEditCursor.setObjectName("actionPlayFromEditCursor") self.actionStaccato = QtWidgets.QAction(MainWindow) self.actionStaccato.setShortcut(",") self.actionStaccato.setObjectName("actionStaccato") self.actionCopy = QtWidgets.QAction(MainWindow) self.actionCopy.setShortcut("Ctrl+C") self.actionCopy.setObjectName("actionCopy") self.actionCut = QtWidgets.QAction(MainWindow) self.actionCut.setShortcut("Ctrl+X") self.actionCut.setObjectName("actionCut") self.actionPaste = QtWidgets.QAction(MainWindow) self.actionPaste.setShortcut("Ctrl+V") self.actionPaste.setObjectName("actionPaste") self.actionUpOctave = QtWidgets.QAction(MainWindow) self.actionUpOctave.setText("&upOctave") self.actionUpOctave.setShortcut("Ctrl+Up") self.actionUpOctave.setObjectName("actionUpOctave") self.actionDownOctave = QtWidgets.QAction(MainWindow) self.actionDownOctave.setText("&downOctave") self.actionDownOctave.setShortcut("Ctrl+Down") self.actionDownOctave.setObjectName("actionDownOctave") self.actionDots = QtWidgets.QAction(MainWindow) self.actionDots.setShortcut("Q") self.actionDots.setObjectName("actionDots") self.actionCC_Mode = QtWidgets.QAction(MainWindow) self.actionCC_Mode.setCheckable(True) self.actionCC_Mode.setShortcut("F7") self.actionCC_Mode.setObjectName("actionCC_Mode") self.actionChange_Grid_Rhythm = QtWidgets.QAction(MainWindow) self.actionChange_Grid_Rhythm.setCheckable(False) self.actionChange_Grid_Rhythm.setChecked(False) self.actionChange_Grid_Rhythm.setShortcut("F2") self.actionChange_Grid_Rhythm.setObjectName("actionChange_Grid_Rhythm") self.actionSnap_To_Grid = QtWidgets.QAction(MainWindow) self.actionSnap_To_Grid.setCheckable(True) self.actionSnap_To_Grid.setChecked(True) self.actionSnap_To_Grid.setObjectName("actionSnap_To_Grid") self.actionAlt_modal1 = QtWidgets.QAction(MainWindow) self.actionAlt_modal1.setText("&Alt_modal1") self.actionAlt_modal1.setShortcut("Alt+1") self.actionAlt_modal1.setObjectName("actionAlt_modal1") self.actionAlt_modal2 = QtWidgets.QAction(MainWindow) self.actionAlt_modal2.setText("Alt_modal2") self.actionAlt_modal2.setShortcut("Alt+2") self.actionAlt_modal2.setObjectName("actionAlt_modal2") self.actionAlt_modal3 = QtWidgets.QAction(MainWindow) self.actionAlt_modal3.setText("Alt_modal3") self.actionAlt_modal3.setShortcut("Alt+3") self.actionAlt_modal3.setObjectName("actionAlt_modal3") self.actionAlt_modal4 = QtWidgets.QAction(MainWindow) self.actionAlt_modal4.setText("Alt_modal4") self.actionAlt_modal4.setShortcut("Alt+4") self.actionAlt_modal4.setObjectName("actionAlt_modal4") self.actionAlt_modal5 = QtWidgets.QAction(MainWindow) self.actionAlt_modal5.setText("Alt_modal5") self.actionAlt_modal5.setShortcut("Alt+5") self.actionAlt_modal5.setObjectName("actionAlt_modal5") self.actionAlt_modal6 = QtWidgets.QAction(MainWindow) self.actionAlt_modal6.setText("Alt_modal6") self.actionAlt_modal6.setShortcut("Alt+6") self.actionAlt_modal6.setObjectName("actionAlt_modal6") self.actionAlt_modal7 = QtWidgets.QAction(MainWindow) self.actionAlt_modal7.setText("Alt_modal7") self.actionAlt_modal7.setShortcut("Alt+7") self.actionAlt_modal7.setObjectName("actionAlt_modal7") self.actionAlt_modal8 = QtWidgets.QAction(MainWindow) self.actionAlt_modal8.setText("Alt_modal8") self.actionAlt_modal8.setShortcut("Alt+8") self.actionAlt_modal8.setObjectName("actionAlt_modal8") self.actionAlt_modal9 = QtWidgets.QAction(MainWindow) self.actionAlt_modal9.setText("Alt_modal9") self.actionAlt_modal9.setShortcut("Alt+9") self.actionAlt_modal9.setObjectName("actionAlt_modal9") self.actionAlt_modal0 = QtWidgets.QAction(MainWindow) self.actionAlt_modal0.setText("Alt_modal0") self.actionAlt_modal0.setShortcut("Alt+0") self.actionAlt_modal0.setObjectName("actionAlt_modal0") self.actionMidi_In_is_Active = QtWidgets.QAction(MainWindow) self.actionMidi_In_is_Active.setCheckable(True) self.actionMidi_In_is_Active.setShortcut("F4") self.actionMidi_In_is_Active.setObjectName("actionMidi_In_is_Active") self.actionTie = QtWidgets.QAction(MainWindow) self.actionTie.setShortcut("I") self.actionTie.setObjectName("actionTie") self.actionLegatoSlur = QtWidgets.QAction(MainWindow) self.actionLegatoSlur.setShortcut("S") self.actionLegatoSlur.setObjectName("actionLegatoSlur") self.actionTenuto = QtWidgets.QAction(MainWindow) self.actionTenuto.setShortcut("E") self.actionTenuto.setObjectName("actionTenuto") self.actionTriplet = QtWidgets.QAction(MainWindow) self.actionTriplet.setShortcut("T") self.actionTriplet.setObjectName("actionTriplet") self.actionCustom_Tuplets = QtWidgets.QAction(MainWindow) self.actionCustom_Tuplets.setEnabled(False) self.actionCustom_Tuplets.setShortcut("Alt+T") self.actionCustom_Tuplets.setObjectName("actionCustom_Tuplets") self.actionPrevailingRest = QtWidgets.QAction(MainWindow) self.actionPrevailingRest.setEnabled(False) self.actionPrevailingRest.setObjectName("actionPrevailingRest") self.actionSplit_in_2 = QtWidgets.QAction(MainWindow) self.actionSplit_in_2.setShortcut("X") self.actionSplit_in_2.setObjectName("actionSplit_in_2") self.actionSplit_in_3 = QtWidgets.QAction(MainWindow) self.actionSplit_in_3.setShortcut("Shift+X") self.actionSplit_in_3.setObjectName("actionSplit_in_3") self.actionCustom_Split = QtWidgets.QAction(MainWindow) self.actionCustom_Split.setEnabled(True) self.actionCustom_Split.setShortcut("Alt+X") self.actionCustom_Split.setObjectName("actionCustom_Split") self.actionUndo = QtWidgets.QAction(MainWindow) self.actionUndo.setShortcut("Ctrl+Z") self.actionUndo.setObjectName("actionUndo") self.actionRedo = QtWidgets.QAction(MainWindow) self.actionRedo.setShortcut("Ctrl+Shift+Z") self.actionRedo.setObjectName("actionRedo") self.actionJoin_with_next_Block = QtWidgets.QAction(MainWindow) self.actionJoin_with_next_Block.setShortcut("Shift+Ins") self.actionJoin_with_next_Block.setObjectName("actionJoin_with_next_Block") self.actionSet_UpBeat = QtWidgets.QAction(MainWindow) self.actionSet_UpBeat.setObjectName("actionSet_UpBeat") self.actionSelectLeft = QtWidgets.QAction(MainWindow) self.actionSelectLeft.setText("selectLeft") self.actionSelectLeft.setShortcut("Shift+Left") self.actionSelectLeft.setObjectName("actionSelectLeft") self.actionSelectRight = QtWidgets.QAction(MainWindow) self.actionSelectRight.setText("selectRi&ght") self.actionSelectRight.setShortcut("Shift+Right") self.actionSelectRight.setObjectName("actionSelectRight") self.actionSelectMeasureLeft = QtWidgets.QAction(MainWindow) self.actionSelectMeasureLeft.setText("selectMeasureLeft") self.actionSelectMeasureLeft.setShortcut("Ctrl+Shift+Left") self.actionSelectMeasureLeft.setObjectName("actionSelectMeasureLeft") self.actionSelectMeasureRight = QtWidgets.QAction(MainWindow) self.actionSelectMeasureRight.setText("selectMeasureRight") self.actionSelectMeasureRight.setShortcut("Ctrl+Shift+Right") self.actionSelectMeasureRight.setObjectName("actionSelectMeasureRight") self.actionSelectHead = QtWidgets.QAction(MainWindow) self.actionSelectHead.setText("selectHead") self.actionSelectHead.setShortcut("Shift+Home") self.actionSelectHead.setObjectName("actionSelectHead") self.actionSelectTail = QtWidgets.QAction(MainWindow) self.actionSelectTail.setText("selectTail") self.actionSelectTail.setShortcut("Shift+End") self.actionSelectTail.setObjectName("actionSelectTail") self.actionSelectTrackUp = QtWidgets.QAction(MainWindow) self.actionSelectTrackUp.setText("selectTrackUp") self.actionSelectTrackUp.setShortcut("Shift+PgUp") self.actionSelectTrackUp.setObjectName("actionSelectTrackUp") self.actionSelectTrackDown = QtWidgets.QAction(MainWindow) self.actionSelectTrackDown.setText("selectTrackDown") self.actionSelectTrackDown.setShortcut("Shift+PgDown") self.actionSelectTrackDown.setObjectName("actionSelectTrackDown") self.actionSelectTrackFirst = QtWidgets.QAction(MainWindow) self.actionSelectTrackFirst.setText("selectTrackFirst") self.actionSelectTrackFirst.setShortcut("Ctrl+Shift+PgUp") self.actionSelectTrackFirst.setObjectName("actionSelectTrackFirst") self.actionSelectTrackLast = QtWidgets.QAction(MainWindow) self.actionSelectTrackLast.setText("selectTrackLast") self.actionSelectTrackLast.setShortcut("Ctrl+Shift+PgDown") self.actionSelectTrackLast.setObjectName("actionSelectTrackLast") self.actionSelectUp = QtWidgets.QAction(MainWindow) self.actionSelectUp.setText("selectUp") self.actionSelectUp.setShortcut("Shift+Up") self.actionSelectUp.setObjectName("actionSelectUp") self.actionSelectDown = QtWidgets.QAction(MainWindow) self.actionSelectDown.setText("selectDo&wn") self.actionSelectDown.setShortcut("Shift+Down") self.actionSelectDown.setObjectName("actionSelectDown") self.actionSelectUpOctave = QtWidgets.QAction(MainWindow) self.actionSelectUpOctave.setText("selectUpOcta&ve") self.actionSelectUpOctave.setShortcut("Ctrl+Shift+Up") self.actionSelectUpOctave.setObjectName("actionSelectUpOctave") self.actionSelectDownOctave = QtWidgets.QAction(MainWindow) self.actionSelectDownOctave.setText("selectDow&nOctave") self.actionSelectDownOctave.setShortcut("Ctrl+Shift+Down") self.actionSelectDownOctave.setObjectName("actionSelectDownOctave") self.actionSelectTrack = QtWidgets.QAction(MainWindow) self.actionSelectTrack.setText("selectTrack") self.actionSelectTrack.setShortcut("Shift+A") self.actionSelectTrack.setObjectName("actionSelectTrack") self.actionSelectMeasureColumn = QtWidgets.QAction(MainWindow) self.actionSelectMeasureColumn.setText("selectMeasureColumn") self.actionSelectMeasureColumn.setShortcut("Ctrl+A") self.actionSelectMeasureColumn.setObjectName("actionSelectMeasureColumn") self.actionSelectAllTracks = QtWidgets.QAction(MainWindow) self.actionSelectAllTracks.setText("selectAllTracks") self.actionSelectAllTracks.setShortcut("Ctrl+Shift+A") self.actionSelectAllTracks.setObjectName("actionSelectAllTracks") self.actionVelocityMore = QtWidgets.QAction(MainWindow) self.actionVelocityMore.setShortcut(">") self.actionVelocityMore.setObjectName("actionVelocityMore") self.actionVelocityLess = QtWidgets.QAction(MainWindow) self.actionVelocityLess.setShortcut("<") self.actionVelocityLess.setObjectName("actionVelocityLess") self.actionDurationModMore = QtWidgets.QAction(MainWindow) self.actionDurationModMore.setShortcut("Alt+Shift+Right") self.actionDurationModMore.setObjectName("actionDurationModMore") self.actionDurationModLess = QtWidgets.QAction(MainWindow) self.actionDurationModLess.setShortcut("Alt+Shift+Left") self.actionDurationModLess.setObjectName("actionDurationModLess") self.actionReset_Velocity_Duration_Mod = QtWidgets.QAction(MainWindow) self.actionReset_Velocity_Duration_Mod.setObjectName("actionReset_Velocity_Duration_Mod") self.actionWiden_Score_View = QtWidgets.QAction(MainWindow) self.actionWiden_Score_View.setShortcut("Ctrl+Shift++") self.actionWiden_Score_View.setObjectName("actionWiden_Score_View") self.actionShrink_Score_View = QtWidgets.QAction(MainWindow) self.actionShrink_Score_View.setShortcut("Ctrl+Shift+-") self.actionShrink_Score_View.setObjectName("actionShrink_Score_View") self.actionData_Editor = QtWidgets.QAction(MainWindow) self.actionData_Editor.setCheckable(True) self.actionData_Editor.setShortcut("Ctrl+T") self.actionData_Editor.setObjectName("actionData_Editor") self.actionClef = QtWidgets.QAction(MainWindow) self.actionClef.setShortcut("C") self.actionClef.setObjectName("actionClef") self.actionMetrical_Instruction = QtWidgets.QAction(MainWindow) self.actionMetrical_Instruction.setShortcut("M") self.actionMetrical_Instruction.setObjectName("actionMetrical_Instruction") self.actionKey_Signature = QtWidgets.QAction(MainWindow) self.actionKey_Signature.setShortcut("K") self.actionKey_Signature.setObjectName("actionKey_Signature") self.actionDynamics = QtWidgets.QAction(MainWindow) self.actionDynamics.setShortcut("D") self.actionDynamics.setObjectName("actionDynamics") self.actionMulti_Measure_Rest = QtWidgets.QAction(MainWindow) self.actionMulti_Measure_Rest.setShortcut("R") self.actionMulti_Measure_Rest.setObjectName("actionMulti_Measure_Rest") self.actionTemporary_Tempo_Change = QtWidgets.QAction(MainWindow) self.actionTemporary_Tempo_Change.setShortcut("F") self.actionTemporary_Tempo_Change.setObjectName("actionTemporary_Tempo_Change") self.actionBeam = QtWidgets.QAction(MainWindow) self.actionBeam.setShortcut("B") self.actionBeam.setObjectName("actionBeam") self.actionRemoveBeams = QtWidgets.QAction(MainWindow) self.actionRemoveBeams.setShortcut("Alt+B") self.actionRemoveBeams.setObjectName("actionRemoveBeams") self.actionTempo_Change = QtWidgets.QAction(MainWindow) self.actionTempo_Change.setShortcut("G") self.actionTempo_Change.setObjectName("actionTempo_Change") self.actionDelete_Tempo_Change = QtWidgets.QAction(MainWindow) self.actionDelete_Tempo_Change.setShortcut("Alt+G") self.actionDelete_Tempo_Change.setObjectName("actionDelete_Tempo_Change") self.actionBlock_Mode = QtWidgets.QAction(MainWindow) self.actionBlock_Mode.setCheckable(True) self.actionBlock_Mode.setShortcut("F6") self.actionBlock_Mode.setObjectName("actionBlock_Mode") self.actionNotation_Mode = QtWidgets.QAction(MainWindow) self.actionNotation_Mode.setCheckable(True) self.actionNotation_Mode.setChecked(True) self.actionNotation_Mode.setShortcut("F5") self.actionNotation_Mode.setObjectName("actionNotation_Mode") self.actionTransposeChord = QtWidgets.QAction(MainWindow) self.actionTransposeChord.setObjectName("actionTransposeChord") self.actionTranspose_Score = QtWidgets.QAction(MainWindow) self.actionTranspose_Score.setObjectName("actionTranspose_Score") self.actionSave = QtWidgets.QAction(MainWindow) self.actionSave.setShortcut("Ctrl+S") self.actionSave.setObjectName("actionSave") self.actionExport_File = QtWidgets.QAction(MainWindow) self.actionExport_File.setObjectName("actionExport_File") self.actionImport_File_replaces_current = QtWidgets.QAction(MainWindow) self.actionImport_File_replaces_current.setObjectName("actionImport_File_replaces_current") self.actionUnlink_Current_Block = QtWidgets.QAction(MainWindow) self.actionUnlink_Current_Block.setObjectName("actionUnlink_Current_Block") self.actionDelete_All_Empty_Blocks = QtWidgets.QAction(MainWindow) self.actionDelete_All_Empty_Blocks.setObjectName("actionDelete_All_Empty_Blocks") self.actionBlockRight = QtWidgets.QAction(MainWindow) self.actionBlockRight.setText("blo&ckRight") self.actionBlockRight.setShortcut("Ctrl+Alt+Right") self.actionBlockRight.setObjectName("actionBlockRight") self.actionBlockLeft = QtWidgets.QAction(MainWindow) self.actionBlockLeft.setText("&blockLeft") self.actionBlockLeft.setShortcut("Ctrl+Alt+Left") self.actionBlockLeft.setObjectName("actionBlockLeft") self.actionSelectBlockRight = QtWidgets.QAction(MainWindow) self.actionSelectBlockRight.setText("&selectBlockRight") self.actionSelectBlockRight.setShortcut("Ctrl+Alt+Shift+Right") self.actionSelectBlockRight.setObjectName("actionSelectBlockRight") self.actionSelectBlockLeft = QtWidgets.QAction(MainWindow) self.actionSelectBlockLeft.setText("s&electBlockLeft") self.actionSelectBlockLeft.setShortcut("Ctrl+Alt+Shift+Left") self.actionSelectBlockLeft.setObjectName("actionSelectBlockLeft") self.actionPedalNotes = QtWidgets.QAction(MainWindow) self.actionPedalNotes.setObjectName("actionPedalNotes") self.actionReverse = QtWidgets.QAction(MainWindow) self.actionReverse.setObjectName("actionReverse") self.actionDuplicateItem = QtWidgets.QAction(MainWindow) self.actionDuplicateItem.setShortcut("Ctrl+D") self.actionDuplicateItem.setObjectName("actionDuplicateItem") self.actionRandom = QtWidgets.QAction(MainWindow) self.actionRandom.setObjectName("actionRandom") self.actionAscending = QtWidgets.QAction(MainWindow) self.actionAscending.setObjectName("actionAscending") self.actionDescending = QtWidgets.QAction(MainWindow) self.actionDescending.setObjectName("actionDescending") self.actionMirror_around_Cursor = QtWidgets.QAction(MainWindow) self.actionMirror_around_Cursor.setObjectName("actionMirror_around_Cursor") self.actionRandom_chromatic_in_clef_range = QtWidgets.QAction(MainWindow) self.actionRandom_chromatic_in_clef_range.setObjectName("actionRandom_chromatic_in_clef_range") self.actionRandom_in_scale_in_clef_range = QtWidgets.QAction(MainWindow) self.actionRandom_in_scale_in_clef_range.setObjectName("actionRandom_in_scale_in_clef_range") self.actionRandom_pitch_from_clipboard = QtWidgets.QAction(MainWindow) self.actionRandom_pitch_from_clipboard.setObjectName("actionRandom_pitch_from_clipboard") self.actionProperties = QtWidgets.QAction(MainWindow) self.actionProperties.setObjectName("actionProperties") self.actionExport_to_Ly = QtWidgets.QAction(MainWindow) self.actionExport_to_Ly.setObjectName("actionExport_to_Ly") self.actionShow_PDF = QtWidgets.QAction(MainWindow) self.actionShow_PDF.setShortcut("Ctrl+P") self.actionShow_PDF.setObjectName("actionShow_PDF") self.actionExport_to_pdf_file = QtWidgets.QAction(MainWindow) self.actionExport_to_pdf_file.setObjectName("actionExport_to_pdf_file") self.actionInstrument_Change = QtWidgets.QAction(MainWindow) self.actionInstrument_Change.setObjectName("actionInstrument_Change") self.actionProgram_Change_Relative = QtWidgets.QAction(MainWindow) self.actionProgram_Change_Relative.setObjectName("actionProgram_Change_Relative") self.actionBank_Change_Absolute = QtWidgets.QAction(MainWindow) self.actionBank_Change_Absolute.setObjectName("actionBank_Change_Absolute") self.actionBank_Change_Relative = QtWidgets.QAction(MainWindow) self.actionBank_Change_Relative.setObjectName("actionBank_Change_Relative") self.actionChannel_Change = QtWidgets.QAction(MainWindow) self.actionChannel_Change.setObjectName("actionChannel_Change") self.actionChannel_Change_Relative = QtWidgets.QAction(MainWindow) self.actionChannel_Change_Relative.setObjectName("actionChannel_Change_Relative") self.actionMIDI_Channel_Plus = QtWidgets.QAction(MainWindow) self.actionMIDI_Channel_Plus.setObjectName("actionMIDI_Channel_Plus") self.actionMIDI_Channel_Minus = QtWidgets.QAction(MainWindow) self.actionMIDI_Channel_Minus.setObjectName("actionMIDI_Channel_Minus") self.actionMIDI_Channel_Reset = QtWidgets.QAction(MainWindow) self.actionMIDI_Channel_Reset.setObjectName("actionMIDI_Channel_Reset") self.actionDelete_Current_Track = QtWidgets.QAction(MainWindow) self.actionDelete_Current_Track.setObjectName("actionDelete_Current_Track") self.actionUse_Current_Track_as_Metronome = QtWidgets.QAction(MainWindow) self.actionUse_Current_Track_as_Metronome.setShortcut("U") self.actionUse_Current_Track_as_Metronome.setObjectName("actionUse_Current_Track_as_Metronome") self.actionMetronome_Enabled = QtWidgets.QAction(MainWindow) self.actionMetronome_Enabled.setCheckable(True) self.actionMetronome_Enabled.setShortcut("Alt+U") self.actionMetronome_Enabled.setObjectName("actionMetronome_Enabled") self.actionRandom_in_scale_in_cursor_plus_octave = QtWidgets.QAction(MainWindow) self.actionRandom_in_scale_in_cursor_plus_octave.setObjectName("actionRandom_in_scale_in_cursor_plus_octave") self.actionRandom_in_scale_in_octave_around_cursor = QtWidgets.QAction(MainWindow) self.actionRandom_in_scale_in_octave_around_cursor.setObjectName("actionRandom_in_scale_in_octave_around_cursor") self.actionLyBarline = QtWidgets.QAction(MainWindow) self.actionLyBarline.setObjectName("actionLyBarline") self.actionLyFree_Instruction = QtWidgets.QAction(MainWindow) self.actionLyFree_Instruction.setObjectName("actionLyFree_Instruction") self.actionLyRepeat = QtWidgets.QAction(MainWindow) self.actionLyRepeat.setObjectName("actionLyRepeat") self.actionZoom_In_Score_View = QtWidgets.QAction(MainWindow) self.actionZoom_In_Score_View.setShortcut("Ctrl++") self.actionZoom_In_Score_View.setObjectName("actionZoom_In_Score_View") self.actionZoom_Out_Score_View = QtWidgets.QAction(MainWindow) self.actionZoom_Out_Score_View.setShortcut("Ctrl+-") self.actionZoom_Out_Score_View.setObjectName("actionZoom_Out_Score_View") self.actionQuit = QtWidgets.QAction(MainWindow) self.actionQuit.setObjectName("actionQuit") self.actionPlay_from_Block = QtWidgets.QAction(MainWindow) self.actionPlay_from_Block.setObjectName("actionPlay_from_Block") self.actionLyMarkAbove = QtWidgets.QAction(MainWindow) self.actionLyMarkAbove.setObjectName("actionLyMarkAbove") self.actionLyMarkBelow = QtWidgets.QAction(MainWindow) self.actionLyMarkBelow.setObjectName("actionLyMarkBelow") self.actionMove_Block_to_end_of_track = QtWidgets.QAction(MainWindow) self.actionMove_Block_to_end_of_track.setObjectName("actionMove_Block_to_end_of_track") self.actionMove_Block_to_start_of_track = QtWidgets.QAction(MainWindow) self.actionMove_Block_to_start_of_track.setObjectName("actionMove_Block_to_start_of_track") self.actionAutoconnect_Metronome = QtWidgets.QAction(MainWindow) self.actionAutoconnect_Metronome.setCheckable(True) self.actionAutoconnect_Metronome.setObjectName("actionAutoconnect_Metronome") self.menuObjects.addAction(self.actionMetrical_Instruction) self.menuObjects.addAction(self.actionClef) self.menuObjects.addAction(self.actionKey_Signature) self.menuObjects.addSeparator() self.menuObjects.addAction(self.actionDynamics) self.menuObjects.addAction(self.actionMulti_Measure_Rest) self.menuObjects.addAction(self.actionLegatoSlur) self.menuObjects.addSeparator() self.menuObjects.addAction(self.actionTempo_Change) self.menuObjects.addAction(self.actionDelete_Tempo_Change) self.menuObjects.addAction(self.actionTemporary_Tempo_Change) self.menuObjects.addSeparator() self.menuObjects.addAction(self.actionInstrument_Change) self.menuGeneric.addAction(self.actionBlockLeft) self.menuGeneric.addAction(self.actionBlockRight) self.menuGeneric.addAction(self.actionSelectBlockRight) self.menuGeneric.addAction(self.actionSelectBlockLeft) self.menuGeneric.addAction(self.actionDownOctave) self.menuGeneric.addAction(self.actionAlt_modal1) self.menuGeneric.addAction(self.actionAlt_modal2) self.menuGeneric.addAction(self.actionUpOctave) self.menuGeneric.addAction(self.actionUp) self.menuGeneric.addAction(self.actionDown) self.menuGeneric.addAction(self.actionLeft) self.menuGeneric.addAction(self.actionRight) self.menuGeneric.addAction(self.actionAlt_modal3) self.menuGeneric.addAction(self.actionAlt_modal4) self.menuGeneric.addAction(self.actionAlt_modal5) self.menuGeneric.addAction(self.actionAlt_modal6) self.menuGeneric.addAction(self.actionAlt_modal7) self.menuGeneric.addAction(self.actionAlt_modal8) self.menuGeneric.addAction(self.actionAlt_modal9) self.menuGeneric.addAction(self.actionAlt_modal0) self.menuGeneric.addAction(self.actionModal1) self.menuGeneric.addAction(self.actionModal2) self.menuGeneric.addAction(self.actionModal3) self.menuGeneric.addAction(self.actionModal4) self.menuGeneric.addAction(self.actionModal5) self.menuGeneric.addAction(self.actionModal6) self.menuGeneric.addAction(self.actionModal7) self.menuGeneric.addAction(self.actionModal8) self.menuGeneric.addAction(self.actionModal9) self.menuGeneric.addAction(self.actionModal0) self.menuGeneric.addAction(self.actionShift_modal1) self.menuGeneric.addAction(self.actionShift_modal2) self.menuGeneric.addAction(self.actionShift_modal3) self.menuGeneric.addAction(self.actionShift_modal4) self.menuGeneric.addAction(self.actionShift_modal5) self.menuGeneric.addAction(self.actionShift_modal6) self.menuGeneric.addAction(self.actionShift_modal7) self.menuGeneric.addAction(self.actionShift_modal8) self.menuGeneric.addAction(self.actionShift_modal9) self.menuGeneric.addAction(self.actionShift_modal0) self.menuGeneric.addAction(self.actionTrackUp) self.menuGeneric.addAction(self.actionTrackDown) self.menuGeneric.addAction(self.actionHead) self.menuGeneric.addAction(self.actionTail) self.menuGeneric.addAction(self.actionTrackFirst) self.menuGeneric.addAction(self.actionMeasureRight) self.menuGeneric.addAction(self.actionTrackLast) self.menuGeneric.addAction(self.actionMeasureLeft) self.menuGeneric.addAction(self.actionSelectLeft) self.menuGeneric.addAction(self.actionSelectRight) self.menuGeneric.addAction(self.actionSelectMeasureLeft) self.menuGeneric.addAction(self.actionSelectMeasureRight) self.menuGeneric.addAction(self.actionSelectHead) self.menuGeneric.addAction(self.actionSelectTail) self.menuGeneric.addAction(self.actionSelectTrackUp) self.menuGeneric.addAction(self.actionSelectTrackDown) self.menuGeneric.addAction(self.actionSelectTrackFirst) self.menuGeneric.addAction(self.actionSelectTrackLast) self.menuGeneric.addAction(self.actionSelectUp) self.menuGeneric.addAction(self.actionSelectDown) self.menuGeneric.addAction(self.actionSelectUpOctave) self.menuGeneric.addAction(self.actionSelectDownOctave) self.menuGeneric.addAction(self.actionSelectTrack) self.menuGeneric.addAction(self.actionSelectAllTracks) self.menuGeneric.addAction(self.actionSelectMeasureColumn) self.menuGeneric.addAction(self.menuType_Here.menuAction()) self.menuTracks.addAction(self.actionAdd_Track) self.menuTracks.addAction(self.actionDelete_Current_Track) self.menuTracks.addAction(self.actionUse_Current_Track_as_Metronome) self.menuTracks.addSeparator() self.menuTracks.addAction(self.actionSplit_Current_Block) self.menuTracks.addAction(self.actionAppend_Block) self.menuTracks.addAction(self.actionDuplicate) self.menuTracks.addAction(self.actionUnlink_Current_Block) self.menuTracks.addAction(self.actionCreate_Linked_Copy) self.menuTracks.addAction(self.actionDelete_Current_Block) self.menuTracks.addAction(self.actionJoin_with_next_Block) self.menuTracks.addAction(self.actionMove_Block_to_start_of_track) self.menuTracks.addAction(self.actionMove_Block_to_end_of_track) self.menuTracks.addSeparator() self.menuTracks.addAction(self.actionTranspose_Score) self.menuTracks.addAction(self.actionDelete_All_Empty_Blocks) self.menuEdit.addAction(self.actionSharpen_Note) self.menuEdit.addAction(self.actionFlatten_Note) self.menuEdit.addAction(self.actionStep_Up) self.menuEdit.addAction(self.actionStep_Down) self.menuEdit.addAction(self.actionOctave_Up) self.menuEdit.addAction(self.actionOctave_Down) self.menuEdit.addAction(self.actionTransposeChord) self.menuEdit.addSeparator() self.menuEdit.addAction(self.actionAugment) self.menuEdit.addAction(self.actionDiminish) self.menuEdit.addAction(self.actionDots) self.menuEdit.addAction(self.actionTriplet) self.menuEdit.addAction(self.actionCustom_Tuplets) self.menuEdit.addSeparator() self.menuEdit.addAction(self.actionStaccato) self.menuEdit.addAction(self.actionTenuto) self.menuEdit.addAction(self.actionTie) self.menuEdit.addSeparator() self.menuEdit.addAction(self.actionVelocityMore) self.menuEdit.addAction(self.actionVelocityLess) self.menuEdit.addAction(self.actionDurationModMore) self.menuEdit.addAction(self.actionDurationModLess) self.menuEdit.addAction(self.actionReset_Velocity_Duration_Mod) self.menuMode.addAction(self.actionNotation_Mode) self.menuMode.addAction(self.actionBlock_Mode) self.menuMode.addAction(self.actionCC_Mode) self.menuView.addAction(self.actionSave) self.menuView.addSeparator() self.menuView.addAction(self.actionToggle_Notehead_Rectangles) self.menuView.addAction(self.actionChange_Grid_Rhythm) self.menuView.addAction(self.actionFollow_Playhead) self.menuView.addAction(self.actionMidi_In_is_Active) self.menuView.addAction(self.menuMode.menuAction()) self.menuView.addSeparator() self.menuView.addAction(self.actionData_Editor) self.menuView.addAction(self.actionWiden_Score_View) self.menuView.addAction(self.actionShrink_Score_View) self.menuView.addAction(self.actionZoom_In_Score_View) self.menuView.addAction(self.actionZoom_Out_Score_View) self.menuView.addSeparator() self.menuView.addAction(self.actionPlayPause) self.menuView.addAction(self.actionPlayFromEditCursor) self.menuView.addAction(self.actionPlay_from_Block) self.menuView.addAction(self.actionPlayFromBeginning) self.menuView.addAction(self.actionMetronome_Enabled) self.menuView.addSeparator() self.menuView.addAction(self.actionQuit) self.menuEdit_MusicItem.addAction(self.actionAddCursorNoteToChord) self.menuEdit_MusicItem.addAction(self.actionDeleteCursorNoteFromChord) self.menuEdit_MusicItem.addAction(self.actionSplit_in_2) self.menuEdit_MusicItem.addAction(self.actionSplit_in_3) self.menuEdit_MusicItem.addAction(self.actionCustom_Split) self.menuEdit_MusicItem.addSeparator() self.menuEdit_MusicItem.addAction(self.actionBeam) self.menuEdit_MusicItem.addAction(self.actionRemoveBeams) self.menuEdit_MusicItem.addSeparator() self.menuEdit_MusicItem.addAction(self.actionMIDI_Channel_Plus) self.menuEdit_MusicItem.addAction(self.actionMIDI_Channel_Minus) self.menuEdit_MusicItem.addAction(self.actionMIDI_Channel_Reset) self.menuEdit_2.addAction(self.actionDelete) self.menuEdit_2.addAction(self.actionBackspace) self.menuEdit_2.addAction(self.actionUndo) self.menuEdit_2.addAction(self.actionRedo) self.menuEdit_2.addAction(self.actionCopy) self.menuEdit_2.addAction(self.actionPaste) self.menuEdit_2.addAction(self.actionCut) self.menuEdit_2.addAction(self.actionDuplicateItem) self.menuOrder.addAction(self.actionRandom) self.menuOrder.addAction(self.actionReverse) self.menuOrder.addAction(self.actionAscending) self.menuOrder.addAction(self.actionDescending) self.menuInsert.addAction(self.actionRandom_chromatic_in_clef_range) self.menuInsert.addAction(self.actionRandom_in_scale_in_clef_range) self.menuInsert.addAction(self.actionRandom_in_scale_in_cursor_plus_octave) self.menuInsert.addAction(self.actionRandom_in_scale_in_octave_around_cursor) self.menuInsert.addAction(self.actionRandom_pitch_from_clipboard) self.menuInsert.addSeparator() self.menuInsert.addAction(self.actionPedalNotes) self.menuInsert.addAction(self.actionMirror_around_Cursor) self.menuMIDI.addAction(self.actionChannel_Change) self.menuToolbox.addAction(self.menuInsert.menuAction()) self.menuToolbox.addAction(self.menuOrder.menuAction()) self.menuToolbox.addAction(self.menuMIDI.menuAction()) self.menuLilypond.addAction(self.actionProperties) self.menuLilypond.addAction(self.actionShow_PDF) self.menuLilypond.addAction(self.actionExport_to_Ly) self.menuLilypond.addSeparator() self.menuLilypond.addAction(self.actionLyBarline) self.menuLilypond.addAction(self.actionLyRepeat) self.menuLilypond.addAction(self.actionLyFree_Instruction) self.menuLilypond.addAction(self.actionLyMarkAbove) self.menuLilypond.addAction(self.actionLyMarkBelow) self.menuSettings.addAction(self.actionAutoconnect_Metronome) self.menubar.addAction(self.menuView.menuAction()) self.menubar.addAction(self.menuEdit_2.menuAction()) self.menubar.addAction(self.menu.menuAction()) self.menubar.addAction(self.menuTracks.menuAction()) self.menubar.addAction(self.menuObjects.menuAction()) self.menubar.addAction(self.menuEdit_MusicItem.menuAction()) self.menubar.addAction(self.menuEdit.menuAction()) self.menubar.addAction(self.menuToolbox.menuAction()) self.menubar.addAction(self.menu_2.menuAction()) self.menubar.addAction(self.menuLilypond.menuAction()) self.menubar.addAction(self.menuSettings.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.menubar.addAction(self.menuGeneric.menuAction()) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate self.menuHelp.setTitle(_translate("MainWindow", "Help")) self.menuObjects.setTitle(_translate("MainWindow", "&Insert Objects")) self.menuTracks.setTitle(_translate("MainWindow", "&Structures")) self.menuEdit.setTitle(_translate("MainWindow", "E&dit Note")) self.menuView.setTitle(_translate("MainWindow", "&Control")) self.menuMode.setTitle(_translate("MainWindow", "&View and Edit Mode")) self.menu.setTitle(_translate("MainWindow", "|")) self.menuEdit_MusicItem.setTitle(_translate("MainWindow", "Edit &MusicItem")) self.menuEdit_2.setTitle(_translate("MainWindow", "E&dit")) self.menuToolbox.setTitle(_translate("MainWindow", "&Toolbox")) self.menuOrder.setTitle(_translate("MainWindow", "Note &Sorting")) self.menuInsert.setTitle(_translate("MainWindow", "&Note Generation")) self.menuMIDI.setTitle(_translate("MainWindow", "&MIDI")) self.menuLilypond.setTitle(_translate("MainWindow", "&Lilypond")) self.menuSettings.setTitle(_translate("MainWindow", "Settings")) self.actionDelete.setText(_translate("MainWindow", "&Delete Item")) self.actionBackspace.setText(_translate("MainWindow", "Delete previous &Item")) self.actionAddCursorNoteToChord.setText(_translate("MainWindow", "&Add Note to Chord")) self.actionDeleteCursorNoteFromChord.setText(_translate("MainWindow", "&Delete Note from Chord")) self.actionAdd_Track.setText(_translate("MainWindow", "&Add Track")) self.actionSharpen_Note.setText(_translate("MainWindow", "&Sharpen Note")) self.actionFlatten_Note.setText(_translate("MainWindow", "&Flatten Note")) self.actionStep_Up.setText(_translate("MainWindow", "Step &Up")) self.actionStep_Down.setText(_translate("MainWindow", "Ste&p Down")) self.actionOctave_Up.setText(_translate("MainWindow", "&Octave Up")) self.actionOctave_Down.setText(_translate("MainWindow", "Octa&ve Down")) self.actionAugment.setText(_translate("MainWindow", "&Augment")) self.actionDiminish.setText(_translate("MainWindow", "&Diminish")) self.actionAppend_Block.setText(_translate("MainWindow", "Append &Block")) self.actionSplit_Current_Block.setText(_translate("MainWindow", "&Split Current Block")) self.actionDuplicate.setText(_translate("MainWindow", "&Duplicate Current Block")) self.actionCreate_Linked_Copy.setText(_translate("MainWindow", "&Create Linked Copy")) self.actionDelete_Current_Block.setText(_translate("MainWindow", "De&lete Current Block")) self.actionToggle_Notehead_Rectangles.setText(_translate("MainWindow", "&Rectangle Noteheads")) self.actionPlayPause.setText(_translate("MainWindow", "P&lay / Pause")) self.actionPlayFromBeginning.setText(_translate("MainWindow", "Play fr&om Start")) self.actionFollow_Playhead.setText(_translate("MainWindow", "&Follow Playhead")) self.actionPlayFromEditCursor.setText(_translate("MainWindow", "Pla&y from Cursor")) self.actionStaccato.setText(_translate("MainWindow", "Staccato")) self.actionCopy.setText(_translate("MainWindow", "&Copy")) self.actionCut.setText(_translate("MainWindow", "Cut")) self.actionPaste.setText(_translate("MainWindow", "&Paste")) self.actionDots.setText(_translate("MainWindow", "Dots")) self.actionCC_Mode.setText(_translate("MainWindow", "&Control Changes")) self.actionChange_Grid_Rhythm.setText(_translate("MainWindow", "&Change Grid Rhythm")) self.actionSnap_To_Grid.setText(_translate("MainWindow", "Snap To Grid")) self.actionMidi_In_is_Active.setText(_translate("MainWindow", "&Midi In is Active")) self.actionMidi_In_is_Active.setToolTip(_translate("MainWindow", "Toggle midi in on and off")) self.actionTie.setText(_translate("MainWindow", "T&ie")) self.actionLegatoSlur.setText(_translate("MainWindow", "&Legato Slur")) self.actionLegatoSlur.setToolTip(_translate("MainWindow", "Toggle Legato Slur")) self.actionTenuto.setText(_translate("MainWindow", "T&enuto")) self.actionTriplet.setText(_translate("MainWindow", "Triplet")) self.actionCustom_Tuplets.setText(_translate("MainWindow", "&Custom Tuplets")) self.actionPrevailingRest.setText(_translate("MainWindow", "Prevailing Rest")) self.actionSplit_in_2.setText(_translate("MainWindow", "&Split in 2")) self.actionSplit_in_3.setText(_translate("MainWindow", "Split &in 3")) self.actionCustom_Split.setText(_translate("MainWindow", "Split in &X")) self.actionUndo.setText(_translate("MainWindow", "&Undo")) self.actionRedo.setText(_translate("MainWindow", "&Redo")) self.actionJoin_with_next_Block.setText(_translate("MainWindow", "&Join with next Block")) self.actionSet_UpBeat.setText(_translate("MainWindow", "Set Upbeat")) self.actionVelocityMore.setText(_translate("MainWindow", "&More Velocity")) self.actionVelocityMore.setToolTip(_translate("MainWindow", "More Velocity")) self.actionVelocityLess.setText(_translate("MainWindow", "&Less Velocity")) self.actionVelocityLess.setToolTip(_translate("MainWindow", "Less Velocity")) self.actionDurationModMore.setText(_translate("MainWindow", "Lo&nger Duration Mod.")) self.actionDurationModMore.setToolTip(_translate("MainWindow", "Longer Duration Mod.")) self.actionDurationModLess.setText(_translate("MainWindow", "Shorter Duration Mod.")) self.actionDurationModLess.setToolTip(_translate("MainWindow", "Shorter Duration Mod.")) self.actionReset_Velocity_Duration_Mod.setText(_translate("MainWindow", "&Reset Velocity / Duration Mod.")) self.actionWiden_Score_View.setText(_translate("MainWindow", "&Widen Score View")) self.actionShrink_Score_View.setText(_translate("MainWindow", "Shr&ink Score View")) self.actionData_Editor.setText(_translate("MainWindow", "&Track Editor")) self.actionClef.setText(_translate("MainWindow", "&Clef")) self.actionMetrical_Instruction.setText(_translate("MainWindow", "&Metrical Instruction")) self.actionKey_Signature.setText(_translate("MainWindow", "&Key Signature")) self.actionDynamics.setText(_translate("MainWindow", "&Dynamics")) self.actionMulti_Measure_Rest.setText(_translate("MainWindow", "Multi Measure &Rest")) self.actionTemporary_Tempo_Change.setText(_translate("MainWindow", "Tem&porary Tempo Change")) self.actionBeam.setText(_translate("MainWindow", "&Beam")) self.actionRemoveBeams.setText(_translate("MainWindow", "&Remove Beams")) self.actionTempo_Change.setText(_translate("MainWindow", "&Tempo Change")) self.actionDelete_Tempo_Change.setText(_translate("MainWindow", "D&elete Tempo Change")) self.actionBlock_Mode.setText(_translate("MainWindow", "&Blocks Only")) self.actionNotation_Mode.setText(_translate("MainWindow", "&Notation")) self.actionTransposeChord.setText(_translate("MainWindow", "&Transpose Chord")) self.actionTranspose_Score.setText(_translate("MainWindow", "&Transpose Score")) self.actionSave.setText(_translate("MainWindow", "&Save")) self.actionExport_File.setText(_translate("MainWindow", "Export File")) self.actionImport_File_replaces_current.setText(_translate("MainWindow", "Import File (replaces current)")) self.actionUnlink_Current_Block.setText(_translate("MainWindow", "&Unlink Current Block")) self.actionDelete_All_Empty_Blocks.setText(_translate("MainWindow", "Delete All &Empty Blocks")) self.actionPedalNotes.setText(_translate("MainWindow", "&Pedal Notes")) self.actionReverse.setText(_translate("MainWindow", "&Reverse")) self.actionDuplicateItem.setText(_translate("MainWindow", "Dup&licate")) self.actionRandom.setText(_translate("MainWindow", "&Shuffle")) self.actionAscending.setText(_translate("MainWindow", "&Ascending")) self.actionDescending.setText(_translate("MainWindow", "&Descending")) self.actionMirror_around_Cursor.setText(_translate("MainWindow", "&Mirror around Cursor")) self.actionRandom_chromatic_in_clef_range.setText(_translate("MainWindow", "&Random chromatic in clef range")) self.actionRandom_in_scale_in_clef_range.setText(_translate("MainWindow", "Random &in-scale in clef range")) self.actionRandom_pitch_from_clipboard.setText(_translate("MainWindow", "Random pitch &from clipboard")) self.actionProperties.setText(_translate("MainWindow", "&Properties and Metadata")) self.actionExport_to_Ly.setText(_translate("MainWindow", "&Export to .ly file")) self.actionShow_PDF.setText(_translate("MainWindow", "&Show PDF")) self.actionExport_to_pdf_file.setText(_translate("MainWindow", "Export to .pdf file")) self.actionInstrument_Change.setText(_translate("MainWindow", "&Instrument Change")) self.actionProgram_Change_Relative.setText(_translate("MainWindow", "Program Change Relative")) self.actionBank_Change_Absolute.setText(_translate("MainWindow", "Insert Bank Change")) self.actionBank_Change_Relative.setText(_translate("MainWindow", "Bank Change Relative")) self.actionChannel_Change.setText(_translate("MainWindow", "&Insert Channel Change ")) self.actionChannel_Change_Relative.setText(_translate("MainWindow", "Channel Change Relative")) self.actionMIDI_Channel_Plus.setText(_translate("MainWindow", "&MIDI Channel +")) self.actionMIDI_Channel_Minus.setText(_translate("MainWindow", "MIDI &Channel -")) self.actionMIDI_Channel_Reset.setText(_translate("MainWindow", "MIDI C&hannel Reset")) self.actionDelete_Current_Track.setText(_translate("MainWindow", "Delete Current Track")) self.actionUse_Current_Track_as_Metronome.setText(_translate("MainWindow", "Use Current Track as &Metronome")) self.actionMetronome_Enabled.setText(_translate("MainWindow", "Metronome &Enabled")) self.actionRandom_in_scale_in_cursor_plus_octave.setText(_translate("MainWindow", "Random in-scale in cursor plus octave (authentic mode)")) self.actionRandom_in_scale_in_octave_around_cursor.setText(_translate("MainWindow", "Random in-scale in octave around cursor (hypo mode)")) self.actionLyBarline.setText(_translate("MainWindow", "Barline")) self.actionLyFree_Instruction.setText(_translate("MainWindow", "Free Ly Instruction")) self.actionLyRepeat.setText(_translate("MainWindow", "Repeat")) self.actionZoom_In_Score_View.setText(_translate("MainWindow", "Zoom In Score View")) self.actionZoom_Out_Score_View.setText(_translate("MainWindow", "Zoom Out Score View")) self.actionQuit.setText(_translate("MainWindow", "Quit (without saving)")) self.actionQuit.setShortcut(_translate("MainWindow", "Ctrl+Q")) self.actionPlay_from_Block.setText(_translate("MainWindow", "Play from Block")) self.actionPlay_from_Block.setShortcut(_translate("MainWindow", "Alt+Space")) self.actionLyMarkAbove.setText(_translate("MainWindow", "Text above Staff")) self.actionLyMarkBelow.setText(_translate("MainWindow", "Text below Staff")) self.actionMove_Block_to_end_of_track.setText(_translate("MainWindow", "Move Block to end of track")) self.actionMove_Block_to_end_of_track.setShortcut(_translate("MainWindow", "Alt+End")) self.actionMove_Block_to_start_of_track.setText(_translate("MainWindow", "Move Block to start of track")) self.actionMove_Block_to_start_of_track.setShortcut(_translate("MainWindow", "Alt+Home")) self.actionAutoconnect_Metronome.setText(_translate("MainWindow", "Autoconnect Metronome")) self.actionAutoconnect_Metronome.setIconText(_translate("MainWindow", "Wether to autoconnect the mixer ports on program start. Not for NSM.")) self.actionAutoconnect_Metronome.setToolTip(_translate("MainWindow", "Wether to autoconnect the mixer ports on program start. Not for NSM."))