Browse Source

Overhaul Key Signature GUI dialog to indicate Deviation better, instead of absolute accidentals.

master
Nils 2 years ago
parent
commit
b2d14b624c
  1. 74
      qtgui/designer/customKeySignature.py
  2. 72
      qtgui/designer/customKeySignature.ui

74
qtgui/designer/customKeySignature.py

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'customKeySignature.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
# Created by: PyQt5 UI code generator 5.15.7
#
# 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.
@ -322,7 +322,7 @@ class Ui_customKeySignature(object):
def retranslateUi(self, customKeySignature):
_translate = QtCore.QCoreApplication.translate
customKeySignature.setWindowTitle(_translate("customKeySignature", "Custom Key Signature"))
self.keysig_instruction_label.setText(_translate("customKeySignature", "Design your own scale. The key signature will be calculated. Choose a root note and how each step deviates from it\'s major scale. E.g. leaving all switches on \"natural\" will result in the major scale. Setting step III to flat will result in \"melodic minor\"."))
self.keysig_instruction_label.setText(_translate("customKeySignature", "Design your own scale. The key signature will be calculated. Choose a root note and how each step deviates from it\'s major scale. E.g. leaving all switches on = will result in the major scale. Setting step III to will result in \"melodic minor\"."))
self.group_root.setTitle(_translate("customKeySignature", "Root Note"))
self.root_dis.setText(_translate("customKeySignature", "D♯"))
self.root_des.setText(_translate("customKeySignature", "D♭"))
@ -347,51 +347,51 @@ class Ui_customKeySignature(object):
self.root_bis.setText(_translate("customKeySignature", "B♯ / H♯"))
self.group_accidentals.setTitle(_translate("customKeySignature", "Scale - Deviation from the Major Scale"))
self.group_c.setTitle(_translate("customKeySignature", ""))
self.isis_c.setText(_translate("customKeySignature", "𝄪"))
self.is_c.setText(_translate("customKeySignature", ""))
self.nat_c.setText(_translate("customKeySignature", ""))
self.es_c.setText(_translate("customKeySignature", ""))
self.eses_c.setText(_translate("customKeySignature", "𝄫"))
self.isis_c.setText(_translate("customKeySignature", ""))
self.is_c.setText(_translate("customKeySignature", ""))
self.nat_c.setText(_translate("customKeySignature", "="))
self.es_c.setText(_translate("customKeySignature", ""))
self.eses_c.setText(_translate("customKeySignature", ""))
self.label_result_c.setText(_translate("customKeySignature", "c"))
self.groupd_d.setTitle(_translate("customKeySignature", ""))
self.isis_d.setText(_translate("customKeySignature", "𝄪"))
self.is_d.setText(_translate("customKeySignature", ""))
self.nat_d.setText(_translate("customKeySignature", ""))
self.es_d.setText(_translate("customKeySignature", ""))
self.eses_d.setText(_translate("customKeySignature", "𝄫"))
self.isis_d.setText(_translate("customKeySignature", ""))
self.is_d.setText(_translate("customKeySignature", ""))
self.nat_d.setText(_translate("customKeySignature", "="))
self.es_d.setText(_translate("customKeySignature", ""))
self.eses_d.setText(_translate("customKeySignature", ""))
self.label_result_d.setText(_translate("customKeySignature", "d"))
self.group_e.setTitle(_translate("customKeySignature", ""))
self.isis_e.setText(_translate("customKeySignature", "𝄪"))
self.is_e.setText(_translate("customKeySignature", ""))
self.nat_e.setText(_translate("customKeySignature", ""))
self.es_e.setText(_translate("customKeySignature", ""))
self.eses_e.setText(_translate("customKeySignature", "𝄫"))
self.isis_e.setText(_translate("customKeySignature", ""))
self.is_e.setText(_translate("customKeySignature", ""))
self.nat_e.setText(_translate("customKeySignature", "="))
self.es_e.setText(_translate("customKeySignature", ""))
self.eses_e.setText(_translate("customKeySignature", ""))
self.label_result_e.setText(_translate("customKeySignature", "e"))
self.group_f.setTitle(_translate("customKeySignature", ""))
self.isis_f.setText(_translate("customKeySignature", "𝄪"))
self.is_f.setText(_translate("customKeySignature", ""))
self.nat_f.setText(_translate("customKeySignature", ""))
self.es_f.setText(_translate("customKeySignature", ""))
self.eses_f.setText(_translate("customKeySignature", "𝄫"))
self.isis_f.setText(_translate("customKeySignature", ""))
self.is_f.setText(_translate("customKeySignature", ""))
self.nat_f.setText(_translate("customKeySignature", "="))
self.es_f.setText(_translate("customKeySignature", ""))
self.eses_f.setText(_translate("customKeySignature", ""))
self.label_result_f.setText(_translate("customKeySignature", "f"))
self.group_g.setTitle(_translate("customKeySignature", ""))
self.isis_g.setText(_translate("customKeySignature", "𝄪"))
self.is_g.setText(_translate("customKeySignature", ""))
self.nat_g.setText(_translate("customKeySignature", ""))
self.es_g.setText(_translate("customKeySignature", ""))
self.eses_g.setText(_translate("customKeySignature", "𝄫"))
self.isis_g.setText(_translate("customKeySignature", ""))
self.is_g.setText(_translate("customKeySignature", ""))
self.nat_g.setText(_translate("customKeySignature", "="))
self.es_g.setText(_translate("customKeySignature", ""))
self.eses_g.setText(_translate("customKeySignature", ""))
self.label_result_g.setText(_translate("customKeySignature", "g"))
self.group_a.setTitle(_translate("customKeySignature", ""))
self.isis_a.setText(_translate("customKeySignature", "𝄪"))
self.is_a.setText(_translate("customKeySignature", ""))
self.nat_a.setText(_translate("customKeySignature", ""))
self.es_a.setText(_translate("customKeySignature", ""))
self.eses_a.setText(_translate("customKeySignature", "𝄫"))
self.isis_a.setText(_translate("customKeySignature", ""))
self.is_a.setText(_translate("customKeySignature", ""))
self.nat_a.setText(_translate("customKeySignature", "="))
self.es_a.setText(_translate("customKeySignature", ""))
self.eses_a.setText(_translate("customKeySignature", ""))
self.label_result_a.setText(_translate("customKeySignature", "a"))
self.group_b.setTitle(_translate("customKeySignature", ""))
self.isis_b.setText(_translate("customKeySignature", "𝄪"))
self.is_b.setText(_translate("customKeySignature", ""))
self.nat_b.setText(_translate("customKeySignature", ""))
self.es_b.setText(_translate("customKeySignature", ""))
self.eses_b.setText(_translate("customKeySignature", "𝄫"))
self.isis_b.setText(_translate("customKeySignature", ""))
self.is_b.setText(_translate("customKeySignature", ""))
self.nat_b.setText(_translate("customKeySignature", "="))
self.es_b.setText(_translate("customKeySignature", ""))
self.eses_b.setText(_translate("customKeySignature", ""))
self.label_result_b.setText(_translate("customKeySignature", "b"))

