/[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 436 by capela, Wed Mar 9 20:55:04 2005 UTC revision 1505 by capela, Wed Nov 21 18:37:40 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>
35      </property>      <hsizetype>7</hsizetype>
36      <property name="sizePolicy">      <vsizetype>1</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="orientation" >
60          <enum>Qt::Horizontal</enum>
61         </property>
62         <property name="handleWidth" >
63          <number>4</number>
64         </property>
65         <widget class="QTreeWidget" name="DeviceListView" >
66          <property name="minimumSize" >
67           <size>
68            <width>120</width>
69            <height>0</height>
70           </size>
71          </property>
72          <property name="toolTip" >
73           <string>Device list</string>
74          </property>
75          <property name="rootIsDecorated" >
76           <bool>false</bool>
77          </property>
78          <property name="uniformRowHeights" >
79           <bool>true</bool>
80          </property>
81          <column>
82           <property name="text" >
83          <string>Devices</string>          <string>Devices</string>
84      </property>         </property>
85      <property name="icon">        </column>
86          <pixmap>qsamplerChannel.png</pixmap>       </widget>
87      </property>       <widget class="QWidget" name="DeviceLayout" >
88      <property name="focusPolicy">        <layout class="QVBoxLayout" >
89          <enum>StrongFocus</enum>         <property name="margin" >
90      </property>          <number>0</number>
91      <vbox>         </property>
92          <property name="name">         <property name="spacing" >
93              <cstring>unnamed</cstring>          <number>6</number>
94          </property>         </property>
95          <widget class="QSplitter">         <item>
96              <property name="name">          <layout class="QHBoxLayout" >
97                  <cstring>splitter3</cstring>           <property name="margin" >
98              </property>            <number>0</number>
99              <property name="orientation">           </property>
100                  <enum>Horizontal</enum>           <property name="spacing" >
101              </property>            <number>6</number>
102              <widget class="QListView">           </property>
103                  <column>           <item>
104                      <property name="text">            <widget class="QLabel" name="DeviceNameTextLabel" >
105                          <string>Devices</string>             <property name="sizePolicy" >
106                      </property>              <sizepolicy>
107                      <property name="clickable">               <hsizetype>7</hsizetype>
108                          <bool>true</bool>               <vsizetype>5</vsizetype>
109                      </property>               <horstretch>0</horstretch>
110                      <property name="resizable">               <verstretch>0</verstretch>
111                          <bool>true</bool>              </sizepolicy>
112                      </property>             </property>
113                  </column>             <property name="font" >
114                  <property name="name">              <font>
115                      <cstring>DeviceListView</cstring>               <weight>75</weight>
116                  </property>               <bold>true</bold>
117                  <property name="minimumSize">              </font>
118                      <size>             </property>
119                          <width>160</width>             <property name="toolTip" >
120                          <height>0</height>              <string>Device name</string>
121                      </size>             </property>
122                  </property>             <property name="wordWrap" >
123                  <property name="rootIsDecorated">              <bool>false</bool>
124                      <bool>true</bool>             </property>
125                  </property>             <property name="indent" >
126                  <property name="resizeMode">              <number>4</number>
127                      <enum>LastColumn</enum>             </property>
128                  </property>            </widget>
129                  <property name="toolTip" stdset="0">           </item>
130                      <string>Device list</string>           <item>
131                  </property>            <widget class="QLabel" name="DriverNameTextLabel" >
132              </widget>             <property name="text" >
133              <widget class="QLayoutWidget">              <string>Dri&amp;ver:</string>
134                  <property name="name">             </property>
135                      <cstring>layout5</cstring>             <property name="alignment" >
136                  </property>              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
137                  <grid>             </property>
138                      <property name="name">             <property name="wordWrap" >
139                          <cstring>unnamed</cstring>              <bool>false</bool>
140                      </property>             </property>
141                      <widget class="QLabel" row="0" column="0">             <property name="buddy" >
142                          <property name="name">              <cstring>DriverNameComboBox</cstring>
143                              <cstring>DeviceNameTextLabel</cstring>             </property>
144                          </property>            </widget>
145                          <property name="sizePolicy">           </item>
146                              <sizepolicy>           <item>
147                                  <hsizetype>7</hsizetype>            <widget class="QComboBox" name="DriverNameComboBox" >
148                                  <vsizetype>5</vsizetype>             <property name="toolTip" >
149                                  <horstretch>0</horstretch>              <string>Driver type name</string>
150                                  <verstretch>0</verstretch>             </property>
151                              </sizepolicy>            </widget>
152                          </property>           </item>
153                          <property name="font">          </layout>
154                              <font>         </item>
155                                  <pointsize>10</pointsize>         <item>
156                                  <bold>1</bold>          <widget class="QTableView" name="DeviceParamTable" >
157                              </font>           <property name="alternatingRowColors" >
158                          </property>            <bool>true</bool>
159                          <property name="indent">           </property>
160                              <number>4</number>           <property name="showGrid" >
161                          </property>            <bool>false</bool>
162                          <property name="toolTip" stdset="0">           </property>
                             <string>Device name</string>  
                         </property>  
                     </widget>  
                     <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">  
                         <property name="name">  
                             <cstring>DeviceParamTable</cstring>  
                         </property>  
                         <property name="sizePolicy">  
                             <sizepolicy>  
                                 <hsizetype>7</hsizetype>  
                                 <vsizetype>7</vsizetype>  
                                 <horstretch>0</horstretch>  
                                 <verstretch>0</verstretch>  
                             </sizepolicy>  
                         </property>  
                         <property name="minimumSize">  
                             <size>  
                                 <width>360</width>  
                                 <height>260</height>  
                             </size>  
                         </property>  
                         <property name="focusPolicy">  
                             <enum>StrongFocus</enum>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Device parameters</string>  
                         </property>  
                     </widget>  
                     <widget class="QComboBox" row="0" column="2">  
                         <property name="name">  
                             <cstring>DriverNameComboBox</cstring>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Driver type name</string>  
                         </property>  
                     </widget>  
                     <widget class="QLabel" row="0" column="1">  
                         <property name="name">  
                             <cstring>DriverNameTextLabel</cstring>  
                         </property>  
                         <property name="text">  
                             <string>Dri&amp;ver:</string>  
                         </property>  
                         <property name="alignment">  
                             <set>AlignVCenter|AlignRight</set>  
                         </property>  
                         <property name="buddy" stdset="0">  
                             <cstring>DriverNameComboBox</cstring>  
                         </property>  
                     </widget>  
                 </grid>  
             </widget>  
163          </widget>          </widget>
164          <widget class="QLayoutWidget">         </item>
165              <property name="name">         <item>
166                  <cstring>layout6</cstring>          <layout class="QHBoxLayout" >
167              </property>           <property name="margin" >
168              <hbox>            <number>0</number>
169                  <property name="name">           </property>
170                      <cstring>unnamed</cstring>           <property name="spacing" >
171                  </property>            <number>6</number>
172                  <widget class="QPushButton">           </property>
173                      <property name="name">           <item>
174                          <cstring>RefreshDevicesPushButton</cstring>            <spacer>
175                      </property>             <property name="orientation" >
176                      <property name="text">              <enum>Qt::Horizontal</enum>
177                          <string>&amp;Refresh</string>             </property>
178                      </property>             <property name="sizeHint" >
179                      <property name="accel">              <size>
180                          <string>Alt+R</string>               <width>40</width>
181                      </property>               <height>20</height>
182                      <property name="toolTip" stdset="0">              </size>
183                          <string>refresh device list view</string>             </property>
184                      </property>            </spacer>
185                  </widget>           </item>
186                  <spacer>           <item>
187                      <property name="name">            <widget class="QLabel" name="DevicePortTextLabel" >
188                          <cstring>spacer1</cstring>             <property name="text" >
189                      </property>              <string>Channel:</string>
190                      <property name="orientation">             </property>
191                          <enum>Horizontal</enum>             <property name="alignment" >
192                      </property>              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
193                      <property name="sizeType">             </property>
194                          <enum>Expanding</enum>             <property name="wordWrap" >
195                      </property>              <bool>false</bool>
196                      <property name="sizeHint">             </property>
197                          <size>             <property name="buddy" >
198                              <width>180</width>              <cstring>DevicePortComboBox</cstring>
199                              <height>20</height>             </property>
200                          </size>            </widget>
201                      </property>           </item>
202                  </spacer>           <item>
203                  <widget class="QPushButton">            <widget class="QComboBox" name="DevicePortComboBox" >
204                      <property name="name">             <property name="sizePolicy" >
205                          <cstring>CreateDevicePushButton</cstring>              <sizepolicy>
206                      </property>               <hsizetype>7</hsizetype>
207                      <property name="text">               <vsizetype>0</vsizetype>
208                          <string>&amp;Create</string>               <horstretch>0</horstretch>
209                      </property>               <verstretch>0</verstretch>
210                      <property name="accel">              </sizepolicy>
211                          <string>Alt+C</string>             </property>
212                      </property>             <property name="toolTip" >
213                      <property name="toolTip" stdset="0">              <string>Device port/channel</string>
214                          <string>Create current device</string>             </property>
215                      </property>            </widget>
216                  </widget>           </item>
217                  <widget class="QPushButton">          </layout>
218                      <property name="name">         </item>
219                          <cstring>DeleteDevicePushButton</cstring>         <item>
220                      </property>          <widget class="QTableView" name="DevicePortParamTable" >
221                      <property name="text">           <property name="alternatingRowColors" >
222                          <string>&amp;Delete</string>            <bool>true</bool>
223                      </property>           </property>
224                      <property name="accel">           <property name="showGrid" >
225                          <string>Alt+D</string>            <bool>false</bool>
226                      </property>           </property>
                     <property name="toolTip" stdset="0">  
                         <string>Delete current device</string>  
                     </property>  
                 </widget>  
                 <widget class="QPushButton">  
                     <property name="name">  
                         <cstring>ClosePushButton</cstring>  
                     </property>  
                     <property name="text">  
                         <string>Close</string>  
                     </property>  
                     <property name="accel">  
                         <string></string>  
                     </property>  
                     <property name="toolTip" stdset="0">  
                         <string>Close this dialog</string>  
                     </property>  
                 </widget>  
             </hbox>  
227          </widget>          </widget>
228      </vbox>         </item>
229  </widget>        </layout>
230  <customwidgets>       </widget>
231      <customwidget>      </widget>
232          <class>qsamplerDeviceParamTable</class>     </item>
233          <header location="global">qsamplerDevice.h</header>     <item>
234          <sizehint>      <layout class="QHBoxLayout" >
235              <width>-1</width>       <property name="margin" >
236              <height>-1</height>        <number>0</number>
237          </sizehint>       </property>
238          <container>0</container>       <property name="spacing" >
239          <sizepolicy>        <number>4</number>
240              <hordata>7</hordata>       </property>
241              <verdata>7</verdata>       <item>
242              <horstretch>0</horstretch>        <widget class="QPushButton" name="RefreshDevicesPushButton" >
243              <verstretch>0</verstretch>         <property name="toolTip" >
244          </sizepolicy>          <string>Refresh device list view</string>
245          <pixmap>image0</pixmap>         </property>
246      </customwidget>         <property name="text" >
247  </customwidgets>          <string>&amp;Refresh</string>
248  <images>         </property>
249      <image name="image0">         <property name="icon" >
250          <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
251      </image>         </property>
252  </images>         <property name="shortcut" >
253  <connections>          <string>Alt+R</string>
254      <connection>         </property>
255          <sender>DeviceListView</sender>        </widget>
256          <signal>selectionChanged()</signal>       </item>
257          <receiver>qsamplerDeviceForm</receiver>       <item>
258          <slot>selectDevice()</slot>        <spacer>
259      </connection>         <property name="orientation" >
260      <connection>          <enum>Qt::Horizontal</enum>
261          <sender>RefreshDevicesPushButton</sender>         </property>
262          <signal>clicked()</signal>         <property name="sizeType" >
263          <receiver>qsamplerDeviceForm</receiver>          <enum>QSizePolicy::Expanding</enum>
264          <slot>refreshDevices()</slot>         </property>
265      </connection>         <property name="sizeHint" >
266      <connection>          <size>
267          <sender>DriverNameComboBox</sender>           <width>180</width>
268          <signal>activated(const QString&amp;)</signal>           <height>20</height>
269          <receiver>qsamplerDeviceForm</receiver>          </size>
270          <slot>selectDriver(const QString&amp;)</slot>         </property>
271      </connection>        </spacer>
272      <connection>       </item>
273          <sender>CreateDevicePushButton</sender>       <item>
274          <signal>clicked()</signal>        <widget class="QPushButton" name="CreateDevicePushButton" >
275          <receiver>qsamplerDeviceForm</receiver>         <property name="toolTip" >
276          <slot>createDevice()</slot>          <string>Create device</string>
277      </connection>         </property>
278      <connection>         <property name="text" >
279          <sender>DeleteDevicePushButton</sender>          <string>&amp;Create</string>
280          <signal>clicked()</signal>         </property>
281          <receiver>qsamplerDeviceForm</receiver>         <property name="icon" >
282          <slot>deleteDevice()</slot>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
283      </connection>         </property>
284      <connection>         <property name="shortcut" >
285          <sender>ClosePushButton</sender>          <string>Alt+C</string>
286          <signal>clicked()</signal>         </property>
287          <receiver>qsamplerDeviceForm</receiver>        </widget>
288          <slot>close()</slot>       </item>
289      </connection>       <item>
290  </connections>        <widget class="QPushButton" name="DeleteDevicePushButton" >
291  <tabstops>         <property name="toolTip" >
292      <tabstop>DeviceListView</tabstop>          <string>Delete device</string>
293      <tabstop>RefreshDevicesPushButton</tabstop>         </property>
294      <tabstop>DriverNameComboBox</tabstop>         <property name="text" >
295      <tabstop>DeviceParamTable</tabstop>          <string>&amp;Delete</string>
296      <tabstop>CreateDevicePushButton</tabstop>         </property>
297      <tabstop>DeleteDevicePushButton</tabstop>         <property name="icon" >
298      <tabstop>ClosePushButton</tabstop>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
299  </tabstops>         </property>
300  <includes>         <property name="shortcut" >
301      <include location="local" impldecl="in declaration">qsamplerDevice.h</include>          <string>Alt+D</string>
302      <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>         </property>
303  </includes>        </widget>
304  <forwards>       </item>
305      <forward>class qsamplerMainForm;</forward>       <item>
306  </forwards>        <widget class="QPushButton" name="ClosePushButton" >
307  <variables>         <property name="toolTip" >
308      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>          <string>Close this dialog</string>
309      <variable access="private">int m_iDirtySetup;</variable>         </property>
310      <variable access="private">int m_iDirtyCount;</variable>         <property name="text" >
311      <variable access="private">lscp_client_t *m_pClient;</variable>          <string>Close</string>
312      <variable access="private">bool m_bNewDevice;</variable>         </property>
313      <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>         <property name="icon" >
314  </variables>          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
315  <slots>         </property>
316      <slot specifier="non virtual">createDevice()</slot>         <property name="shortcut" >
317      <slot specifier="non virtual">deleteDevice()</slot>          <string/>
318      <slot specifier="non virtual">refreshDevices()</slot>         </property>
319      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>        </widget>
320      <slot specifier="non virtual">selectDevice()</slot>       </item>
321      <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>      </layout>
322      <slot specifier="non virtual">stabilizeForm()</slot>     </item>
323  </slots>    </layout>
324  <functions>   </widget>
325      <function access="private" specifier="non virtual">init()</function>   <layoutdefault spacing="4" margin="4" />
326      <function access="private" specifier="non virtual">destroy()</function>   <tabstops>
327      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>    <tabstop>DeviceListView</tabstop>
328      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>    <tabstop>RefreshDevicesPushButton</tabstop>
329      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>    <tabstop>DriverNameComboBox</tabstop>
330  </functions>    <tabstop>DevicePortComboBox</tabstop>
331  <pixmapinproject/>    <tabstop>CreateDevicePushButton</tabstop>
332  <layoutdefaults spacing="4" margin="4"/>    <tabstop>DeleteDevicePushButton</tabstop>
333  <includehints>    <tabstop>ClosePushButton</tabstop>
334      <includehint>qsamplerdeviceparamtable.h</includehint>   </tabstops>
335  </includehints>   <resources>
336  </UI>    <include location="../icons/qsampler.qrc" />
337     </resources>
338    </ui>

Legend:
Removed from v.436  
changed lines
  Added in v.1505

  ViewVC Help
Powered by ViewVC