]> git.sesse.net Git - nageru/blob - ui_input_mapping.ui
Add a beginning UI for mapping inputs. No logic connected yet.
[nageru] / ui_input_mapping.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>InputMappingDialog</class>
4  <widget class="QDialog" name="Dialog">
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_2">
17    <item>
18     <widget class="QTableWidget" name="tableWidget">
19      <column>
20       <property name="text">
21        <string>Device</string>
22       </property>
23      </column>
24      <column>
25       <property name="text">
26        <string>Left input</string>
27       </property>
28      </column>
29      <column>
30       <property name="text">
31        <string>Right input</string>
32       </property>
33      </column>
34     </widget>
35    </item>
36    <item>
37     <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,0,1,0,0,1,0">
38      <item>
39       <widget class="QPushButton" name="pushButton">
40        <property name="sizePolicy">
41         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
42          <horstretch>0</horstretch>
43          <verstretch>0</verstretch>
44         </sizepolicy>
45        </property>
46        <property name="maximumSize">
47         <size>
48          <width>30</width>
49          <height>30</height>
50         </size>
51        </property>
52        <property name="text">
53         <string/>
54        </property>
55        <property name="icon">
56         <iconset theme="list-add"/>
57        </property>
58       </widget>
59      </item>
60      <item>
61       <widget class="QPushButton" name="pushButton_2">
62        <property name="sizePolicy">
63         <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
64          <horstretch>0</horstretch>
65          <verstretch>0</verstretch>
66         </sizepolicy>
67        </property>
68        <property name="maximumSize">
69         <size>
70          <width>30</width>
71          <height>30</height>
72         </size>
73        </property>
74        <property name="text">
75         <string/>
76        </property>
77        <property name="icon">
78         <iconset theme="list-remove">
79          <normaloff>.</normaloff>.</iconset>
80        </property>
81       </widget>
82      </item>
83      <item>
84       <spacer name="horizontalSpacer_2">
85        <property name="orientation">
86         <enum>Qt::Horizontal</enum>
87        </property>
88        <property name="sizeHint" stdset="0">
89         <size>
90          <width>40</width>
91          <height>20</height>
92         </size>
93        </property>
94       </spacer>
95      </item>
96      <item>
97       <widget class="QPushButton" name="pushButton_3">
98        <property name="maximumSize">
99         <size>
100          <width>30</width>
101          <height>30</height>
102         </size>
103        </property>
104        <property name="text">
105         <string/>
106        </property>
107        <property name="icon">
108         <iconset theme="go-up"/>
109        </property>
110       </widget>
111      </item>
112      <item>
113       <widget class="QPushButton" name="pushButton_4">
114        <property name="maximumSize">
115         <size>
116          <width>30</width>
117          <height>30</height>
118         </size>
119        </property>
120        <property name="text">
121         <string/>
122        </property>
123        <property name="icon">
124         <iconset theme="go-down"/>
125        </property>
126       </widget>
127      </item>
128      <item>
129       <spacer name="horizontalSpacer">
130        <property name="orientation">
131         <enum>Qt::Horizontal</enum>
132        </property>
133        <property name="sizeHint" stdset="0">
134         <size>
135          <width>40</width>
136          <height>20</height>
137         </size>
138        </property>
139       </spacer>
140      </item>
141      <item>
142       <widget class="QDialogButtonBox" name="buttonBox">
143        <property name="orientation">
144         <enum>Qt::Horizontal</enum>
145        </property>
146        <property name="standardButtons">
147         <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
148        </property>
149       </widget>
150      </item>
151     </layout>
152    </item>
153   </layout>
154  </widget>
155  <resources/>
156  <connections>
157   <connection>
158    <sender>buttonBox</sender>
159    <signal>accepted()</signal>
160    <receiver>Dialog</receiver>
161    <slot>accept()</slot>
162    <hints>
163     <hint type="sourcelabel">
164      <x>248</x>
165      <y>254</y>
166     </hint>
167     <hint type="destinationlabel">
168      <x>157</x>
169      <y>274</y>
170     </hint>
171    </hints>
172   </connection>
173   <connection>
174    <sender>buttonBox</sender>
175    <signal>rejected()</signal>
176    <receiver>Dialog</receiver>
177    <slot>reject()</slot>
178    <hints>
179     <hint type="sourcelabel">
180      <x>316</x>
181      <y>260</y>
182     </hint>
183     <hint type="destinationlabel">
184      <x>286</x>
185      <y>274</y>
186     </hint>
187    </hints>
188   </connection>
189  </connections>
190 </ui>