| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>AdpcmDrumkitEditor</class> |
| 4 |
<widget class="QDialog" name="AdpcmDrumkitEditor"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>620</width> |
| 10 |
<height>450</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string notr="true"/> |
| 15 |
</property> |
| 16 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 17 |
<item> |
| 18 |
<widget class="QSplitter" name="splitter"> |
| 19 |
<property name="orientation"> |
| 20 |
<enum>Qt::Horizontal</enum> |
| 21 |
</property> |
| 22 |
<widget class="QGroupBox" name="keyGroupBox"> |
| 23 |
<property name="title"> |
| 24 |
<string>Sample assignment</string> |
| 25 |
</property> |
| 26 |
<layout class="QVBoxLayout" name="verticalLayout"> |
| 27 |
<item> |
| 28 |
<widget class="QTreeWidget" name="keyTreeWidget"> |
| 29 |
<property name="sizePolicy"> |
| 30 |
<sizepolicy hsizetype="Preferred" vsizetype="Expanding"> |
| 31 |
<horstretch>0</horstretch> |
| 32 |
<verstretch>0</verstretch> |
| 33 |
</sizepolicy> |
| 34 |
</property> |
| 35 |
<property name="minimumSize"> |
| 36 |
<size> |
| 37 |
<width>0</width> |
| 38 |
<height>0</height> |
| 39 |
</size> |
| 40 |
</property> |
| 41 |
<property name="maximumSize"> |
| 42 |
<size> |
| 43 |
<width>16777215</width> |
| 44 |
<height>16777215</height> |
| 45 |
</size> |
| 46 |
</property> |
| 47 |
<property name="horizontalScrollBarPolicy"> |
| 48 |
<enum>Qt::ScrollBarAlwaysOff</enum> |
| 49 |
</property> |
| 50 |
<property name="rootIsDecorated"> |
| 51 |
<bool>false</bool> |
| 52 |
</property> |
| 53 |
<property name="uniformRowHeights"> |
| 54 |
<bool>true</bool> |
| 55 |
</property> |
| 56 |
<attribute name="headerMinimumSectionSize"> |
| 57 |
<number>10</number> |
| 58 |
</attribute> |
| 59 |
<attribute name="headerDefaultSectionSize"> |
| 60 |
<number>40</number> |
| 61 |
</attribute> |
| 62 |
<attribute name="headerStretchLastSection"> |
| 63 |
<bool>true</bool> |
| 64 |
</attribute> |
| 65 |
<column> |
| 66 |
<property name="text"> |
| 67 |
<string>Key</string> |
| 68 |
</property> |
| 69 |
</column> |
| 70 |
<column> |
| 71 |
<property name="text"> |
| 72 |
<string notr="true">#</string> |
| 73 |
</property> |
| 74 |
</column> |
| 75 |
<column> |
| 76 |
<property name="text"> |
| 77 |
<string>Pitch</string> |
| 78 |
</property> |
| 79 |
</column> |
| 80 |
<column> |
| 81 |
<property name="text"> |
| 82 |
<string>Pan</string> |
| 83 |
</property> |
| 84 |
</column> |
| 85 |
</widget> |
| 86 |
</item> |
| 87 |
<item> |
| 88 |
<layout class="QFormLayout" name="formLayout"> |
| 89 |
<item row="0" column="0"> |
| 90 |
<widget class="QLabel" name="pitchLabel"> |
| 91 |
<property name="text"> |
| 92 |
<string>Pitch</string> |
| 93 |
</property> |
| 94 |
</widget> |
| 95 |
</item> |
| 96 |
<item row="0" column="1"> |
| 97 |
<widget class="QSpinBox" name="pitchSpinBox"> |
| 98 |
<property name="sizePolicy"> |
| 99 |
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 100 |
<horstretch>0</horstretch> |
| 101 |
<verstretch>0</verstretch> |
| 102 |
</sizepolicy> |
| 103 |
</property> |
| 104 |
<property name="minimum"> |
| 105 |
<number>-95</number> |
| 106 |
</property> |
| 107 |
<property name="maximum"> |
| 108 |
<number>95</number> |
| 109 |
</property> |
| 110 |
</widget> |
| 111 |
</item> |
| 112 |
<item row="1" column="0"> |
| 113 |
<widget class="QLabel" name="panLabel"> |
| 114 |
<property name="text"> |
| 115 |
<string>Panning</string> |
| 116 |
</property> |
| 117 |
</widget> |
| 118 |
</item> |
| 119 |
<item row="1" column="1"> |
| 120 |
<widget class="QLabel" name="panPosLabel"> |
| 121 |
<property name="frameShape"> |
| 122 |
<enum>QFrame::WinPanel</enum> |
| 123 |
</property> |
| 124 |
<property name="frameShadow"> |
| 125 |
<enum>QFrame::Sunken</enum> |
| 126 |
</property> |
| 127 |
<property name="text"> |
| 128 |
<string notr="true"/> |
| 129 |
</property> |
| 130 |
<property name="alignment"> |
| 131 |
<set>Qt::AlignCenter</set> |
| 132 |
</property> |
| 133 |
</widget> |
| 134 |
</item> |
| 135 |
</layout> |
| 136 |
</item> |
| 137 |
<item> |
| 138 |
<widget class="QSlider" name="panHorizontalSlider"> |
| 139 |
<property name="sizePolicy"> |
| 140 |
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 141 |
<horstretch>0</horstretch> |
| 142 |
<verstretch>0</verstretch> |
| 143 |
</sizepolicy> |
| 144 |
</property> |
| 145 |
<property name="maximum"> |
| 146 |
<number>2</number> |
| 147 |
</property> |
| 148 |
<property name="pageStep"> |
| 149 |
<number>2</number> |
| 150 |
</property> |
| 151 |
<property name="value"> |
| 152 |
<number>1</number> |
| 153 |
</property> |
| 154 |
<property name="orientation"> |
| 155 |
<enum>Qt::Horizontal</enum> |
| 156 |
</property> |
| 157 |
<property name="tickPosition"> |
| 158 |
<enum>QSlider::TicksAbove</enum> |
| 159 |
</property> |
| 160 |
</widget> |
| 161 |
</item> |
| 162 |
</layout> |
| 163 |
</widget> |
| 164 |
<widget class="QGroupBox" name="sampleGroupBox"> |
| 165 |
<property name="sizePolicy"> |
| 166 |
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
| 167 |
<horstretch>0</horstretch> |
| 168 |
<verstretch>0</verstretch> |
| 169 |
</sizepolicy> |
| 170 |
</property> |
| 171 |
<property name="title"> |
| 172 |
<string>Sample</string> |
| 173 |
</property> |
| 174 |
<property name="checkable"> |
| 175 |
<bool>true</bool> |
| 176 |
</property> |
| 177 |
<property name="checked"> |
| 178 |
<bool>false</bool> |
| 179 |
</property> |
| 180 |
<layout class="QHBoxLayout" name="horizontalLayout_2"> |
| 181 |
<item> |
| 182 |
<widget class="ADPCMSampleEditor" name="sampleEditor" native="true"> |
| 183 |
<property name="sizePolicy"> |
| 184 |
<sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |
| 185 |
<horstretch>0</horstretch> |
| 186 |
<verstretch>0</verstretch> |
| 187 |
</sizepolicy> |
| 188 |
</property> |
| 189 |
</widget> |
| 190 |
</item> |
| 191 |
</layout> |
| 192 |
</widget> |
| 193 |
</widget> |
| 194 |
</item> |
| 195 |
</layout> |
| 196 |
</widget> |
| 197 |
<customwidgets> |
| 198 |
<customwidget> |
| 199 |
<class>ADPCMSampleEditor</class> |
| 200 |
<extends>QWidget</extends> |
| 201 |
<header>gui/instrument_editor/adpcm_sample_editor.hpp</header> |
| 202 |
<container>1</container> |
| 203 |
</customwidget> |
| 204 |
</customwidgets> |
| 205 |
<tabstops> |
| 206 |
<tabstop>keyTreeWidget</tabstop> |
| 207 |
<tabstop>pitchSpinBox</tabstop> |
| 208 |
<tabstop>panHorizontalSlider</tabstop> |
| 209 |
<tabstop>sampleGroupBox</tabstop> |
| 210 |
</tabstops> |
| 211 |
<resources/> |
| 212 |
<connections/> |
| 213 |
</ui> |