/[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 429 by capela, Tue Mar 8 14:56:05 2005 UTC revision 1521 by schoenebeck, Sat Nov 24 20:11:08 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) 2004-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>607</width>    </property>
33              <height>323</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      <hbox>          <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>splitter4</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="QLayoutWidget">            </property>
123                  <property name="name">            <property name="spacing" >
124                      <cstring>layout1</cstring>             <number>6</number>
125                  </property>            </property>
126                  <grid>            <item>
127                      <property name="name">             <widget class="QLabel" name="DeviceNameTextLabel" >
128                          <cstring>unnamed</cstring>              <property name="sizePolicy" >
129                      </property>               <sizepolicy>
130                      <widget class="QPushButton" row="1" column="1">                <hsizetype>0</hsizetype>
131                          <property name="name">                <vsizetype>0</vsizetype>
132                              <cstring>SaveDevicesPushButton</cstring>                <horstretch>0</horstretch>
133                          </property>                <verstretch>0</verstretch>
134                          <property name="minimumSize">               </sizepolicy>
135                              <size>              </property>
136                                  <width>0</width>              <property name="font" >
137                                  <height>28</height>               <font>
138                              </size>                <weight>75</weight>
139                          </property>                <bold>true</bold>
140                          <property name="maximumSize">               </font>
141                              <size>              </property>
142                                  <width>32767</width>              <property name="toolTip" >
143                                  <height>28</height>               <string>Device name</string>
144                              </size>              </property>
145                          </property>              <property name="wordWrap" >
146                          <property name="text">               <bool>false</bool>
147                              <string>&amp;Save...</string>              </property>
148                          </property>              <property name="indent" >
149                          <property name="accel">               <number>4</number>
150                              <string>Alt+S</string>              </property>
151                          </property>             </widget>
152                          <property name="iconSet">            </item>
153                              <iconset>fileSave.png</iconset>            <item>
154                          </property>             <widget class="QLabel" name="DriverNameTextLabel" >
155                          <property name="toolTip" stdset="0">              <property name="text" >
156                              <string>Save device configuration to file</string>               <string>Dri&amp;ver:</string>
157                          </property>              </property>
158                      </widget>              <property name="alignment" >
159                      <spacer row="1" column="2">               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
160                          <property name="name">              </property>
161                              <cstring>spacer1</cstring>              <property name="wordWrap" >
162                          </property>               <bool>false</bool>
163                          <property name="orientation">              </property>
164                              <enum>Horizontal</enum>              <property name="buddy" >
165                          </property>               <cstring>DriverNameComboBox</cstring>
166                          <property name="sizeType">              </property>
167                              <enum>Expanding</enum>             </widget>
168                          </property>            </item>
169                          <property name="sizeHint">            <item>
170                              <size>             <widget class="QComboBox" name="DriverNameComboBox" >
171                                  <width>24</width>              <property name="toolTip" >
172                                  <height>16</height>               <string>Driver type name</string>
173                              </size>              </property>
174                          </property>             </widget>
175                      </spacer>            </item>
176                      <widget class="QPushButton" row="1" column="0">           </layout>
177                          <property name="name">          </item>
178                              <cstring>LoadDevicesPushButton</cstring>          <item>
179                          </property>           <widget class="QTableView" name="DeviceParamTable" >
180                          <property name="minimumSize">            <property name="alternatingRowColors" >
181                              <size>             <bool>true</bool>
182                                  <width>0</width>            </property>
183                                  <height>28</height>            <property name="selectionMode" >
184                              </size>             <enum>QAbstractItemView::NoSelection</enum>
185                          </property>            </property>
186                          <property name="maximumSize">            <property name="showGrid" >
187                              <size>             <bool>false</bool>
188                                  <width>32767</width>            </property>
189                                  <height>28</height>           </widget>
190                              </size>          </item>
191                          </property>         </layout>
192                          <property name="text">        </widget>
193                              <string>&amp;Load...</string>        <widget class="QWidget" name="PortParamLayout" >
194                          </property>         <layout class="QVBoxLayout" >
195                          <property name="accel">          <property name="margin" >
196                              <string>Alt+L</string>           <number>0</number>
197                          </property>          </property>
198                          <property name="iconSet">          <property name="spacing" >
199                              <iconset>fileOpen.png</iconset>           <number>6</number>
200                          </property>          </property>
201                          <property name="toolTip" stdset="0">          <item>
202                              <string>Load device configuration from file</string>           <layout class="QHBoxLayout" >
203                          </property>            <property name="margin" >
204                      </widget>             <number>0</number>
205                      <widget class="QListView" row="0" column="0" rowspan="1" colspan="3">            </property>
206                          <column>            <property name="spacing" >
207                              <property name="text">             <number>6</number>
208                                  <string>Devices</string>            </property>
209                              </property>            <item>
210                              <property name="clickable">             <spacer>
211                                  <bool>true</bool>              <property name="orientation" >
212                              </property>               <enum>Qt::Horizontal</enum>
213                              <property name="resizable">              </property>
214                                  <bool>true</bool>              <property name="sizeHint" >
215                              </property>               <size>
216                          </column>                <width>40</width>
217                          <property name="name">                <height>20</height>
218                              <cstring>DeviceListView</cstring>               </size>
219                          </property>              </property>
220                          <property name="resizeMode">             </spacer>
221                              <enum>LastColumn</enum>            </item>
222                          </property>            <item>
223                          <property name="toolTip" stdset="0">             <widget class="QLabel" name="DevicePortTextLabel" >
224                              <string>Device list view</string>              <property name="text" >
225                          </property>               <string>Channel:</string>
226                      </widget>              </property>
227                  </grid>              <property name="alignment" >
228              </widget>               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
229              <widget class="QLayoutWidget">              </property>
230                  <property name="name">              <property name="wordWrap" >
231                      <cstring>layout5</cstring>               <bool>false</bool>
232                  </property>              </property>
233                  <grid>              <property name="buddy" >
234                      <property name="name">               <cstring>DevicePortComboBox</cstring>
235                          <cstring>unnamed</cstring>              </property>
236                      </property>             </widget>
237                      <widget class="QPushButton" row="1" column="5">            </item>
238                          <property name="name">            <item>
239                              <cstring>ClosePushButton</cstring>             <widget class="QComboBox" name="DevicePortComboBox" >
240                          </property>              <property name="sizePolicy" >
241                          <property name="minimumSize">               <sizepolicy>
242                              <size>                <hsizetype>0</hsizetype>
243                                  <width>0</width>                <vsizetype>0</vsizetype>
244                                  <height>28</height>                <horstretch>0</horstretch>
245                              </size>                <verstretch>0</verstretch>
246                          </property>               </sizepolicy>
247                          <property name="maximumSize">              </property>
248                              <size>              <property name="toolTip" >
249                                  <width>32767</width>               <string>Device port/channel</string>
250                                  <height>28</height>              </property>
251                              </size>             </widget>
252                          </property>            </item>
253                          <property name="text">           </layout>
254                              <string>Close</string>          </item>
255                          </property>          <item>
256                          <property name="accel">           <widget class="QTableView" name="DevicePortParamTable" >
257                              <string></string>            <property name="alternatingRowColors" >
258                          </property>             <bool>true</bool>
259                          <property name="toolTip" stdset="0">            </property>
260                              <string>Close this dialog</string>            <property name="selectionMode" >
261                          </property>             <enum>QAbstractItemView::NoSelection</enum>
262                      </widget>            </property>
263                      <spacer row="1" column="4">            <property name="showGrid" >
264                          <property name="name">             <bool>false</bool>
265                              <cstring>spacer3</cstring>            </property>
266                          </property>           </widget>
267                          <property name="orientation">          </item>
268                              <enum>Horizontal</enum>         </layout>
269                          </property>        </widget>
270                          <property name="sizeType">       </widget>
271                              <enum>Expanding</enum>      </widget>
272                          </property>     </item>
273                          <property name="sizeHint">     <item>
274                              <size>      <layout class="QHBoxLayout" >
275                                  <width>30</width>       <property name="margin" >
276                                  <height>20</height>        <number>0</number>
277                              </size>       </property>
278                          </property>       <property name="spacing" >
279                      </spacer>        <number>4</number>
280                      <widget class="QPushButton" row="1" column="2">       </property>
281                          <property name="name">       <item>
282                              <cstring>UpdateDevicePushButton</cstring>        <widget class="QPushButton" name="RefreshDevicesPushButton" >
283                          </property>         <property name="toolTip" >
284                          <property name="minimumSize">          <string>Refresh device list view</string>
285                              <size>         </property>
286                                  <width>0</width>         <property name="text" >
287                                  <height>28</height>          <string>&amp;Refresh</string>
288                              </size>         </property>
289                          </property>         <property name="icon" >
290                          <property name="maximumSize">          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
291                              <size>         </property>
292                                  <width>32767</width>         <property name="shortcut" >
293                                  <height>28</height>          <string>Alt+R</string>
294                              </size>         </property>
295                          </property>        </widget>
296                          <property name="text">       </item>
297                              <string>&amp;Update</string>       <item>
298                          </property>        <spacer>
299                          <property name="accel">         <property name="orientation" >
300                              <string>Alt+U</string>          <enum>Qt::Horizontal</enum>
301                          </property>         </property>
302                          <property name="toolTip" stdset="0">         <property name="sizeType" >
303                              <string>Update current device</string>          <enum>QSizePolicy::Expanding</enum>
304                          </property>         </property>
305                      </widget>         <property name="sizeHint" >
306                      <spacer row="1" column="0">          <size>
307                          <property name="name">           <width>180</width>
308                              <cstring>spacer2</cstring>           <height>20</height>
309                          </property>          </size>
310                          <property name="orientation">         </property>
311                              <enum>Horizontal</enum>        </spacer>
312                          </property>       </item>
313                          <property name="sizeType">       <item>
314                              <enum>Minimum</enum>        <widget class="QPushButton" name="CreateDevicePushButton" >
315                          </property>         <property name="toolTip" >
316                          <property name="sizeHint">          <string>Create device</string>
317                              <size>         </property>
318                                  <width>4</width>         <property name="text" >
319                                  <height>20</height>          <string>&amp;Create</string>
320                              </size>         </property>
321                          </property>         <property name="icon" >
322                      </spacer>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
323                      <widget class="qsamplerDeviceParamTable" row="0" column="0" rowspan="1" colspan="6">         </property>
324                          <property name="name">         <property name="shortcut" >
325                              <cstring>DeviceParamTable</cstring>          <string>Alt+C</string>
326                          </property>         </property>
327                          <property name="sizePolicy">        </widget>
328                              <sizepolicy>       </item>
329                                  <hsizetype>7</hsizetype>       <item>
330                                  <vsizetype>7</vsizetype>        <widget class="QPushButton" name="DeleteDevicePushButton" >
331                                  <horstretch>0</horstretch>         <property name="toolTip" >
332                                  <verstretch>0</verstretch>          <string>Delete device</string>
333                              </sizepolicy>         </property>
334                          </property>         <property name="text" >
335                          <property name="minimumSize">          <string>&amp;Delete</string>
336                              <size>         </property>
337                                  <width>0</width>         <property name="icon" >
338                                  <height>260</height>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
339                              </size>         </property>
340                          </property>         <property name="shortcut" >
341                          <property name="focusPolicy">          <string>Alt+D</string>
342                              <enum>StrongFocus</enum>         </property>
343                          </property>        </widget>
344                      </widget>       </item>
345                      <widget class="QPushButton" row="1" column="1">       <item>
346                          <property name="name">        <widget class="QPushButton" name="ClosePushButton" >
347                              <cstring>CreateDevicePushButton</cstring>         <property name="toolTip" >
348                          </property>          <string>Close this dialog</string>
349                          <property name="minimumSize">         </property>
350                              <size>         <property name="text" >
351                                  <width>0</width>          <string>Close</string>
352                                  <height>28</height>         </property>
353                              </size>         <property name="icon" >
354                          </property>          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
355                          <property name="maximumSize">         </property>
356                              <size>         <property name="shortcut" >
357                                  <width>32767</width>          <string/>
358                                  <height>28</height>         </property>
359                              </size>        </widget>
360                          </property>       </item>
361                          <property name="text">      </layout>
362                              <string>&amp;Create</string>     </item>
363                          </property>    </layout>
364                          <property name="accel">   </widget>
365                              <string>Alt+C</string>   <layoutdefault spacing="4" margin="4" />
366                          </property>   <tabstops>
367                          <property name="toolTip" stdset="0">    <tabstop>DeviceListView</tabstop>
368                              <string>Create current device</string>    <tabstop>RefreshDevicesPushButton</tabstop>
369                          </property>    <tabstop>DriverNameComboBox</tabstop>
370                      </widget>    <tabstop>DevicePortComboBox</tabstop>
371                      <widget class="QPushButton" row="1" column="3">    <tabstop>CreateDevicePushButton</tabstop>
372                          <property name="name">    <tabstop>DeleteDevicePushButton</tabstop>
373                              <cstring>DeleteDevicePushButton</cstring>    <tabstop>ClosePushButton</tabstop>
374                          </property>   </tabstops>
375                          <property name="minimumSize">   <resources>
376                              <size>    <include location="../icons/qsampler.qrc" />
377                                  <width>0</width>   </resources>
378                                  <height>28</height>   <connections/>
379                              </size>  </ui>
                         </property>  
                         <property name="maximumSize">  
                             <size>  
                                 <width>32767</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="text">  
                             <string>&amp;Delete</string>  
                         </property>  
                         <property name="accel">  
                             <string>Alt+D</string>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Delete current device</string>  
                         </property>  
                     </widget>  
                 </grid>  
             </widget>  
         </widget>  
     </hbox>  
 </widget>  
 <customwidgets>  
     <customwidget>  
         <class>qsamplerDeviceParamTable</class>  
         <header location="global">qsamplerDevice.h</header>  
         <sizehint>  
             <width>-1</width>  
             <height>-1</height>  
         </sizehint>  
         <container>0</container>  
         <sizepolicy>  
             <hordata>7</hordata>  
             <verdata>7</verdata>  
             <horstretch>0</horstretch>  
             <verstretch>0</verstretch>  
         </sizepolicy>  
         <pixmap>image0</pixmap>  
     </customwidget>  
 </customwidgets>  
 <connections>  
     <connection>  
         <sender>LoadDevicesPushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>loadDevices()</slot>  
     </connection>  
     <connection>  
         <sender>SaveDevicesPushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>saveDevices()</slot>  
     </connection>  
     <connection>  
         <sender>CreateDevicePushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>createDevice()</slot>  
     </connection>  
     <connection>  
         <sender>UpdateDevicePushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>updateDevice()</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>DeviceParamTable</tabstop>  
     <tabstop>LoadDevicesPushButton</tabstop>  
     <tabstop>SaveDevicesPushButton</tabstop>  
     <tabstop>CreateDevicePushButton</tabstop>  
     <tabstop>UpdateDevicePushButton</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">int m_iUntitled;</variable>  
     <variable access="private">QString m_sFilename;</variable>  
     <variable access="private">lscp_client_t *m_pClient;</variable>  
 </variables>  
 <slots>  
     <slot specifier="non virtual">contentsChanged()</slot>  
     <slot specifier="non virtual">loadDevices()</slot>  
     <slot specifier="non virtual">saveDevices()</slot>  
     <slot specifier="non virtual">createDevice()</slot>  
     <slot specifier="non virtual">updateDevice()</slot>  
     <slot specifier="non virtual">deleteDevice()</slot>  
     <slot specifier="non virtual">selectDevice( QListViewItem * pItem )</slot>  
     <slot specifier="non virtual">refreshDevices()</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>  
     <function specifier="non virtual" returnType="QString">devicesName( const QString &amp; sFilename )</function>  
     <function specifier="non virtual" returnType="bool">queryClose()</function>  
     <function specifier="non virtual">loadDevicesFile( const QString &amp; sFilename )</function>  
     <function specifier="non virtual">saveDevicesFile( const QString &amp; sFilename )</function>  
 </functions>  
 <pixmapinproject/>  
 <layoutdefaults spacing="4" margin="4"/>  
 <includehints>  
     <includehint>qsamplerdeviceparamtable.h</includehint>  
 </includehints>  
 </UI>  

Legend:
Removed from v.429  
changed lines
  Added in v.1521

  ViewVC Help
Powered by ViewVC