/[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 430 by capela, Tue Mar 8 17:23:29 2005 UTC
# Line 2  Line 2 
2  <class>qsamplerDeviceForm</class>  <class>qsamplerDeviceForm</class>
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) 2005, rncbc aka Rui Nuno Capela. All rights reserved.
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 28  Line 28 
28          <rect>          <rect>
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>607</width>              <width>604</width>
32              <height>323</height>              <height>329</height>
33          </rect>          </rect>
34      </property>      </property>
35      <property name="sizePolicy">      <property name="sizePolicy">
# Line 55  Line 55 
55          </property>          </property>
56          <widget class="QSplitter">          <widget class="QSplitter">
57              <property name="name">              <property name="name">
58                  <cstring>splitter4</cstring>                  <cstring>DeviceSplitter</cstring>
59              </property>              </property>
60              <property name="orientation">              <property name="orientation">
61                  <enum>Horizontal</enum>                  <enum>Horizontal</enum>
# Line 158  Line 158 
158                          <property name="name">                          <property name="name">
159                              <cstring>DeviceListView</cstring>                              <cstring>DeviceListView</cstring>
160                          </property>                          </property>
161                            <property name="rootIsDecorated">
162                                <bool>true</bool>
163                            </property>
164                          <property name="resizeMode">                          <property name="resizeMode">
165                              <enum>LastColumn</enum>                              <enum>LastColumn</enum>
166                          </property>                          </property>
167                          <property name="toolTip" stdset="0">                          <property name="toolTip" stdset="0">
168                              <string>Device list view</string>                              <string>Device list</string>
169                          </property>                          </property>
170                      </widget>                      </widget>
171                  </grid>                  </grid>
172              </widget>              </widget>
173              <widget class="QLayoutWidget">              <widget class="QLayoutWidget">
174                  <property name="name">                  <property name="name">
175                      <cstring>layout5</cstring>                      <cstring>layout4</cstring>
176                  </property>                  </property>
177                  <grid>                  <grid>
178                      <property name="name">                      <property name="name">
179                          <cstring>unnamed</cstring>                          <cstring>unnamed</cstring>
180                      </property>                      </property>
181                      <widget class="QPushButton" row="1" column="5">                      <widget class="QPushButton" row="2" column="6">
182                          <property name="name">                          <property name="name">
183                              <cstring>ClosePushButton</cstring>                              <cstring>ClosePushButton</cstring>
184                          </property>                          </property>
# Line 201  Line 204 
204                              <string>Close this dialog</string>                              <string>Close this dialog</string>
205                          </property>                          </property>
206                      </widget>                      </widget>
207                      <spacer row="1" column="4">                      <widget class="QPushButton" row="2" column="2">
                         <property name="name">  
                             <cstring>spacer3</cstring>  
                         </property>  
                         <property name="orientation">  
                             <enum>Horizontal</enum>  
                         </property>  
                         <property name="sizeType">  
                             <enum>Expanding</enum>  
                         </property>  
                         <property name="sizeHint">  
                             <size>  
                                 <width>30</width>  
                                 <height>20</height>  
                             </size>  
                         </property>  
                     </spacer>  
                     <widget class="QPushButton" row="1" column="2">  
208                          <property name="name">                          <property name="name">
209                              <cstring>UpdateDevicePushButton</cstring>                              <cstring>UpdateDevicePushButton</cstring>
210                          </property>                          </property>
# Line 244  Line 230 
230                              <string>Update current device</string>                              <string>Update current device</string>
231                          </property>                          </property>
232                      </widget>                      </widget>
233                      <spacer row="1" column="0">                      <spacer row="2" column="5">
234                            <property name="name">
235                                <cstring>spacer3</cstring>
236                            </property>
237                            <property name="orientation">
238                                <enum>Horizontal</enum>
239                            </property>
240                            <property name="sizeType">
241                                <enum>Expanding</enum>
242                            </property>
243                            <property name="sizeHint">
244                                <size>
245                                    <width>38</width>
246                                    <height>20</height>
247                                </size>
248                            </property>
249                        </spacer>
250                        <spacer row="2" column="0">
251                          <property name="name">                          <property name="name">
252                              <cstring>spacer2</cstring>                              <cstring>spacer2</cstring>
253                          </property>                          </property>
# Line 261  Line 264 
264                              </size>                              </size>
265                          </property>                          </property>
266                      </spacer>                      </spacer>
267                      <widget class="qsamplerDeviceParamTable" row="0" column="0" rowspan="1" colspan="6">                      <widget class="QPushButton" row="2" column="3" rowspan="1" colspan="2">
268                          <property name="name">                          <property name="name">
269                              <cstring>DeviceParamTable</cstring>                              <cstring>DeleteDevicePushButton</cstring>
                         </property>  
                         <property name="sizePolicy">  
                             <sizepolicy>  
                                 <hsizetype>7</hsizetype>  
                                 <vsizetype>7</vsizetype>  
                                 <horstretch>0</horstretch>  
                                 <verstretch>0</verstretch>  
                             </sizepolicy>  
