diff options
author | Chris Xiong <chirs241097@gmail.com> | 2016-04-20 23:29:39 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2016-04-20 23:29:39 +0800 |
commit | 32568af90e5c521c68432a7e77b6dd8bf524adde (patch) | |
tree | e2bed775bf9953f26ad94531da2a20ec9f967482 /qmidiplayer-desktop/qmpchanneleditor.ui | |
parent | b68f60e023175b144664de092c31416fa5b58880 (diff) | |
download | QMidiPlayer-32568af90e5c521c68432a7e77b6dd8bf524adde.tar.xz |
UI refinements and fix to two memory leaks.
Minor improvement in MIDI reading process.
Diffstat (limited to 'qmidiplayer-desktop/qmpchanneleditor.ui')
-rw-r--r-- | qmidiplayer-desktop/qmpchanneleditor.ui | 1078 |
1 files changed, 507 insertions, 571 deletions
diff --git a/qmidiplayer-desktop/qmpchanneleditor.ui b/qmidiplayer-desktop/qmpchanneleditor.ui index 49e8c8e..ccd944b 100644 --- a/qmidiplayer-desktop/qmpchanneleditor.ui +++ b/qmidiplayer-desktop/qmpchanneleditor.ui @@ -25,577 +25,513 @@ <property name="windowTitle"> <string>Dialog</string> </property> - <widget class="QPushButton" name="pbChLeft"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>21</width> - <height>21</height> - </rect> - </property> - <property name="text"> - <string><</string> - </property> - </widget> - <widget class="QLabel" name="lbChannelNumber"> - <property name="geometry"> - <rect> - <x>30</x> - <y>10</y> - <width>21</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>1</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - <widget class="QPushButton" name="pbChRight"> - <property name="geometry"> - <rect> - <x>50</x> - <y>10</y> - <width>21</width> - <height>21</height> - </rect> - </property> - <property name="text"> - <string>></string> - </property> - </widget> - <widget class="QLabel" name="lbPresetName"> - <property name="geometry"> - <rect> - <x>90</x> - <y>10</y> - <width>261</width> - <height>51</height> - </rect> - </property> - <property name="font"> - <font> - <pointsize>16</pointsize> - </font> - </property> - <property name="text"> - <string>Yamaha Grand Piano</string> - </property> - </widget> - <widget class="QLabel" name="lbBank"> - <property name="geometry"> - <rect> - <x>10</x> - <y>30</y> - <width>81</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>BK: 0</string> - </property> - </widget> - <widget class="QLabel" name="lbPreset"> - <property name="geometry"> - <rect> - <x>10</x> - <y>50</y> - <width>81</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>PC: 0</string> - </property> - </widget> - <widget class="QGroupBox" name="gFilters"> - <property name="geometry"> - <rect> - <x>0</x> - <y>70</y> - <width>141</width> - <height>101</height> - </rect> - </property> - <property name="title"> - <string>Filters</string> - </property> - <widget class="QLabel" name="lbReso"> - <property name="geometry"> - <rect> - <x>70</x> - <y>80</y> - <width>66</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Res. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QDial" name="dReso"> - <property name="geometry"> - <rect> - <x>80</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QDial" name="dCut"> - <property name="geometry"> - <rect> - <x>10</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QLabel" name="lbCut"> - <property name="geometry"> - <rect> - <x>0</x> - <y>80</y> - <width>71</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Cut. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </widget> - <widget class="QGroupBox" name="gEffects"> - <property name="geometry"> - <rect> - <x>140</x> - <y>70</y> - <width>141</width> - <height>101</height> - </rect> - </property> - <property name="title"> - <string>Effects</string> - </property> - <widget class="QLabel" name="lbChorus"> - <property name="geometry"> - <rect> - <x>70</x> - <y>80</y> - <width>66</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Chr. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QDial" name="dChorus"> - <property name="geometry"> - <rect> - <x>80</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QDial" name="dReverb"> - <property name="geometry"> - <rect> - <x>10</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QLabel" name="lbReverb"> - <property name="geometry"> - <rect> - <x>0</x> - <y>80</y> - <width>71</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Rev. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </widget> - <widget class="QGroupBox" name="gEnvelope"> - <property name="geometry"> - <rect> - <x>0</x> - <y>170</y> - <width>211</width> - <height>101</height> - </rect> - </property> - <property name="title"> - <string>Envelope</string> - </property> - <widget class="QLabel" name="lbDecay"> - <property name="geometry"> - <rect> - <x>70</x> - <y>80</y> - <width>66</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Dec. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QDial" name="dDecay"> - <property name="geometry"> - <rect> - <x>80</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QDial" name="dAttack"> - <property name="geometry"> - <rect> - <x>10</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QLabel" name="lbAttack"> - <property name="geometry"> - <rect> - <x>0</x> - <y>80</y> - <width>71</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Atk. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QDial" name="dRelease"> - <property name="geometry"> - <rect> - <x>150</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QLabel" name="lbRelease"> - <property name="geometry"> - <rect> - <x>140</x> - <y>80</y> - <width>66</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Rel. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </widget> - <widget class="QGroupBox" name="gVibrato"> - <property name="geometry"> - <rect> - <x>210</x> - <y>170</y> - <width>211</width> - <height>101</height> - </rect> - </property> - <property name="title"> - <string>Vibrato</string> - </property> - <widget class="QLabel" name="lbDepth"> - <property name="geometry"> - <rect> - <x>70</x> - <y>80</y> - <width>66</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Dep. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QDial" name="dDepth"> - <property name="geometry"> - <rect> - <x>80</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QDial" name="dRate"> - <property name="geometry"> - <rect> - <x>10</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QLabel" name="lbRate"> - <property name="geometry"> - <rect> - <x>0</x> - <y>80</y> - <width>71</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Rate 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QDial" name="dDelay"> - <property name="geometry"> - <rect> - <x>150</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QLabel" name="lbDelay"> - <property name="geometry"> - <rect> - <x>140</x> - <y>80</y> - <width>66</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Del. 64</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - </widget> - <widget class="QGroupBox" name="gMixer"> - <property name="geometry"> - <rect> - <x>280</x> - <y>70</y> - <width>141</width> - <height>101</height> - </rect> - </property> - <property name="title"> - <string>Mixer</string> - </property> - <widget class="QLabel" name="lbPan"> - <property name="geometry"> - <rect> - <x>70</x> - <y>80</y> - <width>66</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Pan. C</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QDial" name="dPan"> - <property name="geometry"> - <rect> - <x>80</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>64</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - <widget class="QLabel" name="lbVol"> - <property name="geometry"> - <rect> - <x>0</x> - <y>80</y> - <width>66</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Vol. 127</string> - </property> - <property name="alignment"> - <set>Qt::AlignCenter</set> - </property> - </widget> - <widget class="QDial" name="dVol"> - <property name="geometry"> - <rect> - <x>10</x> - <y>30</y> - <width>50</width> - <height>51</height> - </rect> - </property> - <property name="maximum"> - <number>127</number> - </property> - <property name="value"> - <number>127</number> - </property> - <property name="notchesVisible"> - <bool>true</bool> - </property> - </widget> - </widget> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>0</number> + </property> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QPushButton" name="pbChLeft"> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="text"> + <string><</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="lbChannelNumber"> + <property name="minimumSize"> + <size> + <width>24</width> + <height>0</height> + </size> + </property> + <property name="text"> + <string>1</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="pbChRight"> + <property name="minimumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="maximumSize"> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + <property name="text"> + <string>></string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QLabel" name="lbBank"> + <property name="text"> + <string>BK: 0</string> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="lbPreset"> + <property name="text"> + <string>PC: 0</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QLabel" name="lbPresetName"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="font"> + <font> + <pointsize>16</pointsize> + </font> + </property> + <property name="text"> + <string>Yamaha Grand Piano</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QGroupBox" name="gFilters"> + <property name="title"> + <string>Filters</string> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>4</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <item row="0" column="0"> + <widget class="QDial" name="dCut"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QDial" name="dReso"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="lbCut"> + <property name="text"> + <string>Cut. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="lbReso"> + <property name="text"> + <string>Res. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="gEffects"> + <property name="title"> + <string>Effects</string> + </property> + <layout class="QGridLayout" name="gridLayout"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>4</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <item row="0" column="0"> + <widget class="QDial" name="dReverb"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QDial" name="dChorus"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="lbReverb"> + <property name="text"> + <string>Rev. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="lbChorus"> + <property name="text"> + <string>Chr. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="gMixer"> + <property name="title"> + <string>Mixer</string> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>4</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <item row="0" column="0"> + <widget class="QDial" name="dVol"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>127</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QDial" name="dPan"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="lbVol"> + <property name="text"> + <string>Vol. 127</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="lbPan"> + <property name="text"> + <string>Pan. C</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QGroupBox" name="gEnvelope"> + <property name="title"> + <string>Envelope</string> + </property> + <layout class="QGridLayout" name="gridLayout_4"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>4</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <item row="0" column="0"> + <widget class="QDial" name="dAttack"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QDial" name="dDecay"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QDial" name="dRelease"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="lbAttack"> + <property name="text"> + <string>Atk. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="lbDecay"> + <property name="text"> + <string>Dec. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QLabel" name="lbRelease"> + <property name="text"> + <string>Rel. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="gVibrato"> + <property name="title"> + <string>Vibrato</string> + </property> + <layout class="QGridLayout" name="gridLayout_5"> + <property name="leftMargin"> + <number>0</number> + </property> + <property name="topMargin"> + <number>4</number> + </property> + <property name="rightMargin"> + <number>0</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <property name="spacing"> + <number>0</number> + </property> + <item row="0" column="0"> + <widget class="QDial" name="dRate"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QDial" name="dDepth"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QDial" name="dDelay"> + <property name="maximum"> + <number>127</number> + </property> + <property name="value"> + <number>64</number> + </property> + <property name="notchesVisible"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="lbRate"> + <property name="text"> + <string>Rate 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLabel" name="lbDepth"> + <property name="text"> + <string>Dep. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QLabel" name="lbDelay"> + <property name="text"> + <string>Del. 64</string> + </property> + <property name="alignment"> + <set>Qt::AlignCenter</set> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </item> + </layout> </widget> <resources/> <connections/> |