1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>SelectInstrument</class>
4 <widget class="QDialog" name="SelectInstrument">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>533</width>
10    <height>398</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Select Instrument</string>
15  </property>
16  <layout class="QVBoxLayout" name="verticalLayout">
17   <item>
18    <layout class="QHBoxLayout" name="horizontalLayout">
19     <item>
20      <widget class="QLabel" name="label_4">
21       <property name="sizePolicy">
22        <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
23         <horstretch>0</horstretch>
24         <verstretch>0</verstretch>
25        </sizepolicy>
26       </property>
27       <property name="text">
28        <string>Current instrument:</string>
29       </property>
30      </widget>
31     </item>
32     <item>
33      <widget class="QLineEdit" name="currentInstrument">
34       <property name="readOnly">
35        <bool>true</bool>
36       </property>
37      </widget>
38     </item>
39    </layout>
40   </item>
41   <item>
42    <widget class="QComboBox" name="instrumentGenreFilter"/>
43   </item>
44   <item>
45    <widget class="Ms::FilterableTreeWidget" name="instrumentList">
46     <property name="alternatingRowColors">
47      <bool>true</bool>
48     </property>
49     <property name="uniformRowHeights">
50      <bool>true</bool>
51     </property>
52     <property name="expandsOnDoubleClick">
53      <bool>false</bool>
54     </property>
55     <attribute name="headerVisible">
56      <bool>false</bool>
57     </attribute>
58     <column>
59      <property name="text">
60       <string>0</string>
61      </property>
62     </column>
63    </widget>
64   </item>
65   <item>
66    <widget class="Ms::SearchBox" name="instrumentSearch">
67     <property name="placeholderText">
68      <string>Search</string>
69     </property>
70     <property name="clearButtonEnabled">
71      <bool>true</bool>
72     </property>
73    </widget>
74   </item>
75   <item>
76    <widget class="QDialogButtonBox" name="buttonBox">
77     <property name="orientation">
78      <enum>Qt::Horizontal</enum>
79     </property>
80     <property name="standardButtons">
81      <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
82     </property>
83    </widget>
84   </item>
85  </layout>
86 </widget>
87 <customwidgets>
88  <customwidget>
89   <class>Ms::FilterableTreeWidget</class>
90   <extends>QTreeWidget</extends>
91   <header>widgets/filterabletreeview.h</header>
92  </customwidget>
93  <customwidget>
94   <class>Ms::SearchBox</class>
95   <extends>QLineEdit</extends>
96   <header>widgets/searchbox.h</header>
97  </customwidget>
98 </customwidgets>
99 <tabstops>
100  <tabstop>currentInstrument</tabstop>
101  <tabstop>instrumentGenreFilter</tabstop>
102  <tabstop>instrumentList</tabstop>
103  <tabstop>instrumentSearch</tabstop>
104 </tabstops>
105 <resources/>
106 <connections>
107  <connection>
108   <sender>buttonBox</sender>
109   <signal>accepted()</signal>
110   <receiver>SelectInstrument</receiver>
111   <slot>accept()</slot>
112   <hints>
113    <hint type="sourcelabel">
114     <x>248</x>
115     <y>254</y>
116    </hint>
117    <hint type="destinationlabel">
118     <x>157</x>
119     <y>274</y>
120    </hint>
121   </hints>
122  </connection>
123  <connection>
124   <sender>buttonBox</sender>
125   <signal>rejected()</signal>
126   <receiver>SelectInstrument</receiver>
127   <slot>reject()</slot>
128   <hints>
129    <hint type="sourcelabel">
130     <x>316</x>
131     <y>260</y>
132    </hint>
133    <hint type="destinationlabel">
134     <x>286</x>
135     <y>274</y>
136    </hint>
137   </hints>
138  </connection>
139 </connections>
140</ui>
141