aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmppresetselect.ui
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-20 23:29:39 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-04-20 23:29:39 +0800
commit32568af90e5c521c68432a7e77b6dd8bf524adde (patch)
treee2bed775bf9953f26ad94531da2a20ec9f967482 /qmidiplayer-desktop/qmppresetselect.ui
parentb68f60e023175b144664de092c31416fa5b58880 (diff)
downloadQMidiPlayer-32568af90e5c521c68432a7e77b6dd8bf524adde.tar.xz
UI refinements and fix to two memory leaks.
Minor improvement in MIDI reading process.
Diffstat (limited to 'qmidiplayer-desktop/qmppresetselect.ui')
-rw-r--r--qmidiplayer-desktop/qmppresetselect.ui165
1 files changed, 93 insertions, 72 deletions
diff --git a/qmidiplayer-desktop/qmppresetselect.ui b/qmidiplayer-desktop/qmppresetselect.ui
index f18600d..c9293d1 100644
--- a/qmidiplayer-desktop/qmppresetselect.ui
+++ b/qmidiplayer-desktop/qmppresetselect.ui
@@ -28,78 +28,99 @@
<property name="modal">
<bool>true</bool>
</property>
- <widget class="QListWidget" name="lwBankSelect">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>30</y>
- <width>71</width>
- <height>221</height>
- </rect>
- </property>
- </widget>
- <widget class="QListWidget" name="lwPresetSelect">
- <property name="geometry">
- <rect>
- <x>90</x>
- <y>30</y>
- <width>301</width>
- <height>221</height>
- </rect>
- </property>
- </widget>
- <widget class="QLabel" name="lbBnk">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>66</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Bank</string>
- </property>
- </widget>
- <widget class="QLabel" name="lbPst">
- <property name="geometry">
- <rect>
- <x>90</x>
- <y>10</y>
- <width>66</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Preset</string>
- </property>
- </widget>
- <widget class="QPushButton" name="pbOk">
- <property name="geometry">
- <rect>
- <x>300</x>
- <y>260</y>
- <width>97</width>
- <height>36</height>
- </rect>
- </property>
- <property name="text">
- <string>OK</string>
- </property>
- </widget>
- <widget class="QPushButton" name="pbCancel">
- <property name="geometry">
- <rect>
- <x>190</x>
- <y>260</y>
- <width>97</width>
- <height>36</height>
- </rect>
- </property>
- <property name="text">
- <string>Cancel</string>
- </property>
- </widget>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QLabel" name="lbBnk">
+ <property name="text">
+ <string>Bank</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QListWidget" name="lwBankSelect">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>64</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
+ <widget class="QLabel" name="lbPst">
+ <property name="text">
+ <string>Preset</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QListWidget" name="lwPresetSelect"/>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QPushButton" name="pbCancel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Cancel</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="pbOk">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>OK</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ <zorder>horizontalLayoutWidget</zorder>
+ <zorder>horizontalLayoutWidget_2</zorder>
+ <zorder>verticalLayoutWidget</zorder>
</widget>
<resources/>
<connections/>