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

  ViewVC Help
Powered by ViewVC