/[svn]/qsampler/trunk/src/qsamplerDeviceForm.ui
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerDeviceForm.ui

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 434 by capela, Wed Mar 9 17:23:57 2005 UTC revision 1463 by capela, Thu Nov 1 13:01:27 2007 UTC
# Line 1  Line 1 
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    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 14  Line 14 
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     GNU General Public License for more details.     GNU General Public License for more details.
16    
17     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
18     along with this program; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
19     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20    
21  </comment>  </comment>
22  <author>rncbc aka Rui Nuno Capela</author>   <class>qsamplerDeviceForm</class>
23  <widget class="QDialog">   <widget class="QDialog" name="qsamplerDeviceForm" >
24      <property name="name">    <property name="geometry" >
25          <cstring>qsamplerDeviceForm</cstring>     <rect>
26      </property>      <x>0</x>
27      <property name="geometry">      <y>0</y>
28          <rect>      <width>601</width>
29              <x>0</x>      <height>378</height>
30              <y>0</y>     </rect>
31              <width>542</width>    </property>
32              <height>331</height>    <property name="sizePolicy" >
33          </rect>     <sizepolicy>
34      </property>      <hsizetype>7</hsizetype>
35      <property name="sizePolicy">      <vsizetype>1</vsizetype>
36          <sizepolicy>      <horstretch>0</horstretch>
37              <hsizetype>7</hsizetype>      <verstretch>0</verstretch>
38              <vsizetype>1</vsizetype>     </sizepolicy>
39              <horstretch>0</horstretch>    </property>
40              <verstretch>0</verstretch>    <property name="focusPolicy" >
41          </sizepolicy>     <enum>Qt::StrongFocus</enum>
42      </property>    </property>
43      <property name="caption">    <property name="windowTitle" >
44          <string>Devices</string>     <string>Qsampler: Devices</string>
45      </property>    </property>
46      <property name="icon">    <property name="windowIcon" >
47          <pixmap>qsamplerChannel.png</pixmap>     <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset>
48      </property>    </property>
49      <property name="focusPolicy">    <layout class="QVBoxLayout" >
50          <enum>StrongFocus</enum>     <property name="margin" >
51      </property>      <number>9</number>
52      <vbox>     </property>
53          <property name="name">     <property name="spacing" >
54              <cstring>unnamed</cstring>      <number>6</number>
55          </property>     </property>
56          <widget class="QSplitter">     <item>
57              <property name="name">      <layout class="QHBoxLayout" >
58                  <cstring>splitter3</cstring>       <property name="margin" >
59              </property>        <number>0</number>
60              <property name="orientation">       </property>
61                  <enum>Horizontal</enum>       <property name="spacing" >
62              </property>        <number>6</number>
63              <widget class="QListView">       </property>
64                  <column>       <item>
65                      <property name="text">        <widget class="QTreeWidget" name="DeviceListView" >
66                          <string>Devices</string>         <property name="minimumSize" >
67                      </property>          <size>
68                      <property name="clickable">           <width>160</width>
69                          <bool>true</bool>           <height>0</height>
70                      </property>          </size>
71                      <property name="resizable">         </property>
72                          <bool>true</bool>         <property name="toolTip" >
73                      </property>          <string>Device list</string>
74                  </column>         </property>
75                  <property name="name">        </widget>
76                      <cstring>DeviceListView</cstring>       </item>
77                  </property>       <item>
78                  <property name="minimumSize">        <layout class="QVBoxLayout" >
79                      <size>         <property name="margin" >
80                          <width>160</width>          <number>0</number>
81                          <height>0</height>         </property>
82                      </size>         <property name="spacing" >
83                  </property>          <number>6</number>
84                  <property name="rootIsDecorated">         </property>
85                      <bool>true</bool>         <item>
86                  </property>          <layout class="QHBoxLayout" >
87                  <property name="resizeMode">           <property name="margin" >
88                      <enum>LastColumn</enum>            <number>0</number>
89                  </property>           </property>
90                  <property name="toolTip" stdset="0">           <property name="spacing" >
91                      <string>Device list</string>            <number>6</number>
92                  </property>           </property>
93              </widget>           <item>
94              <widget class="QLayoutWidget">            <widget class="QLabel" name="DeviceNameTextLabel" >
95                  <property name="name">             <property name="sizePolicy" >
96                      <cstring>layout5</cstring>              <sizepolicy>
97                  </property>               <hsizetype>7</hsizetype>
98                  <grid>               <vsizetype>5</vsizetype>
99                      <property name="name">               <horstretch>0</horstretch>
100                          <cstring>unnamed</cstring>               <verstretch>0</verstretch>
101                      </property>              </sizepolicy>
102                      <widget class="QLabel" row="0" column="0">             </property>
103                          <property name="name">             <property name="font" >
104                              <cstring>DeviceNameTextLabel</cstring>              <font>
105                          </property>               <weight>75</weight>
106                          <property name="sizePolicy">               <bold>true</bold>
107                              <sizepolicy>              </font>
108                                  <hsizetype>7</hsizetype>             </property>
109                                  <vsizetype>5</vsizetype>             <property name="toolTip" >
110                                  <horstretch>0</horstretch>              <string>Device name</string>
111                                  <verstretch>0</verstretch>             </property>
112                              </sizepolicy>             <property name="wordWrap" >
113                          </property>              <bool>false</bool>
114                          <property name="font">             </property>
115                              <font>             <property name="indent" >
116                                  <pointsize>10</pointsize>              <number>4</number>
117                                  <bold>1</bold>             </property>
118                              </font>            </widget>
119                          </property>           </item>
120                          <property name="indent">           <item>
121                              <number>4</number>            <widget class="QLabel" name="DriverNameTextLabel" >
122                          </property>             <property name="text" >
123                          <property name="toolTip" stdset="0">              <string>Dri&amp;ver:</string>
124                              <string>Device name</string>             </property>
125                          </property>             <property name="alignment" >
126                      </widget>              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
127                      <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">             </property>
128                          <property name="name">             <property name="wordWrap" >
129                              <cstring>DeviceParamTable</cstring>              <bool>false</bool>
130                          </property>             </property>
131                          <property name="sizePolicy">             <property name="buddy" >
132                              <sizepolicy>              <cstring>DriverNameComboBox</cstring>
133                                  <hsizetype>7</hsizetype>             </property>
134                                  <vsizetype>7</vsizetype>            </widget>
135                                  <horstretch>0</horstretch>           </item>
136                                  <verstretch>0</verstretch>           <item>
137                              </sizepolicy>            <widget class="QComboBox" name="DriverNameComboBox" >
138                          </property>             <property name="toolTip" >
139                          <property name="minimumSize">              <string>Driver type name</string>
140                              <size>             </property>
141                                  <width>320</width>            </widget>
142                                  <height>260</height>           </item>
143                              </size>          </layout>
144                          </property>         </item>
145                          <property name="focusPolicy">         <item>
146                              <enum>StrongFocus</enum>          <widget class="QTableView" name="DeviceParamTable" />
147                          </property>         </item>
148                          <property name="toolTip" stdset="0">         <item>
149                              <string>Device parameters</string>          <layout class="QHBoxLayout" >
150                          </property>           <property name="margin" >
151                      </widget>            <number>0</number>
152                      <widget class="QComboBox" row="0" column="2">           </property>
153                          <property name="name">           <property name="spacing" >
154                              <cstring>DriverNameComboBox</cstring>            <number>6</number>
155                          </property>           </property>
156                          <property name="toolTip" stdset="0">           <item>
157                              <string>Driver type name</string>            <spacer>
158                          </property>             <property name="orientation" >
159                      </widget>              <enum>Qt::Horizontal</enum>
160                      <widget class="QLabel" row="0" column="1">             </property>
161                          <property name="name">             <property name="sizeHint" >
162                              <cstring>DriverNameTextLabel</cstring>              <size>
163                          </property>               <width>40</width>
164                          <property name="text">               <height>20</height>
165                              <string>Dri&amp;ver:</string>              </size>
166                          </property>             </property>
167                          <property name="alignment">            </spacer>
168                              <set>AlignVCenter|AlignRight</set>           </item>
169                          </property>           <item>
170                          <property name="buddy" stdset="0">            <widget class="QLabel" name="DevicePortTextLabel" >
171                              <cstring>DriverNameComboBox</cstring>             <property name="text" >
172                          </property>              <string>Channel:</string>
173                      </widget>             </property>
174                  </grid>             <property name="alignment" >
175              </widget>              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
176          </widget>             </property>
177          <widget class="QLayoutWidget">             <property name="wordWrap" >
178              <property name="name">              <bool>false</bool>
179                  <cstring>layout6</cstring>             </property>
180              </property>             <property name="buddy" >
181              <hbox>              <cstring>DevicePortComboBox</cstring>
182                  <property name="name">             </property>
183                      <cstring>unnamed</cstring>            </widget>
184                  </property>           </item>
185                  <widget class="QPushButton">           <item>
186                      <property name="name">            <widget class="QComboBox" name="DevicePortComboBox" >
187                          <cstring>RefreshDevicesPushButton</cstring>             <property name="sizePolicy" >
188                      </property>              <sizepolicy>
189                      <property name="text">               <hsizetype>7</hsizetype>
190                          <string>&amp;Refresh</string>               <vsizetype>0</vsizetype>
191                      </property>               <horstretch>0</horstretch>
192                      <property name="accel">               <verstretch>0</verstretch>
193                          <string>Alt+R</string>              </sizepolicy>
194                      </property>             </property>
195                      <property name="toolTip" stdset="0">             <property name="toolTip" >
196                          <string>refresh device list view</string>              <string>Device port/channel</string>
197                      </property>             </property>
198                  </widget>            </widget>
199                  <spacer>           </item>
200                      <property name="name">          </layout>
201                          <cstring>spacer1</cstring>         </item>
202                      </property>         <item>
203                      <property name="orientation">          <widget class="QTableView" name="DevicePortParamTable" />
204                          <enum>Horizontal</enum>         </item>
205                      </property>        </layout>
206                      <property name="sizeType">       </item>
207                          <enum>Expanding</enum>      </layout>
208                      </property>     </item>
209                      <property name="sizeHint">     <item>
210                          <size>      <layout class="QHBoxLayout" >
211                              <width>180</width>       <property name="margin" >
212                              <height>20</height>        <number>0</number>
213                          </size>       </property>
214                      </property>       <property name="spacing" >
215                  </spacer>        <number>4</number>
216                  <widget class="QPushButton">       </property>
217                      <property name="name">       <item>
218                          <cstring>CreateDevicePushButton</cstring>        <widget class="QPushButton" name="RefreshDevicesPushButton" >
219                      </property>         <property name="toolTip" >
220                      <property name="text">          <string>Refresh device list view</string>
221                          <string>&amp;Create</string>         </property>
222                      </property>         <property name="text" >
223                      <property name="accel">          <string>&amp;Refresh</string>
224                          <string>Alt+C</string>         </property>
225                      </property>         <property name="icon" >
226                      <property name="toolTip" stdset="0">          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
227                          <string>Create current device</string>         </property>
228                      </property>         <property name="shortcut" >
229                  </widget>          <string>Alt+R</string>
230                  <widget class="QPushButton">         </property>
231                      <property name="name">        </widget>
232                          <cstring>DeleteDevicePushButton</cstring>       </item>
233                      </property>       <item>
234                      <property name="text">        <spacer>
235                          <string>&amp;Delete</string>         <property name="orientation" >
236                      </property>          <enum>Qt::Horizontal</enum>
237                      <property name="accel">         </property>
238                          <string>Alt+D</string>         <property name="sizeType" >
239                      </property>          <enum>QSizePolicy::Expanding</enum>
240                      <property name="toolTip" stdset="0">         </property>
241                          <string>Delete current device</string>         <property name="sizeHint" >
242                      </property>          <size>
243                  </widget>           <width>180</width>
244                  <widget class="QPushButton">           <height>20</height>
245                      <property name="name">          </size>
246                          <cstring>ClosePushButton</cstring>         </property>
247                      </property>        </spacer>
248                      <property name="text">       </item>
249                          <string>Close</string>       <item>
250                      </property>        <widget class="QPushButton" name="CreateDevicePushButton" >
251                      <property name="accel">         <property name="toolTip" >
252                          <string></string>          <string>Create device</string>
253                      </property>         </property>
254                      <property name="toolTip" stdset="0">         <property name="text" >
255                          <string>Close this dialog</string>          <string>&amp;Create</string>
256                      </property>         </property>
257                  </widget>         <property name="icon" >
258              </hbox>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
259          </widget>         </property>
260      </vbox>         <property name="shortcut" >
261  </widget>          <string>Alt+C</string>
262  <customwidgets>         </property>
263      <customwidget>        </widget>
264          <class>qsamplerDeviceParamTable</class>       </item>
265          <header location="global">qsamplerDevice.h</header>       <item>
266          <sizehint>        <widget class="QPushButton" name="DeleteDevicePushButton" >
267              <width>-1</width>         <property name="toolTip" >
268              <height>-1</height>          <string>Delete device</string>
269          </sizehint>         </property>
270          <container>0</container>         <property name="text" >
271          <sizepolicy>          <string>&amp;Delete</string>
272              <hordata>7</hordata>         </property>
273              <verdata>7</verdata>         <property name="icon" >
274              <horstretch>0</horstretch>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
275              <verstretch>0</verstretch>         </property>
276          </sizepolicy>         <property name="shortcut" >
277          <pixmap>image0</pixmap>          <string>Alt+D</string>
278      </customwidget>         </property>
279  </customwidgets>        </widget>
280  <images>       </item>
281      <image name="image0">       <item>
282          <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>        <widget class="QPushButton" name="ClosePushButton" >
283      </image>         <property name="toolTip" >
284  </images>          <string>Close this dialog</string>
285  <connections>         </property>
286      <connection>         <property name="text" >
287          <sender>DeviceListView</sender>          <string>Close</string>
288          <signal>selectionChanged()</signal>         </property>
289          <receiver>qsamplerDeviceForm</receiver>         <property name="icon" >
290          <slot>selectDevice()</slot>          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
291      </connection>         </property>
292      <connection>         <property name="shortcut" >
293          <sender>RefreshDevicesPushButton</sender>          <string/>
294          <signal>clicked()</signal>         </property>
295          <receiver>qsamplerDeviceForm</receiver>        </widget>
296          <slot>refreshDevices()</slot>       </item>
297      </connection>      </layout>
298      <connection>     </item>
299          <sender>DriverNameComboBox</sender>    </layout>
300          <signal>activated(const QString&amp;)</signal>   </widget>
301          <receiver>qsamplerDeviceForm</receiver>   <layoutdefault spacing="4" margin="4" />
302          <slot>selectDriver(const QString&amp;)</slot>   <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
303      </connection>   <tabstops>
304      <connection>    <tabstop>DeviceListView</tabstop>
305          <sender>CreateDevicePushButton</sender>    <tabstop>RefreshDevicesPushButton</tabstop>
306          <signal>clicked()</signal>    <tabstop>DriverNameComboBox</tabstop>
307          <receiver>qsamplerDeviceForm</receiver>    <tabstop>DevicePortComboBox</tabstop>
308          <slot>createDevice()</slot>    <tabstop>CreateDevicePushButton</tabstop>
309      </connection>    <tabstop>DeleteDevicePushButton</tabstop>
310      <connection>    <tabstop>ClosePushButton</tabstop>
311          <sender>DeleteDevicePushButton</sender>   </tabstops>
312          <signal>clicked()</signal>   <includes>
313          <receiver>qsamplerDeviceForm</receiver>    <include location="local" >qsamplerDevice.h</include>
314          <slot>deleteDevice()</slot>   </includes>
315      </connection>   <resources>
316      <connection>    <include location="../icons/qsampler.qrc" />
317          <sender>ClosePushButton</sender>   </resources>
318          <signal>clicked()</signal>   <connections>
319          <receiver>qsamplerDeviceForm</receiver>    <connection>
320          <slot>close()</slot>     <sender>DeviceListView</sender>
321      </connection>     <signal>selectionChanged()</signal>
322  </connections>     <receiver>qsamplerDeviceForm</receiver>
323  <tabstops>     <slot>selectDevice()</slot>
324      <tabstop>DeviceListView</tabstop>     <hints>
325      <tabstop>RefreshDevicesPushButton</tabstop>      <hint type="sourcelabel" >
326      <tabstop>DriverNameComboBox</tabstop>       <x>20</x>
327      <tabstop>DeviceParamTable</tabstop>       <y>20</y>
328      <tabstop>CreateDevicePushButton</tabstop>      </hint>
329      <tabstop>DeleteDevicePushButton</tabstop>      <hint type="destinationlabel" >
330      <tabstop>ClosePushButton</tabstop>       <x>20</x>
331  </tabstops>       <y>20</y>
332  <includes>      </hint>
333      <include location="local" impldecl="in declaration">qsamplerDevice.h</include>     </hints>
334      <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>    </connection>
335  </includes>    <connection>
336  <forwards>     <sender>RefreshDevicesPushButton</sender>
337      <forward>class qsamplerMainForm;</forward>     <signal>clicked()</signal>
338  </forwards>     <receiver>qsamplerDeviceForm</receiver>
339  <variables>     <slot>refreshDevices()</slot>
340      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>     <hints>
341      <variable access="private">int m_iDirtySetup;</variable>      <hint type="sourcelabel" >
342      <variable access="private">int m_iDirtyCount;</variable>       <x>20</x>
343      <variable access="private">lscp_client_t *m_pClient;</variable>       <y>20</y>
344      <variable access="private">bool m_bNewDevice;</variable>      </hint>
345  </variables>      <hint type="destinationlabel" >
346  <slots>       <x>20</x>
347      <slot specifier="non virtual">createDevice()</slot>       <y>20</y>
348      <slot specifier="non virtual">deleteDevice()</slot>      </hint>
349      <slot specifier="non virtual">refreshDevices()</slot>     </hints>
350      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>    </connection>
351      <slot specifier="non virtual">selectDevice()</slot>    <connection>
352      <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>     <sender>DriverNameComboBox</sender>
353      <slot specifier="non virtual">stabilizeForm()</slot>     <signal>activated(QString)</signal>
354  </slots>     <receiver>qsamplerDeviceForm</receiver>
355  <functions>     <slot>selectDriver(QString)</slot>
356      <function access="private" specifier="non virtual">init()</function>     <hints>
357      <function access="private" specifier="non virtual">destroy()</function>      <hint type="sourcelabel" >
358      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>       <x>20</x>
359      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>       <y>20</y>
360      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>      </hint>
361  </functions>      <hint type="destinationlabel" >
362  <pixmapinproject/>       <x>20</x>
363  <layoutdefaults spacing="4" margin="4"/>       <y>20</y>
364  <includehints>      </hint>
365      <includehint>qsamplerdeviceparamtable.h</includehint>     </hints>
366  </includehints>    </connection>
367  </UI>    <connection>
368       <sender>DevicePortComboBox</sender>
369       <signal>activated(int)</signal>
370       <receiver>qsamplerDeviceForm</receiver>
371       <slot>selectDevicePort(int)</slot>
372       <hints>
373        <hint type="sourcelabel" >
374         <x>20</x>
375         <y>20</y>
376        </hint>
377        <hint type="destinationlabel" >
378         <x>20</x>
379         <y>20</y>
380        </hint>
381       </hints>
382      </connection>
383      <connection>
384       <sender>CreateDevicePushButton</sender>
385       <signal>clicked()</signal>
386       <receiver>qsamplerDeviceForm</receiver>
387       <slot>createDevice()</slot>
388       <hints>
389        <hint type="sourcelabel" >
390         <x>20</x>
391         <y>20</y>
392        </hint>
393        <hint type="destinationlabel" >
394         <x>20</x>
395         <y>20</y>
396        </hint>
397       </hints>
398      </connection>
399      <connection>
400       <sender>DeleteDevicePushButton</sender>
401       <signal>clicked()</signal>
402       <receiver>qsamplerDeviceForm</receiver>
403       <slot>deleteDevice()</slot>
404       <hints>
405        <hint type="sourcelabel" >
406         <x>20</x>
407         <y>20</y>
408        </hint>
409        <hint type="destinationlabel" >
410         <x>20</x>
411         <y>20</y>
412        </hint>
413       </hints>
414      </connection>
415      <connection>
416       <sender>ClosePushButton</sender>
417       <signal>clicked()</signal>
418       <receiver>qsamplerDeviceForm</receiver>
419       <slot>close()</slot>
420       <hints>
421        <hint type="sourcelabel" >
422         <x>20</x>
423         <y>20</y>
424        </hint>
425        <hint type="destinationlabel" >
426         <x>20</x>
427         <y>20</y>
428        </hint>
429       </hints>
430      </connection>
431     </connections>
432    </ui>

Legend:
Removed from v.434  
changed lines
  Added in v.1463

  ViewVC Help
Powered by ViewVC