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

  ViewVC Help
Powered by ViewVC