270                          </property>                          </property>
271                          <property name="minimumSize">                          <property name="minimumSize">
272                              <size>                              <size>
273                                  <width>0</width>                                  <width>0</width>
274                                  <height>260</height>                                  <height>28</height>
275                              </size>                              </size>
276                          </property>                          </property>
277                          <property name="focusPolicy">                          <property name="maximumSize">
278                              <enum>StrongFocus</enum>                              <size>
279                                    <width>32767</width>
280                                    <height>28</height>
281                                </size>
282                            </property>
283                            <property name="text">
284                                <string>&amp;Delete</string>
285                            </property>
286                            <property name="accel">
287                                <string>Alt+D</string>
288                            </property>
289                            <property name="toolTip" stdset="0">
290                                <string>Delete current device</string>
291                          </property>                          </property>
292                      </widget>                      </widget>
293                      <widget class="QPushButton" row="1" column="1">                      <widget class="QComboBox" row="0" column="6">
294                            <property name="name">
295                                <cstring>DriverNameComboBox</cstring>
296                            </property>
297                            <property name="toolTip" stdset="0">
298                                <string>Driver type name</string>
299                            </property>
300                        </widget>
301                        <widget class="QPushButton" row="2" column="1">
302                          <property name="name">                          <property name="name">
303                              <cstring>CreateDevicePushButton</cstring>                              <cstring>CreateDevicePushButton</cstring>
304                          </property>                          </property>
# Line 309  Line 324 
324                              <string>Create current device</string>                              <string>Create current device</string>
325                          </property>                          </property>
326                      </widget>                      </widget>
327                      <widget class="QPushButton" row="1" column="3">                      <widget class="QLabel" row="0" column="4" rowspan="1" colspan="2">
328                          <property name="name">                          <property name="name">
329                              <cstring>DeleteDevicePushButton</cstring>                              <cstring>DriverNameTextLabel</cstring>
330                            </property>
331                            <property name="text">
332                                <string>&amp;Driver:</string>
333                            </property>
334                            <property name="alignment">
335                                <set>AlignVCenter|AlignRight</set>
336                            </property>
337                            <property name="buddy" stdset="0">
338                                <cstring>DriverNameComboBox</cstring>
339                            </property>
340                        </widget>
341                        <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="7">
342                            <property name="name">
343                                <cstring>DeviceParamTable</cstring>
344                            </property>
345                            <property name="sizePolicy">
346                                <sizepolicy>
347                                    <hsizetype>7</hsizetype>
348                                    <vsizetype>7</vsizetype>
349                                    <horstretch>0</horstretch>
350                                    <verstretch>0</verstretch>
351                                </sizepolicy>
352                          </property>                          </property>
353                          <property name="minimumSize">                          <property name="minimumSize">
354                              <size>                              <size>
355                                  <width>0</width>                                  <width>0</width>
356                                  <height>28</height>                                  <height>260</height>
357                              </size>                              </size>
358                          </property>                          </property>
359                          <property name="maximumSize">                          <property name="focusPolicy">
360                              <size>                              <enum>StrongFocus</enum>
                                 <width>32767</width>  
                                 <height>28</height>  
                             </size>  
