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

  ViewVC Help
Powered by ViewVC