1 |
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> |
<ui version="4.0" > |
2 |
<class>qsamplerDeviceForm</class> |
<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) 2005, 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 |
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
GNU General Public License for more details. |
GNU General Public License for more details. |
17 |
|
|
18 |
You should have received a copy of the GNU General Public License |
You should have received a copy of the GNU General Public License along |
19 |
along with this program; if not, write to the Free Software |
with this program; if not, write to the Free Software Foundation, Inc., |
20 |
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
21 |
|
|
22 |
</comment> |
</comment> |
23 |
<author>rncbc aka Rui Nuno Capela</author> |
<class>qsamplerDeviceForm</class> |
24 |
<widget class="QDialog"> |
<widget class="QDialog" name="qsamplerDeviceForm" > |
25 |
<property name="name"> |
<property name="geometry" > |
26 |
<cstring>qsamplerDeviceForm</cstring> |
<rect> |
27 |
</property> |
<x>0</x> |
28 |
<property name="geometry"> |
<y>0</y> |
29 |
<rect> |
<width>601</width> |
30 |
<x>0</x> |
<height>378</height> |
31 |
<y>0</y> |
</rect> |
32 |
<width>542</width> |
</property> |
33 |
<height>331</height> |
<property name="sizePolicy" > |
34 |
</rect> |
<sizepolicy> |
35 |
</property> |
<hsizetype>7</hsizetype> |
36 |
<property name="sizePolicy"> |
<vsizetype>1</vsizetype> |
37 |
<sizepolicy> |
<horstretch>0</horstretch> |
38 |
<hsizetype>7</hsizetype> |
<verstretch>0</verstretch> |
39 |
<vsizetype>1</vsizetype> |
</sizepolicy> |
40 |
<horstretch>0</horstretch> |
</property> |
41 |
<verstretch>0</verstretch> |
<property name="focusPolicy" > |
42 |
</sizepolicy> |
<enum>Qt::StrongFocus</enum> |
43 |
</property> |
</property> |
44 |
<property name="caption"> |
<property name="windowTitle" > |
45 |
<string>Devices</string> |
<string>Qsampler: Devices</string> |
46 |
</property> |
</property> |
47 |
<property name="icon"> |
<property name="windowIcon" > |
48 |
<pixmap>qsamplerChannel.png</pixmap> |
<iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset> |
49 |
</property> |
</property> |
50 |
<property name="focusPolicy"> |
<layout class="QVBoxLayout" > |
51 |
<enum>StrongFocus</enum> |
<property name="margin" > |
52 |
</property> |
<number>9</number> |
53 |
<vbox> |
</property> |
54 |
<property name="name"> |
<property name="spacing" > |
55 |
<cstring>unnamed</cstring> |
<number>6</number> |
56 |
</property> |
</property> |
57 |
<widget class="QSplitter"> |
<item> |
58 |
<property name="name"> |
<layout class="QHBoxLayout" > |
59 |
<cstring>splitter3</cstring> |
<property name="margin" > |
60 |
</property> |
<number>0</number> |
61 |
<property name="orientation"> |
</property> |
62 |
<enum>Horizontal</enum> |
<property name="spacing" > |
63 |
</property> |
<number>6</number> |
64 |
<widget class="QListView"> |
</property> |
65 |
<column> |
<item> |
66 |
<property name="text"> |
<widget class="QTreeWidget" name="DeviceListView" > |
67 |
<string>Devices</string> |
<property name="minimumSize" > |
68 |
</property> |
<size> |
69 |
<property name="clickable"> |
<width>160</width> |
70 |
<bool>true</bool> |
<height>0</height> |
71 |
</property> |
</size> |
72 |
<property name="resizable"> |
</property> |
73 |
<bool>true</bool> |
<property name="toolTip" > |
74 |
</property> |
<string>Device list</string> |
75 |
</column> |
</property> |
76 |
<property name="name"> |
</widget> |
77 |
<cstring>DeviceListView</cstring> |
</item> |
78 |
</property> |
<item> |
79 |
<property name="minimumSize"> |
<layout class="QVBoxLayout" > |
80 |
<size> |
<property name="margin" > |
81 |
<width>160</width> |
<number>0</number> |
82 |
<height>0</height> |
</property> |
83 |
</size> |
<property name="spacing" > |
84 |
</property> |
<number>6</number> |
85 |
<property name="rootIsDecorated"> |
</property> |
86 |
<bool>true</bool> |
<item> |
87 |
</property> |
<layout class="QHBoxLayout" > |
88 |
<property name="resizeMode"> |
<property name="margin" > |
89 |
<enum>LastColumn</enum> |
<number>0</number> |
90 |
</property> |
</property> |
91 |
<property name="toolTip" stdset="0"> |
<property name="spacing" > |
92 |
<string>Device list</string> |
<number>6</number> |
93 |
</property> |
</property> |
94 |
</widget> |
<item> |
95 |
<widget class="QLayoutWidget"> |
<widget class="QLabel" name="DeviceNameTextLabel" > |
96 |
<property name="name"> |
<property name="sizePolicy" > |
97 |
<cstring>layout5</cstring> |
<sizepolicy> |
98 |
</property> |
<hsizetype>7</hsizetype> |
99 |
<grid> |
<vsizetype>5</vsizetype> |
100 |
<property name="name"> |
<horstretch>0</horstretch> |
101 |
<cstring>unnamed</cstring> |
<verstretch>0</verstretch> |
102 |
</property> |
</sizepolicy> |
103 |
<widget class="QLabel" row="0" column="0"> |
</property> |
104 |
<property name="name"> |
<property name="font" > |
105 |
<cstring>DeviceNameTextLabel</cstring> |
<font> |
106 |
</property> |
<weight>75</weight> |
107 |
<property name="sizePolicy"> |
<bold>true</bold> |
108 |
<sizepolicy> |
</font> |
109 |
<hsizetype>7</hsizetype> |
</property> |
110 |
<vsizetype>5</vsizetype> |
<property name="toolTip" > |
111 |
<horstretch>0</horstretch> |
<string>Device name</string> |
112 |
<verstretch>0</verstretch> |
</property> |
113 |
</sizepolicy> |
<property name="wordWrap" > |
114 |
</property> |
<bool>false</bool> |
115 |
<property name="font"> |
</property> |
116 |
<font> |
<property name="indent" > |
117 |
<pointsize>10</pointsize> |
<number>4</number> |
118 |
<bold>1</bold> |
</property> |
119 |
</font> |
</widget> |
120 |
</property> |
</item> |
121 |
<property name="indent"> |
<item> |
122 |
<number>4</number> |
<widget class="QLabel" name="DriverNameTextLabel" > |
123 |
</property> |
<property name="text" > |
124 |
<property name="toolTip" stdset="0"> |
<string>Dri&ver:</string> |
125 |
<string>Device name</string> |
</property> |
126 |
</property> |
<property name="alignment" > |
127 |
</widget> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
128 |
<widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3"> |
</property> |
129 |
<property name="name"> |
<property name="wordWrap" > |
130 |
<cstring>DeviceParamTable</cstring> |
<bool>false</bool> |
131 |
</property> |
</property> |
132 |
<property name="sizePolicy"> |
<property name="buddy" > |
133 |
<sizepolicy> |
<cstring>DriverNameComboBox</cstring> |
134 |
<hsizetype>7</hsizetype> |
</property> |
135 |
<vsizetype>7</vsizetype> |
</widget> |
136 |
<horstretch>0</horstretch> |
</item> |
137 |
<verstretch>0</verstretch> |
<item> |
138 |
</sizepolicy> |
<widget class="QComboBox" name="DriverNameComboBox" > |
139 |
</property> |
<property name="toolTip" > |
140 |
<property name="minimumSize"> |
<string>Driver type name</string> |
141 |
<size> |
</property> |
142 |
<width>360</width> |
</widget> |
143 |
<height>260</height> |
</item> |
144 |
</size> |
</layout> |
145 |
</property> |
</item> |
146 |
<property name="focusPolicy"> |
<item> |
147 |
<enum>StrongFocus</enum> |
<widget class="QTableView" name="DeviceParamTable" /> |
148 |
</property> |
</item> |
149 |
<property name="toolTip" stdset="0"> |
<item> |
150 |
<string>Device parameters</string> |
<layout class="QHBoxLayout" > |
151 |
</property> |
<property name="margin" > |
152 |
</widget> |
<number>0</number> |
153 |
<widget class="QComboBox" row="0" column="2"> |
</property> |
154 |
<property name="name"> |
<property name="spacing" > |
155 |
<cstring>DriverNameComboBox</cstring> |
<number>6</number> |
156 |
</property> |
</property> |
157 |
<property name="toolTip" stdset="0"> |
<item> |
158 |
<string>Driver type name</string> |
<spacer> |
159 |
</property> |
<property name="orientation" > |
160 |
</widget> |
<enum>Qt::Horizontal</enum> |
161 |
<widget class="QLabel" row="0" column="1"> |
</property> |
162 |
<property name="name"> |
<property name="sizeHint" > |
163 |
<cstring>DriverNameTextLabel</cstring> |
<size> |
164 |
</property> |
<width>40</width> |
165 |
<property name="text"> |
<height>20</height> |
166 |
<string>Dri&ver:</string> |
</size> |
167 |
</property> |
</property> |
168 |
<property name="alignment"> |
</spacer> |
169 |
<set>AlignVCenter|AlignRight</set> |
</item> |
170 |
</property> |
<item> |
171 |
<property name="buddy" stdset="0"> |
<widget class="QLabel" name="DevicePortTextLabel" > |
172 |
<cstring>DriverNameComboBox</cstring> |
<property name="text" > |
173 |
</property> |
<string>Channel:</string> |
174 |
</widget> |
</property> |
175 |
</grid> |
<property name="alignment" > |
176 |
</widget> |
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
177 |
</widget> |
</property> |
178 |
<widget class="QLayoutWidget"> |
<property name="wordWrap" > |
179 |
<property name="name"> |
<bool>false</bool> |
180 |
<cstring>layout6</cstring> |
</property> |
181 |
</property> |
<property name="buddy" > |
182 |
<hbox> |
<cstring>DevicePortComboBox</cstring> |
183 |
<property name="name"> |
</property> |
184 |
<cstring>unnamed</cstring> |
</widget> |
185 |
</property> |
</item> |
186 |
<widget class="QPushButton"> |
<item> |
187 |
<property name="name"> |
<widget class="QComboBox" name="DevicePortComboBox" > |
188 |
<cstring>RefreshDevicesPushButton</cstring> |
<property name="sizePolicy" > |
189 |
</property> |
<sizepolicy> |
190 |
<property name="text"> |
<hsizetype>7</hsizetype> |
191 |
<string>&Refresh</string> |
<vsizetype>0</vsizetype> |
192 |
</property> |
<horstretch>0</horstretch> |
193 |
<property name="accel"> |
<verstretch>0</verstretch> |
194 |
<string>Alt+R</string> |
</sizepolicy> |
195 |
</property> |
</property> |
196 |
<property name="toolTip" stdset="0"> |
<property name="toolTip" > |
197 |
<string>refresh device list view</string> |
<string>Device port/channel</string> |
198 |
</property> |
</property> |
199 |
</widget> |
</widget> |
200 |
<spacer> |
</item> |
201 |
<property name="name"> |
</layout> |
202 |
<cstring>spacer1</cstring> |
</item> |
203 |
</property> |
<item> |
204 |
<property name="orientation"> |
<widget class="QTableView" name="DevicePortParamTable" /> |
205 |
<enum>Horizontal</enum> |
</item> |
206 |
</property> |
</layout> |
207 |
<property name="sizeType"> |
</item> |
208 |
<enum>Expanding</enum> |
</layout> |
209 |
</property> |
</item> |
210 |
<property name="sizeHint"> |
<item> |
211 |
<size> |
<layout class="QHBoxLayout" > |
212 |
<width>180</width> |
<property name="margin" > |
213 |
<height>20</height> |
<number>0</number> |
214 |
</size> |
</property> |
215 |
</property> |
<property name="spacing" > |
216 |
</spacer> |
<number>4</number> |
217 |
<widget class="QPushButton"> |
</property> |
218 |
<property name="name"> |
<item> |
219 |
<cstring>CreateDevicePushButton</cstring> |
<widget class="QPushButton" name="RefreshDevicesPushButton" > |
220 |
</property> |
<property name="toolTip" > |
221 |
<property name="text"> |
<string>Refresh device list view</string> |
222 |
<string>&Create</string> |
</property> |
223 |
</property> |
<property name="text" > |
224 |
<property name="accel"> |
<string>&Refresh</string> |
225 |
<string>Alt+C</string> |
</property> |
226 |
</property> |
<property name="icon" > |
227 |
<property name="toolTip" stdset="0"> |
<iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset> |
228 |
<string>Create current device</string> |
</property> |
229 |
</property> |
<property name="shortcut" > |
230 |
</widget> |
<string>Alt+R</string> |
231 |
<widget class="QPushButton"> |
</property> |
232 |
<property name="name"> |
</widget> |
233 |
<cstring>DeleteDevicePushButton</cstring> |
</item> |
234 |
</property> |
<item> |
235 |
<property name="text"> |
<spacer> |
236 |
<string>&Delete</string> |
<property name="orientation" > |
237 |
</property> |
<enum>Qt::Horizontal</enum> |
238 |
<property name="accel"> |
</property> |
239 |
<string>Alt+D</string> |
<property name="sizeType" > |
240 |
</property> |
<enum>QSizePolicy::Expanding</enum> |
241 |
<property name="toolTip" stdset="0"> |
</property> |
242 |
<string>Delete current device</string> |
<property name="sizeHint" > |
243 |
</property> |
<size> |
244 |
</widget> |
<width>180</width> |
245 |
<widget class="QPushButton"> |
<height>20</height> |
246 |
<property name="name"> |
</size> |
247 |
<cstring>ClosePushButton</cstring> |
</property> |
248 |
</property> |
</spacer> |
249 |
<property name="text"> |
</item> |
250 |
<string>Close</string> |
<item> |
251 |
</property> |
<widget class="QPushButton" name="CreateDevicePushButton" > |
252 |
<property name="accel"> |
<property name="toolTip" > |
253 |
<string></string> |
<string>Create device</string> |
254 |
</property> |
</property> |
255 |
<property name="toolTip" stdset="0"> |
<property name="text" > |
256 |
<string>Close this dialog</string> |
<string>&Create</string> |
257 |
</property> |
</property> |
258 |
</widget> |
<property name="icon" > |
259 |
</hbox> |
<iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset> |
260 |
</widget> |
</property> |
261 |
</vbox> |
<property name="shortcut" > |
262 |
</widget> |
<string>Alt+C</string> |
263 |
<customwidgets> |
</property> |
264 |
<customwidget> |
</widget> |
265 |
<class>qsamplerDeviceParamTable</class> |
</item> |
266 |
<header location="global">qsamplerDevice.h</header> |
<item> |
267 |
<sizehint> |
<widget class="QPushButton" name="DeleteDevicePushButton" > |
268 |
<width>-1</width> |
<property name="toolTip" > |
269 |
<height>-1</height> |
<string>Delete device</string> |
270 |
</sizehint> |
</property> |
271 |
<container>0</container> |
<property name="text" > |
272 |
<sizepolicy> |
<string>&Delete</string> |
273 |
<hordata>7</hordata> |
</property> |
274 |
<verdata>7</verdata> |
<property name="icon" > |
275 |
<horstretch>0</horstretch> |
<iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset> |
276 |
<verstretch>0</verstretch> |
</property> |
277 |
</sizepolicy> |
<property name="shortcut" > |
278 |
<pixmap>image0</pixmap> |
<string>Alt+D</string> |
279 |
</customwidget> |
</property> |
280 |
</customwidgets> |
</widget> |
281 |
<images> |
</item> |
282 |
<image name="image0"> |
<item> |
283 |
<data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data> |
<widget class="QPushButton" name="ClosePushButton" > |
284 |
</image> |
<property name="toolTip" > |
285 |
</images> |
<string>Close this dialog</string> |
286 |
<connections> |
</property> |
287 |
<connection> |
<property name="text" > |
288 |
<sender>DeviceListView</sender> |
<string>Close</string> |
289 |
<signal>selectionChanged()</signal> |
</property> |
290 |
<receiver>qsamplerDeviceForm</receiver> |
<property name="icon" > |
291 |
<slot>selectDevice()</slot> |
<iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset> |
292 |
</connection> |
</property> |
293 |
<connection> |
<property name="shortcut" > |
294 |
<sender>RefreshDevicesPushButton</sender> |
<string/> |
295 |
<signal>clicked()</signal> |
</property> |
296 |
<receiver>qsamplerDeviceForm</receiver> |
</widget> |
297 |
<slot>refreshDevices()</slot> |
</item> |
298 |
</connection> |
</layout> |
299 |
<connection> |
</item> |
300 |
<sender>DriverNameComboBox</sender> |
</layout> |
301 |
<signal>activated(const QString&)</signal> |
</widget> |
302 |
<receiver>qsamplerDeviceForm</receiver> |
<layoutdefault spacing="4" margin="4" /> |
303 |
<slot>selectDriver(const QString&)</slot> |
<tabstops> |
304 |
</connection> |
<tabstop>DeviceListView</tabstop> |
305 |
<connection> |
<tabstop>RefreshDevicesPushButton</tabstop> |
306 |
<sender>CreateDevicePushButton</sender> |
<tabstop>DriverNameComboBox</tabstop> |
307 |
<signal>clicked()</signal> |
<tabstop>DevicePortComboBox</tabstop> |
308 |
<receiver>qsamplerDeviceForm</receiver> |
<tabstop>CreateDevicePushButton</tabstop> |
309 |
<slot>createDevice()</slot> |
<tabstop>DeleteDevicePushButton</tabstop> |
310 |
</connection> |
<tabstop>ClosePushButton</tabstop> |
311 |
<connection> |
</tabstops> |
312 |
<sender>DeleteDevicePushButton</sender> |
<resources> |
313 |
<signal>clicked()</signal> |
<include location="../icons/qsampler.qrc" /> |
314 |
<receiver>qsamplerDeviceForm</receiver> |
</resources> |
315 |
<slot>deleteDevice()</slot> |
</ui> |
|
</connection> |
|
|
<connection> |
|
|
<sender>ClosePushButton</sender> |
|
|
<signal>clicked()</signal> |
|
|
<receiver>qsamplerDeviceForm</receiver> |
|
|
<slot>close()</slot> |
|
|
</connection> |
|
|
</connections> |
|
|
<tabstops> |
|
|
<tabstop>DeviceListView</tabstop> |
|
|
<tabstop>RefreshDevicesPushButton</tabstop> |
|
|
<tabstop>DriverNameComboBox</tabstop> |
|
|
<tabstop>DeviceParamTable</tabstop> |
|
|
<tabstop>CreateDevicePushButton</tabstop> |
|
|
<tabstop>DeleteDevicePushButton</tabstop> |
|
|
<tabstop>ClosePushButton</tabstop> |
|
|
</tabstops> |
|
|
<includes> |
|
|
<include location="local" impldecl="in declaration">qsamplerDevice.h</include> |
|
|
<include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include> |
|
|
</includes> |
|
|
<forwards> |
|
|
<forward>class qsamplerMainForm;</forward> |
|
|
</forwards> |
|
|
<variables> |
|
|
<variable access="private">qsamplerMainForm *m_pMainForm;</variable> |
|
|
<variable access="private">int m_iDirtySetup;</variable> |
|
|
<variable access="private">lscp_client_t *m_pClient;</variable> |
|
|
<variable access="private">bool m_bNewDevice;</variable> |
|
|
<variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable> |
|
|
<variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable> |
|
|
<variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable> |
|
|
</variables> |
|
|
<slots> |
|
|
<slot specifier="non virtual">createDevice()</slot> |
|
|
<slot specifier="non virtual">deleteDevice()</slot> |
|
|
<slot specifier="non virtual">refreshDevices()</slot> |
|
|
<slot specifier="non virtual">selectDriver( const QString & sDriverName )</slot> |
|
|
<slot specifier="non virtual">selectDevice()</slot> |
|
|
<slot specifier="non virtual">changeValue( int iRow, int iCol )</slot> |
|
|
<slot specifier="non virtual">stabilizeForm()</slot> |
|
|
</slots> |
|
|
<functions> |
|
|
<function access="private" specifier="non virtual">init()</function> |
|
|
<function access="private" specifier="non virtual">destroy()</function> |
|
|
<function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function> |
|
|
<function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function> |
|
|
<function specifier="non virtual">setClient( lscp_client_t *pClient )</function> |
|
|
</functions> |
|
|
<pixmapinproject/> |
|
|
<layoutdefaults spacing="4" margin="4"/> |
|
|
<includehints> |
|
|
<includehint>qsamplerdeviceparamtable.h</includehint> |
|
|
</includehints> |
|
|
</UI> |
|