This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.9 | |
import QtQuick.Controls 2.2 | |
import QtQuick.Layouts 1.3 | |
import QtQuick.Dialogs 1.2 | |
import QtQuick.Window 2.3 | |
import Qt.labs.settings 1.0 | |
import MuseScore 3.0 | |
MuseScore { | |
menuPath: "Plugins." + qsTr("Plugin Name") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Search for the right program by parsing the desktopfile | |
* | |
* @param desktopfile | |
* | |
* @return | |
*/ | |
private String getProgramFromDesktopFile(String desktopfile) { | |
// -- Identify all the places where the desktop file could be stored | |
Path userhome = Paths.get(System.getProperty("user.home")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function enrichNote(note) { | |
// accidental | |
var id = note.accidentalType; | |
note.accidentalName = "NONE"; | |
if (id != 0) { | |
for (var i = 0; i < accidentals.length; i++) { | |
var acc = accidentals[i]; | |
if (id == eval("Accidental." + acc.name)) { | |
note.accidentalName = acc.name; | |
break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StTimeline { | |
var <id; | |
var <>nodes; | |
var <>debug=false; | |
classvar <notifTypes; | |
*new { | |
^super.newCopyArgs(UniqueID.next,[]); | |
} |