/[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 462 by capela, Tue Mar 15 11:39:12 2005 UTC revision 1521 by schoenebeck, Sat Nov 24 20:11:08 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="QWidget">   <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>
35      </property>      <hsizetype>0</hsizetype>
36      <property name="sizePolicy">      <vsizetype>0</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>Qsampler: Devices</string>
46      </property>
47      <property name="windowIcon" >
48       <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset>
49      </property>
50      <layout class="QVBoxLayout" >
51       <property name="margin" >
52        <number>9</number>
53       </property>
54       <property name="spacing" >
55        <number>6</number>
56       </property>
57       <item>
58        <widget class="QSplitter" name="splitter" >
59         <property name="sizePolicy" >
60          <sizepolicy>
61           <hsizetype>7</hsizetype>
62           <vsizetype>7</vsizetype>
63           <horstretch>0</horstretch>
64           <verstretch>0</verstretch>
65          </sizepolicy>
66         </property>
67         <property name="orientation" >
68          <enum>Qt::Horizontal</enum>
69         </property>
70         <property name="handleWidth" >
71          <number>4</number>
72         </property>
73         <widget class="QTreeWidget" name="DeviceListView" >
74          <property name="minimumSize" >
75           <size>
76            <width>120</width>
77            <height>0</height>
78           </size>
79          </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>          <string>Devices</string>
92      </property>         </property>
93      <property name="icon">        </column>
94          <pixmap>qsamplerDevice.png</pixmap>       </widget>
95      </property>       <widget class="QSplitter" name="splitter" >
96      <property name="focusPolicy">        <property name="sizePolicy" >
97          <enum>StrongFocus</enum>         <sizepolicy>
98      </property>          <hsizetype>7</hsizetype>
99      <vbox>          <vsizetype>7</vsizetype>
100          <property name="name">          <horstretch>0</horstretch>
101              <cstring>unnamed</cstring>          <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>          </property>
115          <widget class="QSplitter">          <property name="spacing" >
116              <property name="name">           <number>6</number>
117                  <cstring>splitter3</cstring>          </property>
118              </property>          <item>
119              <property name="orientation">           <layout class="QHBoxLayout" >
120                  <enum>Horizontal</enum>            <property name="margin" >
121              </property>             <number>0</number>
122              <widget class="QListView">            </property>
123                  <column>            <property name="spacing" >
124                      <property name="text">             <number>6</number>
125                          <string>Devices</string>            </property>
126                      </property>            <item>
127                      <property name="clickable">             <widget class="QLabel" name="DeviceNameTextLabel" >
128                          <bool>true</bool>              <property name="sizePolicy" >
129                      </property>               <sizepolicy>
130                      <property name="resizable">                <hsizetype>0</hsizetype>
131                          <bool>true</bool>                <vsizetype>0</vsizetype>
132                      </property>                <horstretch>0</horstretch>
133                  </column>                <verstretch>0</verstretch>
134                  <property name="name">               </sizepolicy>
135                      <cstring>DeviceListView</cstring>              </property>
136                  </property>              <property name="font" >
137                  <property name="minimumSize">               <font>
138                      <size>                <weight>75</weight>
139                          <width>160</width>                <bold>true</bold>
140                          <height>0</height>               </font>
141                      </size>              </property>
142                  </property>              <property name="toolTip" >
143                  <property name="rootIsDecorated">               <string>Device name</string>
144                      <bool>true</bool>              </property>
145                  </property>              <property name="wordWrap" >
146                  <property name="resizeMode">               <bool>false</bool>
147                      <enum>LastColumn</enum>              </property>
148                  </property>              <property name="indent" >
149                  <property name="toolTip" stdset="0">               <number>4</number>
150                      <string>Device list</string>              </property>
151                  </property>             </widget>
152              </widget>            </item>
153              <widget class="QLayoutWidget">            <item>
154                  <property name="name">             <widget class="QLabel" name="DriverNameTextLabel" >
155                      <cstring>layout5</cstring>              <property name="text" >
156                  </property>               <string>Dri&amp;ver:</string>
157                  <grid>              </property>
158                      <property name="name">              <property name="alignment" >
159                          <cstring>unnamed</cstring>               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
160                      </property>              </property>
161                      <widget class="QLabel" row="0" column="0">              <property name="wordWrap" >
162                          <property name="name">               <bool>false</bool>
163                              <cstring>DeviceNameTextLabel</cstring>              </property>
164                          </property>              <property name="buddy" >
165                          <property name="sizePolicy">               <cstring>DriverNameComboBox</cstring>
166                              <sizepolicy>              </property>
167                                  <hsizetype>7</hsizetype>             </widget>
168                                  <vsizetype>5</vsizetype>            </item>
169                                  <horstretch>0</horstretch>            <item>
170                                  <verstretch>0</verstretch>             <widget class="QComboBox" name="DriverNameComboBox" >
171                              </sizepolicy>              <property name="toolTip" >
172                          </property>               <string>Driver type name</string>
173                          <property name="font">              </property>
174                              <font>             </widget>
175                                  <bold>1</bold>            </item>
176                              </font>           </layout>
177                          </property>          </item>
178                          <property name="indent">          <item>
179                              <number>4</number>           <widget class="QTableView" name="DeviceParamTable" >
180                          </property>            <property name="alternatingRowColors" >
181                          <property name="toolTip" stdset="0">             <bool>true</bool>
182                              <string>Device name</string>            </property>
183                          </property>            <property name="selectionMode" >
184                      </widget>             <enum>QAbstractItemView::NoSelection</enum>
185                      <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">            </property>
186                          <property name="name">            <property name="showGrid" >
187                              <cstring>DeviceParamTable</cstring>             <bool>false</bool>
188                          </property>            </property>
189                          <property name="sizePolicy">           </widget>
190                              <sizepolicy>          </item>
191                                  <hsizetype>7</hsizetype>         </layout>
192                                  <vsizetype>7</vsizetype>        </widget>
193                                  <horstretch>0</horstretch>        <widget class="QWidget" name="PortParamLayout" >
194                                  <verstretch>0</verstretch>         <layout class="QVBoxLayout" >
195                              </sizepolicy>          <property name="margin" >
196                          </property>           <number>0</number>
197                          <property name="minimumSize">          </property>
198                              <size>          <property name="spacing" >
199                                  <width>360</width>           <number>6</number>
200                                  <height>260</height>          </property>
201                              </size>          <item>
202                          </property>           <layout class="QHBoxLayout" >
203                          <property name="focusPolicy">            <property name="margin" >
204                              <enum>StrongFocus</enum>             <number>0</number>
205                          </property>            </property>
206                          <property name="toolTip" stdset="0">            <property name="spacing" >
207                              <string>Device parameters</string>             <number>6</number>
208                          </property>            </property>
209                      </widget>            <item>
210                      <widget class="QComboBox" row="0" column="2">             <spacer>
211                          <property name="name">              <property name="orientation" >
212                              <cstring>DriverNameComboBox</cstring>               <enum>Qt::Horizontal</enum>
213                          </property>              </property>
214                          <property name="toolTip" stdset="0">              <property name="sizeHint" >
215                              <string>Driver type name</string>               <size>
216                          </property>                <width>40</width>
217                      </widget>                <height>20</height>
218                      <widget class="QLabel" row="0" column="1">               </size>
219                          <property name="name">              </property>
220                              <cstring>DriverNameTextLabel</cstring>             </spacer>
221                          </property>            </item>
222                          <property name="text">            <item>
223                              <string>Dri&amp;ver:</string>             <widget class="QLabel" name="DevicePortTextLabel" >
224                          </property>              <property name="text" >
225                          <property name="alignment">               <string>Channel:</string>
226                              <set>AlignVCenter|AlignRight</set>              </property>
227                          </property>              <property name="alignment" >
228                          <property name="buddy" stdset="0">               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
229                              <cstring>DriverNameComboBox</cstring>              </property>
230                          </property>              <property name="wordWrap" >
231                      </widget>               <bool>false</bool>
232                  </grid>              </property>
233              </widget>              <property name="buddy" >
234          </widget>               <cstring>DevicePortComboBox</cstring>
235          <widget class="QLayoutWidget">              </property>
236              <property name="name">             </widget>
237                  <cstring>layout6</cstring>            </item>
238              </property>            <item>
239              <hbox>             <widget class="QComboBox" name="DevicePortComboBox" >
240                  <property name="name">              <property name="sizePolicy" >
241                      <cstring>unnamed</cstring>               <sizepolicy>
242                  </property>                <hsizetype>0</hsizetype>
243                  <widget class="QPushButton">                <vsizetype>0</vsizetype>
244                      <property name="name">                <horstretch>0</horstretch>
245                          <cstring>RefreshDevicesPushButton</cstring>                <verstretch>0</verstretch>
246                      </property>               </sizepolicy>
247                      <property name="text">              </property>
248                          <string>&amp;Refresh</string>              <property name="toolTip" >
249                      </property>               <string>Device port/channel</string>
250                      <property name="accel">              </property>
251                          <string>Alt+R</string>             </widget>
252                      </property>            </item>
253                      <property name="iconSet">           </layout>
254                          <iconset>formRefresh.png</iconset>          </item>
255                      </property>          <item>
256                      <property name="toolTip" stdset="0">           <widget class="QTableView" name="DevicePortParamTable" >
257                          <string>refresh device list view</string>            <property name="alternatingRowColors" >
258                      </property>             <bool>true</bool>
259                  </widget>            </property>
260                  <spacer>            <property name="selectionMode" >
261                      <property name="name">             <enum>QAbstractItemView::NoSelection</enum>
262                          <cstring>spacer1</cstring>            </property>
263                      </property>            <property name="showGrid" >
264                      <property name="orientation">             <bool>false</bool>
265                          <enum>Horizontal</enum>            </property>
266                      </property>           </widget>
267                      <property name="sizeType">          </item>
268                          <enum>Expanding</enum>         </layout>
269                      </property>        </widget>
270                      <property name="sizeHint">       </widget>
271                          <size>      </widget>
272                              <width>180</width>     </item>
273                              <height>20</height>     <item>
274                          </size>      <layout class="QHBoxLayout" >
275                      </property>       <property name="margin" >
276                  </spacer>        <number>0</number>
277                  <widget class="QPushButton">       </property>
278                      <property name="name">       <property name="spacing" >
279                          <cstring>CreateDevicePushButton</cstring>        <number>4</number>
280                      </property>       </property>
281                      <property name="text">       <item>
282                          <string>&amp;Create</string>        <widget class="QPushButton" name="RefreshDevicesPushButton" >
283                      </property>         <property name="toolTip" >
284                      <property name="accel">          <string>Refresh device list view</string>
285                          <string>Alt+C</string>         </property>
286                      </property>         <property name="text" >
287                      <property name="iconSet">          <string>&amp;Refresh</string>
288                          <iconset>deviceCreate.png</iconset>         </property>
289                      </property>         <property name="icon" >
290                      <property name="toolTip" stdset="0">          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
291                          <string>Create current device</string>         </property>
292                      </property>         <property name="shortcut" >
293                  </widget>          <string>Alt+R</string>
294                  <widget class="QPushButton">         </property>
295                      <property name="name">        </widget>
296                          <cstring>DeleteDevicePushButton</cstring>       </item>
297                      </property>       <item>
298                      <property name="text">        <spacer>
299                          <string>&amp;Delete</string>         <property name="orientation" >
300                      </property>          <enum>Qt::Horizontal</enum>
301                      <property name="accel">         </property>
302                          <string>Alt+D</string>         <property name="sizeType" >
303                      </property>          <enum>QSizePolicy::Expanding</enum>
304                      <property name="iconSet">         </property>
305                          <iconset>deviceDelete.png</iconset>         <property name="sizeHint" >
306                      </property>          <size>
307                      <property name="toolTip" stdset="0">           <width>180</width>
308                          <string>Delete current device</string>           <height>20</height>
309                      </property>          </size>
310                  </widget>         </property>
311                  <widget class="QPushButton">        </spacer>
312                      <property name="name">       </item>
313                          <cstring>ClosePushButton</cstring>       <item>
314                      </property>        <widget class="QPushButton" name="CreateDevicePushButton" >
315                      <property name="text">         <property name="toolTip" >
316                          <string>Close</string>          <string>Create device</string>
317                      </property>         </property>
318                      <property name="accel">         <property name="text" >
319                          <string></string>          <string>&amp;Create</string>
320                      </property>         </property>
321                      <property name="iconSet">         <property name="icon" >
322                          <iconset>formReject.png</iconset>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
323                      </property>         </property>
324                      <property name="toolTip" stdset="0">         <property name="shortcut" >
325                          <string>Close this dialog</string>          <string>Alt+C</string>
326                      </property>         </property>
327                  </widget>        </widget>
328              </hbox>       </item>
329          </widget>       <item>
330      </vbox>        <widget class="QPushButton" name="DeleteDevicePushButton" >
331  </widget>         <property name="toolTip" >
332  <customwidgets>          <string>Delete device</string>
333      <customwidget>         </property>
334          <class>qsamplerDeviceParamTable</class>         <property name="text" >
335          <header location="global">qsamplerDevice.h</header>          <string>&amp;Delete</string>
336          <sizehint>         </property>
337              <width>-1</width>         <property name="icon" >
338              <height>-1</height>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
339          </sizehint>         </property>
340          <container>0</container>         <property name="shortcut" >
341          <sizepolicy>          <string>Alt+D</string>
342              <hordata>7</hordata>         </property>
343              <verdata>7</verdata>        </widget>
344              <horstretch>0</horstretch>       </item>
345              <verstretch>0</verstretch>       <item>
346          </sizepolicy>        <widget class="QPushButton" name="ClosePushButton" >
347          <pixmap>image0</pixmap>         <property name="toolTip" >
348      </customwidget>          <string>Close this dialog</string>
349  </customwidgets>         </property>
350  <images>         <property name="text" >
351      <image name="image0">          <string>Close</string>
352          <data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data>         </property>
353      </image>         <property name="icon" >
354  </images>          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
355  <connections>         </property>
356      <connection>         <property name="shortcut" >
357          <sender>DeviceListView</sender>          <string/>
358          <signal>selectionChanged()</signal>         </property>
359          <receiver>qsamplerDeviceForm</receiver>        </widget>
360          <slot>selectDevice()</slot>       </item>
361      </connection>      </layout>
362      <connection>     </item>
363          <sender>DeviceListView</sender>    </layout>
364          <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>   </widget>
365          <receiver>qsamplerDeviceForm</receiver>   <layoutdefault spacing="4" margin="4" />
366          <slot>contextMenu(QListViewItem*,const QPoint&amp;,int)</slot>   <tabstops>
367      </connection>    <tabstop>DeviceListView</tabstop>
368      <connection>    <tabstop>RefreshDevicesPushButton</tabstop>
369          <sender>RefreshDevicesPushButton</sender>    <tabstop>DriverNameComboBox</tabstop>
370          <signal>clicked()</signal>    <tabstop>DevicePortComboBox</tabstop>
371          <receiver>qsamplerDeviceForm</receiver>    <tabstop>CreateDevicePushButton</tabstop>
372          <slot>refreshDevices()</slot>    <tabstop>DeleteDevicePushButton</tabstop>
373      </connection>    <tabstop>ClosePushButton</tabstop>
374      <connection>   </tabstops>
375          <sender>DriverNameComboBox</sender>   <resources>
376          <signal>activated(const QString&amp;)</signal>    <include location="../icons/qsampler.qrc" />
377          <receiver>qsamplerDeviceForm</receiver>   </resources>
378          <slot>selectDriver(const QString&amp;)</slot>   <connections/>
379      </connection>  </ui>
     <connection>  
         <sender>CreateDevicePushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>createDevice()</slot>  
     </connection>  
     <connection>  
         <sender>DeleteDevicePushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>deleteDevice()</slot>  
     </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">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.462  
changed lines
  Added in v.1521

  ViewVC Help
Powered by ViewVC