72
qtgui/designer/customKeySignature.ui

@ -29,7 +29,7 @@
</sizepolicy>
</property>
<property name="text">
<string>Design your own scale. The key signature will be calculated. Choose a root note and how each step deviates from it's major scale. E.g. leaving all switches on &quot;natural&quot; will result in the major scale. Setting step III to flat will result in &quot;melodic minor&quot;.</string>
<string>Design your own scale. The key signature will be calculated. Choose a root note and how each step deviates from it's major scale. E.g. leaving all switches on = will result in the major scale. Setting step III to ↓ will result in &quot;melodic minor&quot;.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
@ -235,21 +235,21 @@
<item>
<widget class="QRadioButton" name="isis_c">
<property name="text">
<string>𝄪</string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="is_c">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="nat_c">
<property name="text">
<string></string>
<string>=</string>
</property>
<property name="checked">
<bool>true</bool>
@ -259,14 +259,14 @@
<item>
<widget class="QRadioButton" name="es_c">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="eses_c">
<property name="text">
<string>𝄫</string>
<string></string>
</property>
</widget>
</item>
@ -314,21 +314,21 @@
<item>
<widget class="QRadioButton" name="isis_d">
<property name="text">
<string>𝄪</string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="is_d">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="nat_d">
<property name="text">
<string></string>
<string>=</string>
</property>
<property name="checked">
<bool>true</bool>
@ -338,14 +338,14 @@
<item>
<widget class="QRadioButton" name="es_d">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="eses_d">
<property name="text">
<string>𝄫</string>
<string></string>
</property>
</widget>
</item>
@ -393,21 +393,21 @@
<item>
<widget class="QRadioButton" name="isis_e">
<property name="text">
<string>𝄪</string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="is_e">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="nat_e">
<property name="text">
<string></string>
<string>=</string>
</property>
<property name="checked">
<bool>true</bool>
@ -417,14 +417,14 @@
<item>
<widget class="QRadioButton" name="es_e">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="eses_e">
<property name="text">
<string>𝄫</string>
<string></string>
</property>
</widget>
</item>
@ -472,21 +472,21 @@
<item>
<widget class="QRadioButton" name="isis_f">
<property name="text">
<string>𝄪</string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="is_f">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="nat_f">
<property name="text">
<string></string>
<string>=</string>
</property>
<property name="checked">
<bool>true</bool>
@ -496,14 +496,14 @@
<item>
<widget class="QRadioButton" name="es_f">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="eses_f">
<property name="text">
<string>𝄫</string>
<string></string>
</property>
</widget>
</item>
@ -551,21 +551,21 @@
<item>
<widget class="QRadioButton" name="isis_g">
<property name="text">
<string>𝄪</string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="is_g">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="nat_g">
<property name="text">
<string></string>
<string>=</string>
</property>
<property name="checked">
<bool>true</bool>
@ -575,14 +575,14 @@
<item>
<widget class="QRadioButton" name="es_g">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="eses_g">
<property name="text">
<string>𝄫</string>
<string></string>
</property>
</widget>
</item>
@ -630,21 +630,21 @@
<item>
<widget class="QRadioButton" name="isis_a">
<property name="text">
<string>𝄪</string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="is_a">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="nat_a">
<property name="text">
<string></string>
<string>=</string>
</property>
<property name="checked">
<bool>true</bool>
@ -654,14 +654,14 @@
<item>
<widget class="QRadioButton" name="es_a">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="eses_a">
<property name="text">
<string>𝄫</string>
<string></string>
</property>
</widget>
</item>
@ -709,21 +709,21 @@
<item>
<widget class="QRadioButton" name="isis_b">
<property name="text">
<string>𝄪</string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="is_b">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="nat_b">
<property name="text">
<string></string>
<string>=</string>
</property>
<property name="checked">
<bool>true</bool>
@ -733,14 +733,14 @@
<item>
<widget class="QRadioButton" name="es_b">
<property name="text">
<string></string>
<string></string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="eses_b">
<property name="text">
<string>𝄫</string>
<string></string>
</property>
</widget>
</item>

Loading…
Cancel
Save