/[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 433 by capela, Wed Mar 9 16:44:04 2005 UTC revision 1518 by schoenebeck, Fri Nov 23 21:50:01 2007 UTC
# Line 1  Line 1 
1  <!DOCTYPE UI><UI version="3.2" 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="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>qsamplerChannel.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>120</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                                  <pointsize>10</pointsize>               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
179                                  <bold>1</bold>              </property>
180                              </font>              <property name="wordWrap" >
181                          </property>               <bool>false</bool>
182                          <property name="indent">              </property>
183                              <number>4</number>              <property name="buddy" >
184                          </property>               <cstring>DriverNameComboBox</cstring>
185                          <property name="toolTip" stdset="0">              </property>
186                              <string>Device name</string>             </widget>
187                          </property>            </item>
188                      </widget>            <item>
189                      <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">             <widget class="QComboBox" name="DriverNameComboBox" >
190                          <property name="name">              <property name="toolTip" >
191                              <cstring>DeviceParamTable</cstring>               <string>Driver type name</string>
192                          </property>              </property>
193                          <property name="sizePolicy">             </widget>
194                              <sizepolicy>            </item>
195                                  <hsizetype>7</hsizetype>           </layout>
196                                  <vsizetype>7</vsizetype>          </item>
197                                  <horstretch>0</horstretch>          <item>
198                                  <verstretch>0</verstretch>           <widget class="QTableView" name="DeviceParamTable" >
199                              </sizepolicy>            <property name="alternatingRowColors" >
200                          </property>             <bool>true</bool>
201                          <property name="minimumSize">            </property>
202                              <size>            <property name="selectionMode" >
203                                  <width>320</width>             <enum>QAbstractItemView::NoSelection</enum>
204                                  <height>260</height>            </property>
205                              </size>            <property name="showGrid" >
206                          </property>             <bool>false</bool>
207                          <property name="focusPolicy">            </property>
208                              <enum>StrongFocus</enum>           </widget>
209                          </property>          </item>
210                          <property name="toolTip" stdset="0">         </layout>
211                              <string>Device parameters</string>        </widget>
212                          </property>        <widget class="QWidget" name="PortParamLayout" >
213                      </widget>         <layout class="QVBoxLayout" >
214                      <widget class="QComboBox" row="0" column="2">          <property name="spacing" >
215                          <property name="name">           <number>6</number>
216                              <cstring>DriverNameComboBox</cstring>          </property>
217                          </property>          <property name="leftMargin" >
218                          <property name="toolTip" stdset="0">           <number>0</number>
219                              <string>Driver type name</string>          </property>
220                          </property>          <property name="topMargin" >
221                      </widget>           <number>0</number>
222                      <widget class="QLabel" row="0" column="1">          </property>
223                          <property name="name">          <property name="rightMargin" >
224                              <cstring>DriverNameTextLabel</cstring>           <number>0</number>
225                          </property>          </property>
226                          <property name="text">          <property name="bottomMargin" >
227                              <string>Dri&amp;ver:</string>           <number>0</number>
228                          </property>          </property>
229                          <property name="alignment">          <item>
230                              <set>AlignVCenter|AlignRight</set>           <layout class="QHBoxLayout" >
231                          </property>            <property name="spacing" >
232                          <property name="buddy" stdset="0">             <number>6</number>
233                              <cstring>DriverNameComboBox</cstring>            </property>
234                          </property>            <property name="leftMargin" >
235                      </widget>             <number>0</number>
236                  </grid>            </property>
237              </widget>            <property name="topMargin" >
238          </widget>             <number>0</number>
239          <widget class="QLayoutWidget">            </property>
240              <property name="name">            <property name="rightMargin" >
241                  <cstring>layout6</cstring>             <number>0</number>
242              </property>            </property>
243              <hbox>            <property name="bottomMargin" >
244                  <property name="name">             <number>0</number>
245                      <cstring>unnamed</cstring>            </property>
246                  </property>            <item>
247                  <widget class="QPushButton">             <spacer>
248                      <property name="name">              <property name="orientation" >
249                          <cstring>RefreshDevicesPushButton</cstring>               <enum>Qt::Horizontal</enum>
250                      </property>              </property>
251                      <property name="text">              <property name="sizeHint" >
252                          <string>&amp;Refresh</string>               <size>
253                      </property>                <width>40</width>
254                      <property name="accel">                <height>20</height>
255                          <string>Alt+R</string>               </size>
256                      </property>              </property>
257                      <property name="toolTip" stdset="0">             </spacer>
258                          <string>refresh device list view</string>            </item>
259                      </property>            <item>
260                  </widget>             <widget class="QLabel" name="DevicePortTextLabel" >
261                  <spacer>              <property name="text" >
262                      <property name="name">               <string>Channel:</string>
263                          <cstring>spacer1</cstring>              </property>
264                      </property>              <property name="alignment" >
265                      <property name="orientation">               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
266                          <enum>Horizontal</enum>              </property>
267                      </property>              <property name="wordWrap" >
268                      <property name="sizeType">               <bool>false</bool>
269                          <enum>Expanding</enum>              </property>
270                      </property>              <property name="buddy" >
271                      <property name="sizeHint">               <cstring>DevicePortComboBox</cstring>
272                          <size>              </property>
273                              <width>180</width>             </widget>
274                              <height>20</height>            </item>
275                          </size>            <item>
276                      </property>             <widget class="QComboBox" name="DevicePortComboBox" >
277                  </spacer>              <property name="sizePolicy" >
278                  <widget class="QPushButton">               <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
279                      <property name="name">                <horstretch>0</horstretch>
280                          <cstring>CreateDevicePushButton</cstring>                <verstretch>0</verstretch>
281                      </property>               </sizepolicy>
282                      <property name="text">              </property>
283                          <string>&amp;Create</string>              <property name="toolTip" >
284                      </property>               <string>Device port/channel</string>
285                      <property name="accel">              </property>
286                          <string>Alt+C</string>             </widget>
287                      </property>            </item>
288                      <property name="toolTip" stdset="0">           </layout>
289                          <string>Create current device</string>          </item>
290                      </property>          <item>
291                  </widget>           <widget class="QTableView" name="DevicePortParamTable" >
292                  <widget class="QPushButton">            <property name="alternatingRowColors" >
293                      <property name="name">             <bool>true</bool>
294                          <cstring>DeleteDevicePushButton</cstring>            </property>
295                      </property>            <property name="selectionMode" >
296                      <property name="text">             <enum>QAbstractItemView::NoSelection</enum>
297                          <string>&amp;Delete</string>            </property>
298                      </property>            <property name="showGrid" >
299                      <property name="accel">             <bool>false</bool>
300                          <string>Alt+D</string>            </property>
301                      </property>           </widget>
302                      <property name="toolTip" stdset="0">          </item>
303                          <string>Delete current device</string>         </layout>
304                      </property>        </widget>
305                  </widget>       </widget>
306                  <widget class="QPushButton">      </widget>
307                      <property name="name">     </item>
308                          <cstring>ClosePushButton</cstring>     <item>
309                      </property>      <layout class="QHBoxLayout" >
310                      <property name="text">       <property name="spacing" >
311                          <string>Close</string>        <number>4</number>
312                      </property>       </property>
313                      <property name="accel">       <property name="leftMargin" >
314                          <string></string>        <number>0</number>
315                      </property>       </property>
316                      <property name="toolTip" stdset="0">       <property name="topMargin" >
317                          <string>Close this dialog</string>        <number>0</number>
318                      </property>       </property>
319                  </widget>       <property name="rightMargin" >
320              </hbox>        <number>0</number>
321          </widget>       </property>
322      </vbox>       <property name="bottomMargin" >
323  </widget>        <number>0</number>
324  <customwidgets>       </property>
325      <customwidget>       <item>
326          <class>qsamplerDeviceParamTable</class>        <widget class="QPushButton" name="RefreshDevicesPushButton" >
327          <header location="global">qsamplerDevice.h</header>         <property name="toolTip" >
328          <sizehint>          <string>Refresh device list view</string>
329              <width>-1</width>         </property>
330              <height>-1</height>         <property name="text" >
331          </sizehint>          <string>&amp;Refresh</string>
332          <container>0</container>         </property>
333          <sizepolicy>         <property name="icon" >
334              <hordata>7</hordata>          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
335              <verdata>7</verdata>         </property>
336              <horstretch>0</horstretch>         <property name="shortcut" >
337              <verstretch>0</verstretch>          <string>Alt+R</string>
338          </sizepolicy>         </property>
339          <pixmap>image0</pixmap>        </widget>
340      </customwidget>       </item>
341  </customwidgets>       <item>
342  <images>        <spacer>
343      <image name="image0">         <property name="orientation" >
344          <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>          <enum>Qt::Horizontal</enum>
345      </image>         </property>
346  </images>         <property name="sizeType" >
347  <connections>          <enum>QSizePolicy::Expanding</enum>
348      <connection>         </property>
349          <sender>DeviceListView</sender>         <property name="sizeHint" >
350          <signal>selectionChanged()</signal>          <size>
351          <receiver>qsamplerDeviceForm</receiver>           <width>180</width>
352          <slot>selectDevice()</slot>           <height>20</height>
353      </connection>          </size>
354      <connection>         </property>
355          <sender>RefreshDevicesPushButton</sender>        </spacer>
356          <signal>clicked()</signal>       </item>
357          <receiver>qsamplerDeviceForm</receiver>       <item>
358          <slot>refreshDevices()</slot>        <widget class="QPushButton" name="CreateDevicePushButton" >
359      </connection>         <property name="toolTip" >
360      <connection>          <string>Create device</string>
361          <sender>DriverNameComboBox</sender>         </property>
362          <signal>activated(const QString&amp;)</signal>         <property name="text" >
363          <receiver>qsamplerDeviceForm</receiver>          <string>&amp;Create</string>
364          <slot>selectDriver(const QString&amp;)</slot>         </property>
365      </connection>         <property name="icon" >
366      <connection>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
367          <sender>CreateDevicePushButton</sender>         </property>
368          <signal>clicked()</signal>         <property name="shortcut" >
369          <receiver>qsamplerDeviceForm</receiver>          <string>Alt+C</string>
370          <slot>createDevice()</slot>         </property>
371      </connection>        </widget>
372      <connection>       </item>
373          <sender>DeleteDevicePushButton</sender>       <item>
374          <signal>clicked()</signal>        <widget class="QPushButton" name="DeleteDevicePushButton" >
375          <receiver>qsamplerDeviceForm</receiver>         <property name="toolTip" >
376          <slot>deleteDevice()</slot>          <string>Delete device</string>
377      </connection>         </property>
378      <connection>         <property name="text" >
379          <sender>ClosePushButton</sender>          <string>&amp;Delete</string>
380          <signal>clicked()</signal>         </property>
381          <receiver>qsamplerDeviceForm</receiver>         <property name="icon" >
382          <slot>close()</slot>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
383      </connection>         </property>
384  </connections>         <property name="shortcut" >
385  <tabstops>          <string>Alt+D</string>
386      <tabstop>DeviceListView</tabstop>         </property>
387      <tabstop>RefreshDevicesPushButton</tabstop>        </widget>
388      <tabstop>DriverNameComboBox</tabstop>       </item>
389      <tabstop>DeviceParamTable</tabstop>       <item>
390      <tabstop>CreateDevicePushButton</tabstop>        <widget class="QPushButton" name="ClosePushButton" >
391      <tabstop>DeleteDevicePushButton</tabstop>         <property name="toolTip" >
392      <tabstop>ClosePushButton</tabstop>          <string>Close this dialog</string>
393  </tabstops>         </property>
394  <includes>         <property name="text" >
395      <include location="local" impldecl="in declaration">qsamplerDevice.h</include>          <string>Close</string>
396      <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>         </property>
397  </includes>         <property name="icon" >
398  <forwards>          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
399      <forward>class qsamplerMainForm;</forward>         </property>
400  </forwards>         <property name="shortcut" >
401  <variables>          <string/>
402      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>         </property>
403      <variable access="private">int m_iDirtySetup;</variable>        </widget>
404      <variable access="private">int m_iDirtyCount;</variable>       </item>
405      <variable access="private">lscp_client_t *m_pClient;</variable>      </layout>
406      <variable access="private">bool m_bNewDevice;</variable>     </item>
407  </variables>    </layout>
408  <slots>   </widget>
409      <slot specifier="non virtual">createDevice()</slot>   <layoutdefault spacing="4" margin="4" />
410      <slot specifier="non virtual">deleteDevice()</slot>   <tabstops>
411      <slot specifier="non virtual">refreshDevices()</slot>    <tabstop>DeviceListView</tabstop>
412      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>    <tabstop>RefreshDevicesPushButton</tabstop>
413      <slot specifier="non virtual">selectDevice()</slot>    <tabstop>DriverNameComboBox</tabstop>
414      <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>    <tabstop>DevicePortComboBox</tabstop>
415      <slot specifier="non virtual">stabilizeForm()</slot>    <tabstop>CreateDevicePushButton</tabstop>
416  </slots>    <tabstop>DeleteDevicePushButton</tabstop>
417  <functions>    <tabstop>ClosePushButton</tabstop>
418      <function access="private" specifier="non virtual">init()</function>   </tabstops>
419      <function access="private" specifier="non virtual">destroy()</function>   <resources>
420      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>    <include location="../icons/qsampler.qrc" />
421      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>   </resources>
422      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>   <connections/>
423  </functions>  </ui>
 <pixmapinproject/>  
 <layoutdefaults spacing="4" margin="4"/>  
 <includehints>  
     <includehint>qsamplerdeviceparamtable.h</includehint>  
 </includehints>  
 </UI>  

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

  ViewVC Help
Powered by ViewVC