361                          </property>                          </property>
362                          <property name="text">                          <property name="toolTip" stdset="0">
363                              <string>&amp;Delete</string>                              <string>Device parameters</string>
364                          </property>                          </property>
365                          <property name="accel">                      </widget>
366                              <string>Alt+D</string>                      <widget class="QLabel" row="0" column="0" rowspan="1" colspan="4">
367                            <property name="name">
368                                <cstring>DeviceNameTextLabel</cstring>
369                            </property>
370                            <property name="sizePolicy">
371                                <sizepolicy>
372                                    <hsizetype>7</hsizetype>
373                                    <vsizetype>5</vsizetype>
374                                    <horstretch>0</horstretch>
375                                    <verstretch>0</verstretch>
376                                </sizepolicy>
377                            </property>
378                            <property name="font">
379                                <font>
380                                    <pointsize>10</pointsize>
381                                    <bold>1</bold>
382                                </font>
383                            </property>
384                            <property name="text">
385                                <string></string>
386                          </property>                          </property>
387                          <property name="toolTip" stdset="0">                          <property name="toolTip" stdset="0">
388                              <string>Delete current device</string>                              <string>Device name</string>
389                          </property>                          </property>
390                      </widget>                      </widget>
391                  </grid>                  </grid>
# Line 358  Line 411 
411          <pixmap>image0</pixmap>          <pixmap>image0</pixmap>
412      </customwidget>      </customwidget>
413  </customwidgets>  </customwidgets>
414    <images>
415        <image name="image0">
416            <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>
417        </image>
418    </images>
419  <connections>  <connections>
420      <connection>      <connection>
421            <sender>DeviceListView</sender>
422            <signal>selectionChanged()</signal>
423            <receiver>qsamplerDeviceForm</receiver>
424            <slot>selectDevice()</slot>
425        </connection>
426        <connection>
427          <sender>LoadDevicesPushButton</sender>          <sender>LoadDevicesPushButton</sender>
428          <signal>clicked()</signal>          <signal>clicked()</signal>
429          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
# Line 372  Line 436 
436          <slot>saveDevices()</slot>          <slot>saveDevices()</slot>
437      </connection>      </connection>
438      <connection>      <connection>
439            <sender>DriverNameComboBox</sender>
440            <signal>activated(const QString&amp;)</signal>
441            <receiver>qsamplerDeviceForm</receiver>
442            <slot>selectDriver(const QString&amp;)</slot>
443        </connection>
444        <connection>
445          <sender>CreateDevicePushButton</sender>          <sender>CreateDevicePushButton</sender>
446          <signal>clicked()</signal>          <signal>clicked()</signal>
447          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
# Line 398  Line 468 
468  </connections>  </connections>
469  <tabstops>  <tabstops>
470      <tabstop>DeviceListView</tabstop>      <tabstop>DeviceListView</tabstop>
     <tabstop>DeviceParamTable</tabstop>  
471      <tabstop>LoadDevicesPushButton</tabstop>      <tabstop>LoadDevicesPushButton</tabstop>
472      <tabstop>SaveDevicesPushButton</tabstop>      <tabstop>SaveDevicesPushButton</tabstop>
473        <tabstop>DeviceParamTable</tabstop>
474        <tabstop>DriverNameComboBox</tabstop>
475      <tabstop>CreateDevicePushButton</tabstop>      <tabstop>CreateDevicePushButton</tabstop>
476      <tabstop>UpdateDevicePushButton</tabstop>      <tabstop>UpdateDevicePushButton</tabstop>
477      <tabstop>DeleteDevicePushButton</tabstop>      <tabstop>DeleteDevicePushButton</tabstop>
# Line 420  Line 491 
491      <variable access="private">int m_iUntitled;</variable>      <variable access="private">int m_iUntitled;</variable>
492      <variable access="private">QString m_sFilename;</variable>      <variable access="private">QString m_sFilename;</variable>
493      <variable access="private">lscp_client_t *m_pClient;</variable>      <variable access="private">lscp_client_t *m_pClient;</variable>
494        <variable access="private">bool m_bNewDevice;</variable>
495  </variables>  </variables>
496  <slots>  <slots>
497      <slot specifier="non virtual">contentsChanged()</slot>      <slot specifier="non virtual">contentsChanged()</slot>
# Line 428  Line 500 
500      <slot specifier="non virtual">createDevice()</slot>      <slot specifier="non virtual">createDevice()</slot>
501      <slot specifier="non virtual">updateDevice()</slot>      <slot specifier="non virtual">updateDevice()</slot>
502      <slot specifier="non virtual">deleteDevice()</slot>      <slot specifier="non virtual">deleteDevice()</slot>
     <slot specifier="non virtual">selectDevice( QListViewItem * pItem )</slot>  
503      <slot specifier="non virtual">refreshDevices()</slot>      <slot specifier="non virtual">refreshDevices()</slot>
504        <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
505        <slot specifier="non virtual">selectDevice()</slot>
506      <slot specifier="non virtual">stabilizeForm()</slot>      <slot specifier="non virtual">stabilizeForm()</slot>
507  </slots>  </slots>
508  <functions>  <functions>

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

  ViewVC Help
Powered by ViewVC