1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>EditDrumsetBase</class>
4 <widget class="QDialog" name="EditDrumsetBase">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>696</width>
10    <height>355</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Edit Drumset</string>
15  </property>
16  <layout class="QVBoxLayout" name="verticalLayout">
17   <item>
18    <layout class="QGridLayout" name="gridLayout_3">
19     <property name="spacing">
20      <number>8</number>
21     </property>
22     <item row="0" column="0" rowspan="4">
23      <widget class="QTreeWidget" name="pitchList">
24       <property name="minimumSize">
25        <size>
26         <width>250</width>
27         <height>250</height>
28        </size>
29       </property>
30       <property name="alternatingRowColors">
31        <bool>true</bool>
32       </property>
33       <property name="indentation">
34        <number>0</number>
35       </property>
36       <property name="rootIsDecorated">
37        <bool>false</bool>
38       </property>
39       <property name="sortingEnabled">
40        <bool>true</bool>
41       </property>
42       <property name="allColumnsShowFocus">
43        <bool>true</bool>
44       </property>
45       <attribute name="headerDefaultSectionSize">
46        <number>56</number>
47       </attribute>
48       <attribute name="headerMinimumSectionSize">
49        <number>20</number>
50       </attribute>
51       <column>
52        <property name="text">
53         <string extracomment="Number">No.</string>
54        </property>
55       </column>
56       <column>
57        <property name="text">
58         <string>Note</string>
59        </property>
60       </column>
61       <column>
62        <property name="text">
63         <string>Shortcut</string>
64        </property>
65       </column>
66       <column>
67        <property name="text">
68         <string>Name</string>
69        </property>
70       </column>
71       <item>
72        <property name="text">
73         <string/>
74        </property>
75        <property name="text">
76         <string/>
77        </property>
78        <property name="text">
79         <string/>
80        </property>
81        <property name="text">
82         <string/>
83        </property>
84       </item>
85      </widget>
86     </item>
87     <item row="0" column="1">
88      <layout class="QGridLayout" name="gridLayout_2">
89       <item row="0" column="0">
90        <widget class="QLabel" name="label">
91         <property name="text">
92          <string>Name:</string>
93         </property>
94         <property name="alignment">
95          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
96         </property>
97        </widget>
98       </item>
99       <item row="0" column="1">
100        <widget class="QLineEdit" name="name">
101         <property name="minimumSize">
102          <size>
103           <width>250</width>
104           <height>0</height>
105          </size>
106         </property>
107         <property name="placeholderText">
108          <string>Enter a name to enable pitch editing</string>
109         </property>
110        </widget>
111       </item>
112      </layout>
113     </item>
114     <item row="6" column="0" colspan="3">
115      <layout class="QHBoxLayout" name="horizontalLayout">
116       <item>
117        <widget class="QPushButton" name="loadButton">
118         <property name="text">
119          <string>Load…</string>
120         </property>
121        </widget>
122       </item>
123       <item>
124        <widget class="QPushButton" name="saveButton">
125         <property name="text">
126          <string>Save As…</string>
127         </property>
128        </widget>
129       </item>
130       <item>
131        <spacer name="horizontalSpacer">
132         <property name="orientation">
133          <enum>Qt::Horizontal</enum>
134         </property>
135         <property name="sizeHint" stdset="0">
136          <size>
137           <width>40</width>
138           <height>20</height>
139          </size>
140         </property>
141        </spacer>
142       </item>
143       <item>
144        <widget class="QDialogButtonBox" name="buttonBox">
145         <property name="orientation">
146          <enum>Qt::Horizontal</enum>
147         </property>
148         <property name="standardButtons">
149          <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
150         </property>
151        </widget>
152       </item>
153      </layout>
154     </item>
155     <item row="1" column="1">
156      <layout class="QGridLayout" name="gridLayout">
157       <property name="horizontalSpacing">
158        <number>8</number>
159       </property>
160       <property name="verticalSpacing">
161        <number>1</number>
162       </property>
163       <item row="1" column="1">
164        <widget class="QComboBox" name="noteHead">
165         <property name="minimumSize">
166          <size>
167           <width>200</width>
168           <height>0</height>
169          </size>
170         </property>
171        </widget>
172       </item>
173       <item row="1" column="0">
174        <widget class="QLabel" name="label_2">
175         <property name="text">
176          <string>Notehead group:</string>
177         </property>
178         <property name="alignment">
179          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
180         </property>
181        </widget>
182       </item>
183       <item row="2" column="0" colspan="2">
184        <widget class="QGroupBox" name="customGbox">
185         <property name="title">
186          <string>Edit noteheads</string>
187         </property>
188         <property name="checkable">
189          <bool>true</bool>
190         </property>
191         <property name="checked">
192          <bool>false</bool>
193         </property>
194         <layout class="QGridLayout" name="gridLayout_5">
195          <item row="2" column="1">
196           <widget class="QComboBox" name="wholeCmb">
197            <property name="minimumSize">
198             <size>
199              <width>250</width>
200              <height>0</height>
201             </size>
202            </property>
203           </widget>
204          </item>
205          <item row="5" column="1">
206           <widget class="QComboBox" name="doubleWholeCmb">
207            <property name="minimumSize">
208             <size>
209              <width>250</width>
210              <height>0</height>
211             </size>
212            </property>
213           </widget>
214          </item>
215          <item row="5" column="0">
216           <widget class="QLabel" name="doubleWholeLbl">
217            <property name="text">
218             <string>Double whole note</string>
219            </property>
220           </widget>
221          </item>
222          <item row="2" column="0">
223           <widget class="QLabel" name="wholeLbl">
224            <property name="text">
225             <string>Whole note</string>
226            </property>
227           </widget>
228          </item>
229          <item row="0" column="1">
230           <widget class="QComboBox" name="quarterCmb">
231            <property name="minimumSize">
232             <size>
233              <width>250</width>
234              <height>0</height>
235             </size>
236            </property>
237           </widget>
238          </item>
239          <item row="0" column="0">
240           <widget class="QLabel" name="quarterLbl">
241            <property name="text">
242             <string>Quarter note</string>
243            </property>
244           </widget>
245          </item>
246          <item row="1" column="0">
247           <widget class="QLabel" name="halfLbl">
248            <property name="text">
249             <string>Half note</string>
250            </property>
251           </widget>
252          </item>
253          <item row="1" column="1">
254           <widget class="QComboBox" name="halfCmb">
255            <property name="minimumSize">
256             <size>
257              <width>250</width>
258              <height>0</height>
259             </size>
260            </property>
261           </widget>
262          </item>
263         </layout>
264        </widget>
265       </item>
266      </layout>
267     </item>
268     <item row="2" column="1">
269      <layout class="QHBoxLayout" name="horizontalLayout_2">
270       <item>
271        <spacer name="horizontalSpacer_3">
272         <property name="orientation">
273          <enum>Qt::Horizontal</enum>
274         </property>
275         <property name="sizeHint" stdset="0">
276          <size>
277           <width>40</width>
278           <height>20</height>
279          </size>
280         </property>
281        </spacer>
282       </item>
283       <item>
284        <widget class="Ms::Palette" name="drumNote" native="true">
285         <property name="sizePolicy">
286          <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
287           <horstretch>0</horstretch>
288           <verstretch>0</verstretch>
289          </sizepolicy>
290         </property>
291         <property name="minimumSize">
292          <size>
293           <width>120</width>
294           <height>0</height>
295          </size>
296         </property>
297        </widget>
298       </item>
299       <item>
300        <spacer name="horizontalSpacer_2">
301         <property name="orientation">
302          <enum>Qt::Horizontal</enum>
303         </property>
304         <property name="sizeHint" stdset="0">
305          <size>
306           <width>40</width>
307           <height>20</height>
308          </size>
309         </property>
310        </spacer>
311       </item>
312       <item>
313        <layout class="QVBoxLayout" name="verticalLayout_2">
314         <property name="spacing">
315          <number>6</number>
316         </property>
317         <item>
318          <layout class="QHBoxLayout" name="horizontalLayout_5">
319           <item>
320            <widget class="QLabel" name="label_5">
321             <property name="text">
322              <string>Default voice:</string>
323             </property>
324             <property name="alignment">
325              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
326             </property>
327            </widget>
328           </item>
329           <item>
330            <widget class="QComboBox" name="voice">
331             <property name="sizePolicy">
332              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
333               <horstretch>0</horstretch>
334               <verstretch>0</verstretch>
335              </sizepolicy>
336             </property>
337             <property name="minimumSize">
338              <size>
339               <width>50</width>
340               <height>0</height>
341              </size>
342             </property>
343             <item>
344              <property name="text">
345               <string>1</string>
346              </property>
347             </item>
348             <item>
349              <property name="text">
350               <string>2</string>
351              </property>
352             </item>
353             <item>
354              <property name="text">
355               <string>3</string>
356              </property>
357             </item>
358             <item>
359              <property name="text">
360               <string>4</string>
361              </property>
362             </item>
363            </widget>
364           </item>
365          </layout>
366         </item>
367         <item>
368          <layout class="QHBoxLayout" name="horizontalLayout_3">
369           <property name="spacing">
370            <number>6</number>
371           </property>
372           <item>
373            <widget class="QLabel" name="label_3">
374             <property name="text">
375              <string>Staff line:</string>
376             </property>
377             <property name="alignment">
378              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
379             </property>
380            </widget>
381           </item>
382           <item>
383            <widget class="QSpinBox" name="staffLine">
384             <property name="sizePolicy">
385              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
386               <horstretch>0</horstretch>
387               <verstretch>0</verstretch>
388              </sizepolicy>
389             </property>
390             <property name="minimumSize">
391              <size>
392               <width>50</width>
393               <height>0</height>
394              </size>
395             </property>
396             <property name="minimum">
397              <number>-12</number>
398             </property>
399            </widget>
400           </item>
401          </layout>
402         </item>
403         <item>
404          <layout class="QHBoxLayout" name="horizontalLayout_6">
405           <item>
406            <widget class="QLabel" name="label_6">
407             <property name="text">
408              <string>Shortcut:</string>
409             </property>
410             <property name="alignment">
411              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
412             </property>
413            </widget>
414           </item>
415           <item>
416            <widget class="QComboBox" name="shortcut">
417             <property name="sizePolicy">
418              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
419               <horstretch>0</horstretch>
420               <verstretch>0</verstretch>
421              </sizepolicy>
422             </property>
423             <property name="minimumSize">
424              <size>
425               <width>50</width>
426               <height>0</height>
427              </size>
428             </property>
429             <item>
430              <property name="text">
431               <string notr="true">A</string>
432              </property>
433             </item>
434             <item>
435              <property name="text">
436               <string notr="true">B</string>
437              </property>
438             </item>
439             <item>
440              <property name="text">
441               <string notr="true">C</string>
442              </property>
443             </item>
444             <item>
445              <property name="text">
446               <string notr="true">D</string>
447              </property>
448             </item>
449             <item>
450              <property name="text">
451               <string notr="true">E</string>
452              </property>
453             </item>
454             <item>
455              <property name="text">
456               <string notr="true">F</string>
457              </property>
458             </item>
459             <item>
460              <property name="text">
461               <string notr="true">G</string>
462              </property>
463             </item>
464             <item>
465              <property name="text">
466               <string notr="true">--</string>
467              </property>
468             </item>
469            </widget>
470           </item>
471          </layout>
472         </item>
473         <item>
474          <layout class="QHBoxLayout" name="horizontalLayout_4">
475           <item>
476            <widget class="QLabel" name="label_4">
477             <property name="text">
478              <string>Stem direction:</string>
479             </property>
480             <property name="alignment">
481              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
482             </property>
483            </widget>
484           </item>
485           <item>
486            <widget class="QComboBox" name="stemDirection">
487             <property name="sizePolicy">
488              <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
489               <horstretch>0</horstretch>
490               <verstretch>0</verstretch>
491              </sizepolicy>
492             </property>
493             <property name="minimumSize">
494              <size>
495               <width>50</width>
496               <height>0</height>
497              </size>
498             </property>
499             <item>
500              <property name="text">
501               <string>Auto</string>
502              </property>
503             </item>
504             <item>
505              <property name="text">
506               <string>Up</string>
507              </property>
508             </item>
509             <item>
510              <property name="text">
511               <string>Down</string>
512              </property>
513             </item>
514            </widget>
515           </item>
516          </layout>
517         </item>
518        </layout>
519       </item>
520      </layout>
521     </item>
522    </layout>
523   </item>
524  </layout>
525 </widget>
526 <customwidgets>
527  <customwidget>
528   <class>Ms::Palette</class>
529   <extends>QWidget</extends>
530   <header>palette.h</header>
531   <container>1</container>
532  </customwidget>
533 </customwidgets>
534 <tabstops>
535  <tabstop>pitchList</tabstop>
536  <tabstop>name</tabstop>
537  <tabstop>noteHead</tabstop>
538  <tabstop>customGbox</tabstop>
539  <tabstop>quarterCmb</tabstop>
540  <tabstop>halfCmb</tabstop>
541  <tabstop>wholeCmb</tabstop>
542  <tabstop>doubleWholeCmb</tabstop>
543  <tabstop>loadButton</tabstop>
544  <tabstop>saveButton</tabstop>
545 </tabstops>
546 <resources/>
547 <connections>
548  <connection>
549   <sender>buttonBox</sender>
550   <signal>accepted()</signal>
551   <receiver>EditDrumsetBase</receiver>
552   <slot>accept()</slot>
553   <hints>
554    <hint type="sourcelabel">
555     <x>248</x>
556     <y>254</y>
557    </hint>
558    <hint type="destinationlabel">
559     <x>157</x>
560     <y>274</y>
561    </hint>
562   </hints>
563  </connection>
564  <connection>
565   <sender>buttonBox</sender>
566   <signal>rejected()</signal>
567   <receiver>EditDrumsetBase</receiver>
568   <slot>reject()</slot>
569   <hints>
570    <hint type="sourcelabel">
571     <x>316</x>
572     <y>260</y>
573    </hint>
574    <hint type="destinationlabel">
575     <x>286</x>
576     <y>274</y>
577    </hint>
578   </hints>
579  </connection>
580 </connections>
581</ui>
582