]> git.sesse.net Git - nageru/blob - ui_midi_mapping.ui
Add an editor for the MIDI mappings.
[nageru] / ui_midi_mapping.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>MIDIMappingDialog</class>
4  <widget class="QDialog" name="MIDIMappingDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>879</width>
10     <height>583</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Input mapping</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout">
17    <item>
18     <widget class="QTreeWidget" name="treeWidget">
19      <column>
20       <property name="text">
21        <string notr="true">1</string>
22       </property>
23      </column>
24     </widget>
25    </item>
26    <item>
27     <widget class="QLabel" name="label_3">
28      <property name="text">
29       <string>Add or change a mapping by clicking in the cell, then moving the corresponding control on your MIDI device.</string>
30      </property>
31     </widget>
32    </item>
33    <item>
34     <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,1,0,0,1,0">
35      <item>
36       <widget class="QPushButton" name="guess_button">
37        <property name="text">
38         <string>Guess &amp;bus</string>
39        </property>
40       </widget>
41      </item>
42      <item>
43       <spacer name="horizontalSpacer_2">
44        <property name="orientation">
45         <enum>Qt::Horizontal</enum>
46        </property>
47        <property name="sizeHint" stdset="0">
48         <size>
49          <width>40</width>
50          <height>20</height>
51         </size>
52        </property>
53       </spacer>
54      </item>
55      <item>
56       <widget class="QPushButton" name="save_button">
57        <property name="text">
58         <string>&amp;Save…</string>
59        </property>
60       </widget>
61      </item>
62      <item>
63       <widget class="QPushButton" name="load_button">
64        <property name="text">
65         <string>&amp;Load…</string>
66        </property>
67       </widget>
68      </item>
69      <item>
70       <spacer name="horizontalSpacer">
71        <property name="orientation">
72         <enum>Qt::Horizontal</enum>
73        </property>
74        <property name="sizeHint" stdset="0">
75         <size>
76          <width>40</width>
77          <height>20</height>
78         </size>
79        </property>
80       </spacer>
81      </item>
82      <item>
83       <widget class="QDialogButtonBox" name="ok_cancel_buttons">
84        <property name="orientation">
85         <enum>Qt::Horizontal</enum>
86        </property>
87        <property name="standardButtons">
88         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
89        </property>
90       </widget>
91      </item>
92     </layout>
93    </item>
94   </layout>
95  </widget>
96  <resources/>
97  <connections/>
98 </ui>