/[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 442 by capela, Thu Mar 10 15:48:38 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="QDialog">   <widget class="QDialog" name="qsamplerDeviceForm" >
25      <property name="name">    <property name="geometry" >
26          <cstring>qsamplerDeviceForm</cstring>     <rect>
27      </property>      <x>0</x>
28      <property name="geometry">      <y>0</y>
29          <rect>      <width>601</width>
30              <x>0</x>      <height>378</height>
31              <y>0</y>     </rect>
32              <width>542</width>    </property>
33              <height>331</height>    <property name="sizePolicy" >
34          </rect>     <sizepolicy 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>qsamplerChannel.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                                  <pointsize>10</pointsize>          </item>
170                                  <bold>1</bold>          <item>
171                              </font>           <widget class="QTableView" name="DeviceParamTable" >
172                          </property>            <property name="alternatingRowColors" >
173                          <property name="indent">             <bool>true</bool>
174                              <number>4</number>            </property>
175                          </property>            <property name="selectionMode" >
176                          <property name="toolTip" stdset="0">             <enum>QAbstractItemView::NoSelection</enum>
177                              <string>Device name</string>            </property>
178                          </property>            <property name="showGrid" >
179                      </widget>             <bool>false</bool>
180                      <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">            </property>
181                          <property name="name">           </widget>
182                              <cstring>DeviceParamTable</cstring>          </item>
183                          </property>         </layout>
184                          <property name="sizePolicy">        </widget>
185                              <sizepolicy>        <widget class="QWidget" name="PortParamLayout" >
186                                  <hsizetype>7</hsizetype>         <layout class="QVBoxLayout" >
187                                  <vsizetype>7</vsizetype>          <property name="spacing" >
188                                  <horstretch>0</horstretch>           <number>6</number>
189                                  <verstretch>0</verstretch>          </property>
190                              </sizepolicy>          <property name="margin" >
191                          </property>           <number>0</number>
192                          <property name="minimumSize">          </property>
193                              <size>          <item>
194                                  <width>360</width>           <layout class="QHBoxLayout" >
195                                  <height>260</height>            <property name="spacing" >
196                              </size>             <number>6</number>
197                          </property>            </property>
198                          <property name="focusPolicy">            <property name="margin" >
199                              <enum>StrongFocus</enum>             <number>0</number>
200                          </property>            </property>
201                          <property name="toolTip" stdset="0">            <item>
202                              <string>Device parameters</string>             <spacer>
203                          </property>              <property name="orientation" >
204                      </widget>               <enum>Qt::Horizontal</enum>
205                      <widget class="QComboBox" row="0" column="2">              </property>
206                          <property name="name">              <property name="sizeHint" >
207                              <cstring>DriverNameComboBox</cstring>               <size>
208                          </property>                <width>40</width>
209                          <property name="toolTip" stdset="0">                <height>20</height>
210                              <string>Driver type name</string>               </size>
211                          </property>              </property>
212                      </widget>             </spacer>
213                      <widget class="QLabel" row="0" column="1">            </item>
214                          <property name="name">            <item>
215                              <cstring>DriverNameTextLabel</cstring>             <widget class="QLabel" name="DevicePortTextLabel" >
216                          </property>              <property name="text" >
217                          <property name="text">               <string>Channel:</string>
218                              <string>Dri&amp;ver:</string>              </property>
219                          </property>              <property name="alignment" >
220                          <property name="alignment">               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
221                              <set>AlignVCenter|AlignRight</set>              </property>
222                          </property>              <property name="wordWrap" >
223                          <property name="buddy" stdset="0">               <bool>false</bool>
224                              <cstring>DriverNameComboBox</cstring>              </property>
225                          </property>              <property name="buddy" >
226                      </widget>               <cstring>DevicePortComboBox</cstring>
227                  </grid>              </property>
228              </widget>             </widget>
229          </widget>            </item>
230          <widget class="QLayoutWidget">            <item>
231              <property name="name">             <widget class="QComboBox" name="DevicePortComboBox" >
232                  <cstring>layout6</cstring>              <property name="sizePolicy" >
233              </property>               <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
234              <hbox>                <horstretch>0</horstretch>
235                  <property name="name">                <verstretch>0</verstretch>
236                      <cstring>unnamed</cstring>               </sizepolicy>
237                  </property>              </property>
238                  <widget class="QPushButton">              <property name="toolTip" >
239                      <property name="name">               <string>Device port/channel</string>
240                          <cstring>RefreshDevicesPushButton</cstring>              </property>
241                      </property>             </widget>
242                      <property name="text">            </item>
243                          <string>&amp;Refresh</string>           </layout>
244                      </property>          </item>
245                      <property name="accel">          <item>
246                          <string>Alt+R</string>           <widget class="QTableView" name="DevicePortParamTable" >
247                      </property>            <property name="alternatingRowColors" >
248                      <property name="toolTip" stdset="0">             <bool>true</bool>
249                          <string>refresh device list view</string>            </property>
250                      </property>            <property name="selectionMode" >
251                  </widget>             <enum>QAbstractItemView::NoSelection</enum>
252                  <spacer>            </property>
253                      <property name="name">            <property name="showGrid" >
254                          <cstring>spacer1</cstring>             <bool>false</bool>
255                      </property>            </property>
256                      <property name="orientation">           </widget>
257                          <enum>Horizontal</enum>          </item>
258                      </property>         </layout>
259                      <property name="sizeType">        </widget>
260                          <enum>Expanding</enum>       </widget>
261                      </property>      </widget>
262                      <property name="sizeHint">     </item>
263                          <size>     <item>
264                              <width>180</width>      <layout class="QHBoxLayout" >
265                              <height>20</height>       <property name="spacing" >
266                          </size>        <number>4</number>
267                      </property>       </property>
268                  </spacer>       <property name="margin" >
269                  <widget class="QPushButton">        <number>0</number>
270                      <property name="name">       </property>
271                          <cstring>CreateDevicePushButton</cstring>       <item>
272                      </property>        <widget class="QPushButton" name="RefreshDevicesPushButton" >
273                      <property name="text">         <property name="toolTip" >
274                          <string>&amp;Create</string>          <string>Refresh device list view</string>
275                      </property>         </property>
276                      <property name="accel">         <property name="text" >
277                          <string>Alt+C</string>          <string>&amp;Refresh</string>
278                      </property>         </property>
279                      <property name="toolTip" stdset="0">         <property name="icon" >
280                          <string>Create current device</string>          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
281                      </property>         </property>
282                  </widget>         <property name="shortcut" >
283                  <widget class="QPushButton">          <string>Alt+R</string>
284                      <property name="name">         </property>
285                          <cstring>DeleteDevicePushButton</cstring>        </widget>
286                      </property>       </item>
287                      <property name="text">       <item>
288                          <string>&amp;Delete</string>        <spacer>
289                      </property>         <property name="orientation" >
290                      <property name="accel">          <enum>Qt::Horizontal</enum>
291                          <string>Alt+D</string>         </property>
292                      </property>         <property name="sizeType" >
293                      <property name="toolTip" stdset="0">          <enum>QSizePolicy::Expanding</enum>
294                          <string>Delete current device</string>         </property>
295                      </property>         <property name="sizeHint" >
296                  </widget>          <size>
297                  <widget class="QPushButton">           <width>180</width>
298                      <property name="name">           <height>20</height>
299                          <cstring>ClosePushButton</cstring>          </size>
300                      </property>         </property>
301                      <property name="text">        </spacer>
302                          <string>Close</string>       </item>
303                      </property>       <item>
304                      <property name="accel">        <widget class="QPushButton" name="CreateDevicePushButton" >
305                          <string></string>         <property name="toolTip" >
306                      </property>          <string>Create device</string>
307                      <property name="toolTip" stdset="0">         </property>
308                          <string>Close this dialog</string>         <property name="text" >
309                      </property>          <string>&amp;Create</string>
310                  </widget>         </property>
311              </hbox>         <property name="icon" >
312          </widget>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
313      </vbox>         </property>
314  </widget>         <property name="shortcut" >
315  <customwidgets>          <string>Alt+C</string>
316      <customwidget>         </property>
317          <class>qsamplerDeviceParamTable</class>        </widget>
318          <header location="global">qsamplerDevice.h</header>       </item>
319          <sizehint>       <item>
320              <width>-1</width>        <widget class="QPushButton" name="DeleteDevicePushButton" >
321              <height>-1</height>         <property name="toolTip" >
322          </sizehint>          <string>Delete device</string>
323          <container>0</container>         </property>
324          <sizepolicy>         <property name="text" >
325              <hordata>7</hordata>          <string>&amp;Delete</string>
326              <verdata>7</verdata>         </property>
327              <horstretch>0</horstretch>         <property name="icon" >
328              <verstretch>0</verstretch>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
329          </sizepolicy>         </property>
330          <pixmap>image0</pixmap>         <property name="shortcut" >
331      </customwidget>          <string>Alt+D</string>
332  </customwidgets>         </property>
333  <images>        </widget>
334      <image name="image0">       </item>
335          <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>       <item>
336      </image>        <widget class="QPushButton" name="ClosePushButton" >
337  </images>         <property name="toolTip" >
338  <connections>          <string>Close this dialog</string>
339      <connection>         </property>
340          <sender>DeviceListView</sender>         <property name="text" >
341          <signal>selectionChanged()</signal>          <string>Close</string>
342          <receiver>qsamplerDeviceForm</receiver>         </property>
343          <slot>selectDevice()</slot>         <property name="icon" >
344      </connection>          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
345      <connection>         </property>
346          <sender>RefreshDevicesPushButton</sender>         <property name="shortcut" >
347          <signal>clicked()</signal>          <string/>
348          <receiver>qsamplerDeviceForm</receiver>         </property>
349          <slot>refreshDevices()</slot>        </widget>
350      </connection>       </item>
351      <connection>      </layout>
352          <sender>DriverNameComboBox</sender>     </item>
353          <signal>activated(const QString&amp;)</signal>    </layout>
354          <receiver>qsamplerDeviceForm</receiver>   </widget>
355          <slot>selectDriver(const QString&amp;)</slot>   <layoutdefault spacing="4" margin="4" />
356      </connection>   <tabstops>
357      <connection>    <tabstop>DeviceListView</tabstop>
358          <sender>CreateDevicePushButton</sender>    <tabstop>RefreshDevicesPushButton</tabstop>
359          <signal>clicked()</signal>    <tabstop>DriverNameComboBox</tabstop>
360          <receiver>qsamplerDeviceForm</receiver>    <tabstop>DevicePortComboBox</tabstop>
361          <slot>createDevice()</slot>    <tabstop>CreateDevicePushButton</tabstop>
362      </connection>    <tabstop>DeleteDevicePushButton</tabstop>
363      <connection>    <tabstop>ClosePushButton</tabstop>
364          <sender>DeleteDevicePushButton</sender>   </tabstops>
365          <signal>clicked()</signal>   <resources>
366          <receiver>qsamplerDeviceForm</receiver>    <include location="../icons/qsampler.qrc" />
367          <slot>deleteDevice()</slot>   </resources>
368      </connection>   <connections/>
369      <connection>  </ui>
         <sender>ClosePushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>close()</slot>  
     </connection>  
 </connections>  
 <tabstops>  
     <tabstop>DeviceListView</tabstop>  
     <tabstop>RefreshDevicesPushButton</tabstop>  
     <tabstop>DriverNameComboBox</tabstop>  
     <tabstop>DeviceParamTable</tabstop>  
     <tabstop>CreateDevicePushButton</tabstop>  
     <tabstop>DeleteDevicePushButton</tabstop>  
     <tabstop>ClosePushButton</tabstop>  
 </tabstops>  
 <includes>  
     <include location="local" impldecl="in declaration">qsamplerDevice.h</include>  
     <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>  
 </includes>  
 <forwards>  
     <forward>class qsamplerMainForm;</forward>  
 </forwards>  
 <variables>  
     <variable access="private">qsamplerMainForm *m_pMainForm;</variable>  
     <variable access="private">int m_iDirtySetup;</variable>  
     <variable access="private">lscp_client_t *m_pClient;</variable>  
     <variable access="private">bool m_bNewDevice;</variable>  
     <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>  
     <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>  
     <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>  
 </variables>  
 <slots>  
     <slot specifier="non virtual">createDevice()</slot>  
     <slot specifier="non virtual">deleteDevice()</slot>  
     <slot specifier="non virtual">refreshDevices()</slot>  
     <slot specifier="non virtual">selectDriver( const QString &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.442  
changed lines
  Added in v.1519

  ViewVC Help
Powered by ViewVC