Browse Source

prepare for new build system

tags/v2.0.1
Nils 8 months ago
parent
commit
d3e3f2650a
7 changed files with 5 additions and 12 deletions
  1. +1
    -0
      __main__.py
  2. +0
    -0
      engine/midiinput/stepmidiinput.py
  3. +0
    -9
      laborejo
  4. +1
    -0
      laborejo
  5. +1
    -1
      qtgui/mainwindow.py
  6. +1
    -1
      qtgui/menu.py
  7. +1
    -1
      qtgui/submenus.py

+ 1
- 0
__main__.py View File

@@ -0,0 +1 @@
template/main.py.template

midiinput/stepmidiinput.py → engine/midiinput/stepmidiinput.py View File


+ 0
- 9
laborejo View File

@@ -1,9 +0,0 @@
#! /usr/bin/env python3
# -*- coding: utf-8 -*-

from template import start #Executes various start up checks and sets up our environment likes search paths

from qtgui import mainwindow #which in turn imports the engine and starts the engine
with start.profiler():
mainwindow.MainWindow().qtApp.exec_()
#Program is over. Code here does not get executed. Quit is done via NSM in mainWindow._nsmQuit

+ 1
- 0
laborejo View File

@@ -0,0 +1 @@
template/launcher.template

+ 1
- 1
qtgui/mainwindow.py View File

@@ -36,7 +36,7 @@ translate = QtCore.QCoreApplication.translate

#Our modules
import engine.api as api
from midiinput.stepmidiinput import stepMidiInput #singleton instance
from engine.midiinput.stepmidiinput import stepMidiInput #singleton instance
from .constantsAndConfigs import constantsAndConfigs
from .menu import MenuActionDatabase
from .scoreview import ScoreView

+ 1
- 1
qtgui/menu.py View File

@@ -34,7 +34,7 @@ translate = QtCore.QCoreApplication.translate

#Our modules
import engine.api as api
from midiinput.stepmidiinput import stepMidiInput #singleton instance
from engine.midiinput.stepmidiinput import stepMidiInput #singleton instance
from .constantsAndConfigs import constantsAndConfigs
from .submenus import SecondaryClefMenu, SecondaryKeySignatureMenu, SecondaryDynamicsMenu, SecondaryMetricalInstructionMenu, SecondaryTempoChangeMenu, SecondaryTemporaryTempoChangeMenu, SecondarySplitMenu, TransposeMenu, pedalNoteChooser, SecondaryProperties, SecondaryProgramChangeMenu, SecondaryChannelChangeMenu, ChooseOne, forwardText


+ 1
- 1
qtgui/submenus.py View File

@@ -35,7 +35,7 @@ from template.qtgui.submenus import *

#Our own files
import engine.api as api
from midiinput.stepmidiinput import stepMidiInput #singleton instance. Don't allow midi input when submenus are open.
from engine.midiinput.stepmidiinput import stepMidiInput #singleton instance. Don't allow midi input when submenus are open.
from .constantsAndConfigs import constantsAndConfigs
from .designer.tickWidget import Ui_tickWidget


Loading…
Cancel
Save