2 |
<author>rncbc aka Rui Nuno Capela</author> |
<author>rncbc aka Rui Nuno Capela</author> |
3 |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
<comment>qsampler - A LinuxSampler Qt GUI Interface. |
4 |
|
|
5 |
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
Copyright (C) 2007, Christian Schoenebeck |
7 |
|
|
8 |
This program is free software; you can redistribute it and/or |
This program is free software; you can redistribute it and/or |
9 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
32 |
</property> |
</property> |
33 |
<property name="sizePolicy" > |
<property name="sizePolicy" > |
34 |
<sizepolicy> |
<sizepolicy> |
35 |
<hsizetype>7</hsizetype> |
<hsizetype>0</hsizetype> |
36 |
<vsizetype>1</vsizetype> |
<vsizetype>0</vsizetype> |
37 |
<horstretch>0</horstretch> |
<horstretch>0</horstretch> |
38 |
<verstretch>0</verstretch> |
<verstretch>0</verstretch> |
39 |
</sizepolicy> |
</sizepolicy> |
45 |
<string>Qsampler: Devices</string> |
<string>Qsampler: Devices</string> |
46 |
</property> |
</property> |
47 |
<property name="windowIcon" > |
<property name="windowIcon" > |
48 |
<iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/qsamplerDevice.png</iconset> |
<iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset> |
49 |
</property> |
</property> |
50 |
<layout class="QVBoxLayout" > |
<layout class="QVBoxLayout" > |
51 |
<property name="margin" > |
<property name="margin" > |
55 |
<number>6</number> |
<number>6</number> |
56 |
</property> |
</property> |
57 |
<item> |
<item> |
58 |
<layout class="QHBoxLayout" > |
<widget class="QSplitter" name="splitter" > |
59 |
<property name="margin" > |
<property name="sizePolicy" > |
60 |
<number>0</number> |
<sizepolicy> |
61 |
|
<hsizetype>7</hsizetype> |
62 |
|
<vsizetype>7</vsizetype> |
63 |
|
<horstretch>0</horstretch> |
64 |
|
<verstretch>0</verstretch> |
65 |
|
</sizepolicy> |
66 |
</property> |
</property> |
67 |
<property name="spacing" > |
<property name="orientation" > |
68 |
<number>6</number> |
<enum>Qt::Horizontal</enum> |
69 |
</property> |
</property> |
70 |
<item> |
<property name="handleWidth" > |
71 |
<widget class="QTreeWidget" name="DeviceListView" > |
<number>4</number> |
72 |
<property name="minimumSize" > |
</property> |
73 |
<size> |
<widget class="QTreeWidget" name="DeviceListView" > |
74 |
<width>160</width> |
<property name="minimumSize" > |
75 |
<height>0</height> |
<size> |
76 |
</size> |
<width>120</width> |
77 |
</property> |
<height>0</height> |
78 |
<property name="toolTip" > |
</size> |
79 |
<string>Device list</string> |
</property> |
80 |
|
<property name="toolTip" > |
81 |
|
<string>Device list</string> |
82 |
|
</property> |
83 |
|
<property name="rootIsDecorated" > |
84 |
|
<bool>false</bool> |
85 |
|
</property> |
86 |
|
<property name="uniformRowHeights" > |
87 |
|
<bool>true</bool> |
88 |
|
</property> |
89 |
|
<column> |
90 |
|
<property name="text" > |
91 |
|
<string>Devices</string> |
92 |
</property> |
</property> |
93 |
|
</column> |
94 |
|
</widget> |
95 |
|
<widget class="QSplitter" name="splitter" > |
96 |
|
<property name="sizePolicy" > |
97 |
|
<sizepolicy> |
98 |
|
<hsizetype>7</hsizetype> |
99 |
|
<vsizetype>7</vsizetype> |
100 |
|
<horstretch>0</horstretch> |
101 |
|
<verstretch>0</verstretch> |
102 |
|
</sizepolicy> |
103 |
|
</property> |
104 |
|
<property name="orientation" > |
105 |
|
<enum>Qt::Vertical</enum> |
106 |
|
</property> |
107 |
|
<property name="handleWidth" > |
108 |
|
<number>4</number> |
109 |
|
</property> |
110 |
|
<widget class="QWidget" name="DeviceParamLayout" > |
111 |
|
<layout class="QVBoxLayout" > |
112 |
|
<property name="margin" > |
113 |
|
<number>0</number> |
114 |
|
</property> |
115 |
|
<property name="spacing" > |
116 |
|
<number>6</number> |
117 |
|
</property> |
118 |
|
<item> |
119 |
|
<layout class="QHBoxLayout" > |
120 |
|
<property name="margin" > |
121 |
|
<number>0</number> |
122 |
|
</property> |
123 |
|
<property name="spacing" > |
124 |
|
<number>6</number> |
125 |
|
</property> |
126 |
|
<item> |
127 |
|
<widget class="QLabel" name="DeviceNameTextLabel" > |
128 |
|
<property name="sizePolicy" > |
129 |
|
<sizepolicy> |
130 |
|
<hsizetype>0</hsizetype> |
131 |
|
<vsizetype>0</vsizetype> |
132 |
|
<horstretch>0</horstretch> |
133 |
|
<verstretch>0</verstretch> |
134 |
|
</sizepolicy> |
135 |
|
</property> |
136 |
|
<property name="font" > |
137 |
|
<font> |
138 |
|
<weight>75</weight> |
139 |
|
<bold>true</bold> |
140 |
|
</font> |
141 |
|
</property> |
142 |
|
<property name="toolTip" > |
143 |
|
<string>Device name</string> |
144 |
|
</property> |
145 |
|
<property name="wordWrap" > |
146 |
|
<bool>false</bool> |
147 |
|
</property> |
148 |
|
<property name="indent" > |
149 |
|
<number>4</number> |
150 |
|
</property> |
151 |
|
</widget> |
152 |
|
</item> |
153 |
|
<item> |
154 |
|
<widget class="QLabel" name="DriverNameTextLabel" > |
155 |
|
<property name="text" > |
156 |
|
<string>Dri&ver:</string> |
157 |
|
</property> |
158 |
|
<property name="alignment" > |
159 |
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
160 |
|
</property> |
161 |
|
<property name="wordWrap" > |
162 |
|
<bool>false</bool> |
163 |
|
</property> |
164 |
|
<property name="buddy" > |
165 |
|
<cstring>DriverNameComboBox</cstring> |
166 |
|
</property> |
167 |
|
</widget> |
168 |
|
</item> |
169 |
|
<item> |
170 |
|
<widget class="QComboBox" name="DriverNameComboBox" > |
171 |
|
<property name="toolTip" > |
172 |
|
<string>Driver type name</string> |
173 |
|
</property> |
174 |
|
</widget> |
175 |
|
</item> |
176 |
|
</layout> |
177 |
|
</item> |
178 |
|
<item> |
179 |
|
<widget class="QTableView" name="DeviceParamTable" > |
180 |
|
<property name="alternatingRowColors" > |
181 |
|
<bool>true</bool> |
182 |
|
</property> |
183 |
|
<property name="selectionMode" > |
184 |
|
<enum>QAbstractItemView::NoSelection</enum> |
185 |
|
</property> |
186 |
|
<property name="showGrid" > |
187 |
|
<bool>false</bool> |
188 |
|
</property> |
189 |
|
</widget> |
190 |
|
</item> |
191 |
|
</layout> |
192 |
</widget> |
</widget> |
193 |
</item> |
<widget class="QWidget" name="PortParamLayout" > |
194 |
<item> |
<layout class="QVBoxLayout" > |
195 |
<layout class="QVBoxLayout" > |
<property name="margin" > |
196 |
<property name="margin" > |
<number>0</number> |
197 |
<number>0</number> |
</property> |
198 |
</property> |
<property name="spacing" > |
199 |
<property name="spacing" > |
<number>6</number> |
200 |
<number>6</number> |
</property> |
201 |
</property> |
<item> |
202 |
<item> |
<layout class="QHBoxLayout" > |
203 |
<layout class="QHBoxLayout" > |
<property name="margin" > |
204 |
<property name="margin" > |
<number>0</number> |
205 |
<number>0</number> |
</property> |
206 |
</property> |
<property name="spacing" > |
207 |
<property name="spacing" > |
<number>6</number> |
208 |
<number>6</number> |
</property> |
209 |
</property> |
<item> |
210 |
<item> |
<spacer> |
211 |
<widget class="QLabel" name="DeviceNameTextLabel" > |
<property name="orientation" > |
212 |
<property name="sizePolicy" > |
<enum>Qt::Horizontal</enum> |
213 |
<sizepolicy> |
</property> |
214 |
<hsizetype>7</hsizetype> |
<property name="sizeHint" > |
215 |
<vsizetype>5</vsizetype> |
<size> |
216 |
<horstretch>0</horstretch> |
<width>40</width> |
217 |
<verstretch>0</verstretch> |
<height>20</height> |
218 |
</sizepolicy> |
</size> |
219 |
</property> |
</property> |
220 |
<property name="font" > |
</spacer> |
221 |
<font> |
</item> |
222 |
<weight>75</weight> |
<item> |
223 |
<bold>true</bold> |
<widget class="QLabel" name="DevicePortTextLabel" > |
224 |
</font> |
<property name="text" > |
225 |
</property> |
<string>Channel:</string> |
226 |
<property name="toolTip" > |
</property> |
227 |
<string>Device name</string> |
<property name="alignment" > |
228 |
</property> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
229 |
<property name="wordWrap" > |
</property> |
230 |
<bool>false</bool> |
<property name="wordWrap" > |
231 |
</property> |
<bool>false</bool> |
232 |
<property name="indent" > |
</property> |
233 |
<number>4</number> |
<property name="buddy" > |
234 |
</property> |
<cstring>DevicePortComboBox</cstring> |
235 |
</widget> |
</property> |
236 |
</item> |
</widget> |
237 |
<item> |
</item> |
238 |
<widget class="QLabel" name="DriverNameTextLabel" > |
<item> |
239 |
<property name="text" > |
<widget class="QComboBox" name="DevicePortComboBox" > |
240 |
<string>Dri&ver:</string> |
<property name="sizePolicy" > |
241 |
</property> |
<sizepolicy> |
242 |
<property name="alignment" > |
<hsizetype>0</hsizetype> |
243 |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
<vsizetype>0</vsizetype> |
244 |
</property> |
<horstretch>0</horstretch> |
245 |
<property name="wordWrap" > |
<verstretch>0</verstretch> |
246 |
<bool>false</bool> |
</sizepolicy> |
247 |
</property> |
</property> |
248 |
<property name="buddy" > |
<property name="toolTip" > |
249 |
<cstring>DriverNameComboBox</cstring> |
<string>Device port/channel</string> |
250 |
</property> |
</property> |
251 |
</widget> |
</widget> |
252 |
</item> |
</item> |
253 |
<item> |
</layout> |
254 |
<widget class="QComboBox" name="DriverNameComboBox" > |
</item> |
255 |
<property name="toolTip" > |
<item> |
256 |
<string>Driver type name</string> |
<widget class="QTableView" name="DevicePortParamTable" > |
257 |
</property> |
<property name="alternatingRowColors" > |
258 |
</widget> |
<bool>true</bool> |
259 |
</item> |
</property> |
260 |
</layout> |
<property name="selectionMode" > |
261 |
</item> |
<enum>QAbstractItemView::NoSelection</enum> |
262 |
<item> |
</property> |
263 |
<widget class="QTableView" name="DeviceParamTable" /> |
<property name="showGrid" > |
264 |
</item> |
<bool>false</bool> |
265 |
<item> |
</property> |
266 |
<layout class="QHBoxLayout" > |
</widget> |
267 |
<property name="margin" > |
</item> |
268 |
<number>0</number> |
</layout> |
269 |
</property> |
</widget> |
270 |
<property name="spacing" > |
</widget> |
271 |
<number>6</number> |
</widget> |
|
</property> |
|
|
<item> |
|
|
<spacer> |
|
|
<property name="orientation" > |
|
|
<enum>Qt::Horizontal</enum> |
|
|
</property> |
|
|
<property name="sizeHint" > |
|
|
<size> |
|
|
<width>40</width> |
|
|
<height>20</height> |
|
|
</size> |
|
|
</property> |
|
|
</spacer> |
|
|
</item> |
|
|
<item> |
|
|
<widget class="QLabel" name="DevicePortTextLabel" > |
|
|
<property name="text" > |
|
|
<string>Channel:</string> |
|
|
</property> |
|
|
<property name="alignment" > |
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
|
</property> |
|
|
<property name="wordWrap" > |
|
|
<bool>false</bool> |
|
|
</property> |
|
|
<property name="buddy" > |
|
|
<cstring>DevicePortComboBox</cstring> |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
|
<item> |
|
|
<widget class="QComboBox" name="DevicePortComboBox" > |
|
|
<property name="sizePolicy" > |
|
|
<sizepolicy> |
|
|
<hsizetype>7</hsizetype> |
|
|
<vsizetype>0</vsizetype> |
|
|
<horstretch>0</horstretch> |
|
|
<verstretch>0</verstretch> |
|
|
</sizepolicy> |
|
|
</property> |
|
|
<property name="toolTip" > |
|
|
<string>Device port/channel</string> |
|
|
</property> |
|
|
</widget> |
|
|
</item> |
|
|
</layout> |
|
|
</item> |
|
|
<item> |
|
|
<widget class="QTableView" name="DevicePortParamTable" /> |
|
|
</item> |
|
|
</layout> |
|
|
</item> |
|
|
</layout> |
|
272 |
</item> |
</item> |
273 |
<item> |
<item> |
274 |
<layout class="QHBoxLayout" > |
<layout class="QHBoxLayout" > |
287 |
<string>&Refresh</string> |
<string>&Refresh</string> |
288 |
</property> |
</property> |
289 |
<property name="icon" > |
<property name="icon" > |
290 |
<iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/formRefresh.png</iconset> |
<iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset> |
291 |
</property> |
</property> |
292 |
<property name="shortcut" > |
<property name="shortcut" > |
293 |
<string>Alt+R</string> |
<string>Alt+R</string> |
319 |
<string>&Create</string> |
<string>&Create</string> |
320 |
</property> |
</property> |
321 |
<property name="icon" > |
<property name="icon" > |
322 |
<iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/deviceCreate.png</iconset> |
<iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset> |
323 |
</property> |
</property> |
324 |
<property name="shortcut" > |
<property name="shortcut" > |
325 |
<string>Alt+C</string> |
<string>Alt+C</string> |
335 |
<string>&Delete</string> |
<string>&Delete</string> |
336 |
</property> |
</property> |
337 |
<property name="icon" > |
<property name="icon" > |
338 |
<iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/deviceDelete.png</iconset> |
<iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset> |
339 |
</property> |
</property> |
340 |
<property name="shortcut" > |
<property name="shortcut" > |
341 |
<string>Alt+D</string> |
<string>Alt+D</string> |
351 |
<string>Close</string> |
<string>Close</string> |
352 |
</property> |
</property> |
353 |
<property name="icon" > |
<property name="icon" > |
354 |
<iconset resource="../pixmaps.qrc" >:/qsampler/pixmaps/icons/formReject.png</iconset> |
<iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset> |
355 |
</property> |
</property> |
356 |
<property name="shortcut" > |
<property name="shortcut" > |
357 |
<string/> |
<string/> |
363 |
</layout> |
</layout> |
364 |
</widget> |
</widget> |
365 |
<layoutdefault spacing="4" margin="4" /> |
<layoutdefault spacing="4" margin="4" /> |
|
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
366 |
<tabstops> |
<tabstops> |
367 |
<tabstop>DeviceListView</tabstop> |
<tabstop>DeviceListView</tabstop> |
368 |
<tabstop>RefreshDevicesPushButton</tabstop> |
<tabstop>RefreshDevicesPushButton</tabstop> |
372 |
<tabstop>DeleteDevicePushButton</tabstop> |
<tabstop>DeleteDevicePushButton</tabstop> |
373 |
<tabstop>ClosePushButton</tabstop> |
<tabstop>ClosePushButton</tabstop> |
374 |
</tabstops> |
</tabstops> |
|
<includes> |
|
|
<include location="local" >qsamplerDevice.h</include> |
|
|
</includes> |
|
375 |
<resources> |
<resources> |
376 |
<include location="../pixmaps.qrc" /> |
<include location="../icons/qsampler.qrc" /> |
377 |
</resources> |
</resources> |
378 |
<connections> |
<connections/> |
|
<connection> |
|
|
<sender>DeviceListView</sender> |
|
|
<signal>selectionChanged()</signal> |
|
|
<receiver>qsamplerDeviceForm</receiver> |
|
|
<slot>selectDevice()</slot> |
|
|
<hints> |
|
|
<hint type="sourcelabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
<hint type="destinationlabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
</hints> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>RefreshDevicesPushButton</sender> |
|
|
<signal>clicked()</signal> |
|
|
<receiver>qsamplerDeviceForm</receiver> |
|
|
<slot>refreshDevices()</slot> |
|
|
<hints> |
|
|
<hint type="sourcelabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
<hint type="destinationlabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
</hints> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>DriverNameComboBox</sender> |
|
|
<signal>activated(QString)</signal> |
|
|
<receiver>qsamplerDeviceForm</receiver> |
|
|
<slot>selectDriver(QString)</slot> |
|
|
<hints> |
|
|
<hint type="sourcelabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
<hint type="destinationlabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
</hints> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>DevicePortComboBox</sender> |
|
|
<signal>activated(int)</signal> |
|
|
<receiver>qsamplerDeviceForm</receiver> |
|
|
<slot>selectDevicePort(int)</slot> |
|
|
<hints> |
|
|
<hint type="sourcelabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
<hint type="destinationlabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
</hints> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>CreateDevicePushButton</sender> |
|
|
<signal>clicked()</signal> |
|
|
<receiver>qsamplerDeviceForm</receiver> |
|
|
<slot>createDevice()</slot> |
|
|
<hints> |
|
|
<hint type="sourcelabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
<hint type="destinationlabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
</hints> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>DeleteDevicePushButton</sender> |
|
|
<signal>clicked()</signal> |
|
|
<receiver>qsamplerDeviceForm</receiver> |
|
|
<slot>deleteDevice()</slot> |
|
|
<hints> |
|
|
<hint type="sourcelabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
<hint type="destinationlabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
</hints> |
|
|
</connection> |
|
|
<connection> |
|
|
<sender>ClosePushButton</sender> |
|
|
<signal>clicked()</signal> |
|
|
<receiver>qsamplerDeviceForm</receiver> |
|
|
<slot>close()</slot> |
|
|
<hints> |
|
|
<hint type="sourcelabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
<hint type="destinationlabel" > |
|
|
<x>20</x> |
|
|
<y>20</y> |
|
|
</hint> |
|
|
</hints> |
|
|
</connection> |
|
|
</connections> |
|
379 |
</ui> |
</ui> |