/[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 452 by capela, Sun Mar 13 22:06:59 2005 UTC revision 1518 by schoenebeck, Fri Nov 23 21:50:01 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       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
# Line 14  Line 15 
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>544</width>    </property>
33              <height>343</height>    <property name="sizePolicy" >
34          </rect>     <sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
35      </property>      <horstretch>0</horstretch>
36      <property name="sizePolicy">      <verstretch>0</verstretch>
37          <sizepolicy>     </sizepolicy>
38              <hsizetype>7</hsizetype>    </property>
39              <vsizetype>1</vsizetype>    <property name="focusPolicy" >
40              <horstretch>0</horstretch>     <enum>Qt::StrongFocus</enum>
41              <verstretch>0</verstretch>    </property>
42          </sizepolicy>    <property name="windowTitle" >
43      </property>     <string>Qsampler: Devices</string>
44      <property name="caption">    </property>
45      <property name="windowIcon" >
46       <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset>
47      </property>
48      <layout class="QVBoxLayout" >
49       <property name="spacing" >
50        <number>6</number>
51       </property>
52       <property name="leftMargin" >
53        <number>9</number>
54       </property>
55       <property name="topMargin" >
56        <number>9</number>
57       </property>
58       <property name="rightMargin" >
59        <number>9</number>
60       </property>
61       <property name="bottomMargin" >
62        <number>9</number>
63       </property>
64       <item>
65        <widget class="QSplitter" name="splitter" >
66         <property name="sizePolicy" >
67          <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
68           <horstretch>0</horstretch>
69           <verstretch>0</verstretch>
70          </sizepolicy>
71         </property>
72         <property name="orientation" >
73          <enum>Qt::Horizontal</enum>
74         </property>
75         <property name="handleWidth" >
76          <number>4</number>
77         </property>
78         <widget class="QTreeWidget" name="DeviceListView" >
79          <property name="minimumSize" >
80           <size>
81            <width>120</width>
82            <height>0</height>
83           </size>
84          </property>
85          <property name="toolTip" >
86           <string>Device list</string>
87          </property>
88          <property name="rootIsDecorated" >
89           <bool>false</bool>
90          </property>
91          <property name="uniformRowHeights" >
92           <bool>true</bool>
93          </property>
94          <column>
95           <property name="text" >
96          <string>Devices</string>          <string>Devices</string>
97      </property>         </property>
98      <property name="icon">        </column>
99          <pixmap>qsamplerDevice.png</pixmap>       </widget>
100      </property>       <widget class="QSplitter" name="splitter" >
101      <property name="focusPolicy">        <property name="sizePolicy" >
102          <enum>StrongFocus</enum>         <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
103      </property>          <horstretch>0</horstretch>
104      <vbox>          <verstretch>0</verstretch>
105          <property name="name">         </sizepolicy>
106              <cstring>unnamed</cstring>        </property>
107          <property name="orientation" >
108           <enum>Qt::Vertical</enum>
109          </property>
110          <property name="handleWidth" >
111           <number>4</number>
112          </property>
113          <widget class="QWidget" name="DeviceParamLayout" >
114           <layout class="QVBoxLayout" >
115            <property name="spacing" >
116             <number>6</number>
117          </property>          </property>
118          <widget class="QSplitter">          <property name="leftMargin" >
119              <property name="name">           <number>0</number>
120                  <cstring>splitter3</cstring>          </property>
121              </property>          <property name="topMargin" >
122              <property name="orientation">           <number>0</number>
123                  <enum>Horizontal</enum>          </property>
124              </property>          <property name="rightMargin" >
125              <widget class="QListView">           <number>0</number>
126                  <column>          </property>
127                      <property name="text">          <property name="bottomMargin" >
128                          <string>Devices</string>           <number>0</number>
129                      </property>          </property>
130                      <property name="clickable">          <item>
131                          <bool>true</bool>           <layout class="QHBoxLayout" >
132                      </property>            <property name="spacing" >
133                      <property name="resizable">             <number>6</number>
134                          <bool>true</bool>            </property>
135                      </property>            <property name="leftMargin" >
136                  </column>             <number>0</number>
137                  <property name="name">            </property>
138                      <cstring>DeviceListView</cstring>            <property name="topMargin" >
139                  </property>             <number>0</number>
140                  <property name="minimumSize">            </property>
141                      <size>            <property name="rightMargin" >
142                          <width>160</width>             <number>0</number>
143                          <height>0</height>            </property>
144                      </size>            <property name="bottomMargin" >
145                  </property>             <number>0</number>
146                  <property name="rootIsDecorated">            </property>
147                      <bool>true</bool>            <item>
148                  </property>             <widget class="QLabel" name="DeviceNameTextLabel" >
149                  <property name="resizeMode">              <property name="sizePolicy" >
150                      <enum>LastColumn</enum>               <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
151                  </property>                <horstretch>0</horstretch>
152                  <property name="toolTip" stdset="0">                <verstretch>0</verstretch>
153                      <string>Device list</string>               </sizepolicy>
154                  </property>              </property>
155              </widget>              <property name="font" >
156              <widget class="QLayoutWidget">               <font>
157                  <property name="name">                <weight>75</weight>
158                      <cstring>layout5</cstring>                <bold>true</bold>
159                  </property>               </font>
160                  <grid>              </property>
161                      <property name="name">              <property name="toolTip" >
162                          <cstring>unnamed</cstring>               <string>Device name</string>
163                      </property>              </property>
164                      <widget class="QLabel" row="0" column="0">              <property name="wordWrap" >
165                          <property name="name">               <bool>false</bool>
166                              <cstring>DeviceNameTextLabel</cstring>              </property>
167                          </property>              <property name="indent" >
168                          <property name="sizePolicy">               <number>4</number>
169                              <sizepolicy>              </property>
170                                  <hsizetype>7</hsizetype>             </widget>
171                                  <vsizetype>5</vsizetype>            </item>
172                                  <horstretch>0</horstretch>            <item>
173                                  <verstretch>0</verstretch>             <widget class="QLabel" name="DriverNameTextLabel" >
174                              </sizepolicy>              <property name="text" >
175                          </property>               <string>Dri&amp;ver:</string>
176                          <property name="font">              </property>
177                              <font>              <property name="alignment" >
178                                  <bold>1</bold>               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
179                              </font>              </property>
180                          </property>              <property name="wordWrap" >
181                          <property name="indent">               <bool>false</bool>
182                              <number>4</number>              </property>
183                          </property>              <property name="buddy" >
184                          <property name="toolTip" stdset="0">               <cstring>DriverNameComboBox</cstring>
185                              <string>Device name</string>              </property>
186                          </property>             </widget>
187                      </widget>            </item>
188                      <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">            <item>
189                          <property name="name">             <widget class="QComboBox" name="DriverNameComboBox" >
190                              <cstring>DeviceParamTable</cstring>              <property name="toolTip" >
191                          </property>               <string>Driver type name</string>
192                          <property name="sizePolicy">              </property>
193                              <sizepolicy>             </widget>
194                                  <hsizetype>7</hsizetype>            </item>
195                                  <vsizetype>7</vsizetype>           </layout>
196                                  <horstretch>0</horstretch>          </item>
197                                  <verstretch>0</verstretch>          <item>
198                              </sizepolicy>           <widget class="QTableView" name="DeviceParamTable" >
199                          </property>            <property name="alternatingRowColors" >
200                          <property name="minimumSize">             <bool>true</bool>
201                              <size>            </property>
202                                  <width>360</width>            <property name="selectionMode" >
203                                  <height>260</height>             <enum>QAbstractItemView::NoSelection</enum>
204                              </size>            </property>
205                          </property>            <property name="showGrid" >
206                          <property name="focusPolicy">             <bool>false</bool>
207                              <enum>StrongFocus</enum>            </property>
208                          </property>           </widget>
209                          <property name="toolTip" stdset="0">          </item>
210                              <string>Device parameters</string>         </layout>
211                          </property>        </widget>
212                      </widget>        <widget class="QWidget" name="PortParamLayout" >
213                      <widget class="QComboBox" row="0" column="2">         <layout class="QVBoxLayout" >
214                          <property name="name">          <property name="spacing" >
215                              <cstring>DriverNameComboBox</cstring>           <number>6</number>
216                          </property>          </property>
217                          <property name="toolTip" stdset="0">          <property name="leftMargin" >
218                              <string>Driver type name</string>           <number>0</number>
219                          </property>          </property>
220                      </widget>          <property name="topMargin" >
221                      <widget class="QLabel" row="0" column="1">           <number>0</number>
222                          <property name="name">          </property>
223                              <cstring>DriverNameTextLabel</cstring>          <property name="rightMargin" >
224                          </property>           <number>0</number>
225                          <property name="text">          </property>
226                              <string>Dri&amp;ver:</string>          <property name="bottomMargin" >
227                          </property>           <number>0</number>
228                          <property name="alignment">          </property>
229                              <set>AlignVCenter|AlignRight</set>          <item>
230                          </property>           <layout class="QHBoxLayout" >
231                          <property name="buddy" stdset="0">            <property name="spacing" >
232                              <cstring>DriverNameComboBox</cstring>             <number>6</number>
233                          </property>            </property>
234                      </widget>            <property name="leftMargin" >
235                  </grid>             <number>0</number>
236              </widget>            </property>
237          </widget>            <property name="topMargin" >
238          <widget class="QLayoutWidget">             <number>0</number>
239              <property name="name">            </property>
240                  <cstring>layout6</cstring>            <property name="rightMargin" >
241              </property>             <number>0</number>
242              <hbox>            </property>
243                  <property name="name">            <property name="bottomMargin" >
244                      <cstring>unnamed</cstring>             <number>0</number>
245                  </property>            </property>
246                  <widget class="QPushButton">            <item>
247                      <property name="name">             <spacer>
248                          <cstring>RefreshDevicesPushButton</cstring>              <property name="orientation" >
249                      </property>               <enum>Qt::Horizontal</enum>
250                      <property name="text">              </property>
251                          <string>&amp;Refresh</string>              <property name="sizeHint" >
252                      </property>               <size>
253                      <property name="accel">                <width>40</width>
254                          <string>Alt+R</string>                <height>20</height>
255                      </property>               </size>
256                      <property name="iconSet">              </property>
257                          <iconset>formRefresh.png</iconset>             </spacer>
258                      </property>            </item>
259                      <property name="toolTip" stdset="0">            <item>
260                          <string>refresh device list view</string>             <widget class="QLabel" name="DevicePortTextLabel" >
261                      </property>              <property name="text" >
262                  </widget>               <string>Channel:</string>
263                  <spacer>              </property>
264                      <property name="name">              <property name="alignment" >
265                          <cstring>spacer1</cstring>               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
266                      </property>              </property>
267                      <property name="orientation">              <property name="wordWrap" >
268                          <enum>Horizontal</enum>               <bool>false</bool>
269                      </property>              </property>
270                      <property name="sizeType">              <property name="buddy" >
271                          <enum>Expanding</enum>               <cstring>DevicePortComboBox</cstring>
272                      </property>              </property>
273                      <property name="sizeHint">             </widget>
274                          <size>            </item>
275                              <width>180</width>            <item>
276                              <height>20</height>             <widget class="QComboBox" name="DevicePortComboBox" >
277                          </size>              <property name="sizePolicy" >
278                      </property>               <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
279                  </spacer>                <horstretch>0</horstretch>
280                  <widget class="QPushButton">                <verstretch>0</verstretch>
281                      <property name="name">               </sizepolicy>
282                          <cstring>CreateDevicePushButton</cstring>              </property>
283                      </property>              <property name="toolTip" >
284                      <property name="text">               <string>Device port/channel</string>
285                          <string>&amp;Create</string>              </property>
286                      </property>             </widget>
287                      <property name="accel">            </item>
288                          <string>Alt+C</string>           </layout>
289                      </property>          </item>
290                      <property name="iconSet">          <item>
291                          <iconset>deviceCreate.png</iconset>           <widget class="QTableView" name="DevicePortParamTable" >
292                      </property>            <property name="alternatingRowColors" >
293                      <property name="toolTip" stdset="0">             <bool>true</bool>
294                          <string>Create current device</string>            </property>
295                      </property>            <property name="selectionMode" >
296                  </widget>             <enum>QAbstractItemView::NoSelection</enum>
297                  <widget class="QPushButton">            </property>
298                      <property name="name">            <property name="showGrid" >
299                          <cstring>DeleteDevicePushButton</cstring>             <bool>false</bool>
300                      </property>            </property>
301                      <property name="text">           </widget>
302                          <string>&amp;Delete</string>          </item>
303                      </property>         </layout>
304                      <property name="accel">        </widget>
305                          <string>Alt+D</string>       </widget>
306                      </property>      </widget>
307                      <property name="iconSet">     </item>
308                          <iconset>deviceDelete.png</iconset>     <item>
309                      </property>      <layout class="QHBoxLayout" >
310                      <property name="toolTip" stdset="0">       <property name="spacing" >
311                          <string>Delete current device</string>        <number>4</number>
312                      </property>       </property>
313                  </widget>       <property name="leftMargin" >
314                  <widget class="QPushButton">        <number>0</number>
315                      <property name="name">       </property>
316                          <cstring>ClosePushButton</cstring>       <property name="topMargin" >
317                      </property>        <number>0</number>
318                      <property name="text">       </property>
319                          <string>Close</string>       <property name="rightMargin" >
320                      </property>        <number>0</number>
321                      <property name="accel">       </property>
322                          <string></string>       <property name="bottomMargin" >
323                      </property>        <number>0</number>
324                      <property name="iconSet">       </property>
325                          <iconset>formReject.png</iconset>       <item>
326                      </property>        <widget class="QPushButton" name="RefreshDevicesPushButton" >
327                      <property name="toolTip" stdset="0">         <property name="toolTip" >
328                          <string>Close this dialog</string>          <string>Refresh device list view</string>
329                      </property>         </property>
330                  </widget>         <property name="text" >
331              </hbox>          <string>&amp;Refresh</string>
332          </widget>         </property>
333      </vbox>         <property name="icon" >
334  </widget>          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
335  <customwidgets>         </property>
336      <customwidget>         <property name="shortcut" >
337          <class>qsamplerDeviceParamTable</class>          <string>Alt+R</string>
338          <header location="global">qsamplerDevice.h</header>         </property>
339          <sizehint>        </widget>
340              <width>-1</width>       </item>
341              <height>-1</height>       <item>
342          </sizehint>        <spacer>
343          <container>0</container>         <property name="orientation" >
344          <sizepolicy>          <enum>Qt::Horizontal</enum>
345              <hordata>7</hordata>         </property>
346              <verdata>7</verdata>         <property name="sizeType" >
347              <horstretch>0</horstretch>          <enum>QSizePolicy::Expanding</enum>
348              <verstretch>0</verstretch>         </property>
349          </sizepolicy>         <property name="sizeHint" >
350          <pixmap>image0</pixmap>          <size>
351      </customwidget>           <width>180</width>
352  </customwidgets>           <height>20</height>
353  <images>          </size>
354      <image name="image0">         </property>
355          <data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data>        </spacer>
356      </image>       </item>
357  </images>       <item>
358  <connections>        <widget class="QPushButton" name="CreateDevicePushButton" >
359      <connection>         <property name="toolTip" >
360          <sender>DeviceListView</sender>          <string>Create device</string>
361          <signal>selectionChanged()</signal>         </property>
362          <receiver>qsamplerDeviceForm</receiver>         <property name="text" >
363          <slot>selectDevice()</slot>          <string>&amp;Create</string>
364      </connection>         </property>
365      <connection>         <property name="icon" >
366          <sender>DeviceListView</sender>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
367          <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>         </property>
368          <receiver>qsamplerDeviceForm</receiver>         <property name="shortcut" >
369          <slot>contextMenu(QListViewItem*,const QPoint&amp;,int)</slot>          <string>Alt+C</string>
370      </connection>         </property>
371      <connection>        </widget>
372          <sender>RefreshDevicesPushButton</sender>       </item>
373          <signal>clicked()</signal>       <item>
374          <receiver>qsamplerDeviceForm</receiver>        <widget class="QPushButton" name="DeleteDevicePushButton" >
375          <slot>refreshDevices()</slot>         <property name="toolTip" >
376      </connection>          <string>Delete device</string>
377      <connection>         </property>
378          <sender>DriverNameComboBox</sender>         <property name="text" >
379          <signal>activated(const QString&amp;)</signal>          <string>&amp;Delete</string>
380          <receiver>qsamplerDeviceForm</receiver>         </property>
381          <slot>selectDriver(const QString&amp;)</slot>         <property name="icon" >
382      </connection>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
383      <connection>         </property>
384          <sender>CreateDevicePushButton</sender>         <property name="shortcut" >
385          <signal>clicked()</signal>          <string>Alt+D</string>
386          <receiver>qsamplerDeviceForm</receiver>         </property>
387          <slot>createDevice()</slot>        </widget>
388      </connection>       </item>
389      <connection>       <item>
390          <sender>DeleteDevicePushButton</sender>        <widget class="QPushButton" name="ClosePushButton" >
391          <signal>clicked()</signal>         <property name="toolTip" >
392          <receiver>qsamplerDeviceForm</receiver>          <string>Close this dialog</string>
393          <slot>deleteDevice()</slot>         </property>
394      </connection>         <property name="text" >
395      <connection>          <string>Close</string>
396          <sender>ClosePushButton</sender>         </property>
397          <signal>clicked()</signal>         <property name="icon" >
398          <receiver>qsamplerDeviceForm</receiver>          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
399          <slot>close()</slot>         </property>
400      </connection>         <property name="shortcut" >
401  </connections>          <string/>
402  <tabstops>         </property>
403      <tabstop>DeviceListView</tabstop>        </widget>
404      <tabstop>RefreshDevicesPushButton</tabstop>       </item>
405      <tabstop>DriverNameComboBox</tabstop>      </layout>
406      <tabstop>DeviceParamTable</tabstop>     </item>
407      <tabstop>CreateDevicePushButton</tabstop>    </layout>
408      <tabstop>DeleteDevicePushButton</tabstop>   </widget>
409      <tabstop>ClosePushButton</tabstop>   <layoutdefault spacing="4" margin="4" />
410  </tabstops>   <tabstops>
411  <includes>    <tabstop>DeviceListView</tabstop>
412      <include location="local" impldecl="in declaration">qsamplerDevice.h</include>    <tabstop>RefreshDevicesPushButton</tabstop>
413      <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>    <tabstop>DriverNameComboBox</tabstop>
414  </includes>    <tabstop>DevicePortComboBox</tabstop>
415  <forwards>    <tabstop>CreateDevicePushButton</tabstop>
416      <forward>class qsamplerMainForm;</forward>    <tabstop>DeleteDevicePushButton</tabstop>
417  </forwards>    <tabstop>ClosePushButton</tabstop>
418  <variables>   </tabstops>
419      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>   <resources>
420      <variable access="private">int m_iDirtySetup;</variable>    <include location="../icons/qsampler.qrc" />
421      <variable access="private">lscp_client_t *m_pClient;</variable>   </resources>
422      <variable access="private">bool m_bNewDevice;</variable>   <connections/>
423      <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>  </ui>
     <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>  
     <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>  
 </variables>  
 <slots>  
     <slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&amp;, int)</slot>  
     <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 &amp; 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>  

Legend:
Removed from v.452  
changed lines
  Added in v.1518

  ViewVC Help
Powered by ViewVC