/[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 428 by capela, Mon Mar 7 17:05:55 2005 UTC revision 432 by capela, Wed Mar 9 11:33:27 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 75  Line 75 
75                          <property name="minimumSize">                          <property name="minimumSize">
76                              <size>                              <size>
77                                  <width>0</width>                                  <width>0</width>
78                                  <height>30</height>                                  <height>28</height>
79                              </size>                              </size>
80                          </property>                          </property>
81                          <property name="maximumSize">                          <property name="maximumSize">
82                              <size>                              <size>
83                                  <width>32767</width>                                  <width>32767</width>
84                                  <height>30</height>                                  <height>28</height>
85                              </size>                              </size>
86                          </property>                          </property>
87                          <property name="text">                          <property name="text">
# Line 121  Line 121 
121                          <property name="minimumSize">                          <property name="minimumSize">
122                              <size>                              <size>
123                                  <width>0</width>                                  <width>0</width>
124                                  <height>30</height>                                  <height>28</height>
125                              </size>                              </size>
126                          </property>                          </property>
127                          <property name="maximumSize">                          <property name="maximumSize">
128                              <size>                              <size>
129                                  <width>32767</width>                                  <width>32767</width>
130                                  <height>30</height>                                  <height>28</height>
131                              </size>                              </size>
132                          </property>                          </property>
133                          <property name="text">                          <property name="text">
# 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>
185                          <property name="minimumSize">                          <property name="minimumSize">
186                              <size>                              <size>
187                                  <width>0</width>                                  <width>0</width>
188                                  <height>30</height>                                  <height>28</height>
189                              </size>                              </size>
190                          </property>                          </property>
191                          <property name="maximumSize">                          <property name="maximumSize">
192                              <size>                              <size>
193                                  <width>32767</width>                                  <width>32767</width>
194                                  <height>30</height>                                  <height>28</height>
195                              </size>                              </size>
196                          </property>                          </property>
197                          <property name="text">                          <property name="text">
# 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>
211                          <property name="minimumSize">                          <property name="minimumSize">
212                              <size>                              <size>
213                                  <width>0</width>                                  <width>0</width>
214                                  <height>30</height>                                  <height>28</height>
215                              </size>                              </size>
216                          </property>                          </property>
217                          <property name="maximumSize">                          <property name="maximumSize">
218                              <size>                              <size>
219                                  <width>32767</width>                                  <width>32767</width>
220                                  <height>30</height>                                  <height>28</height>
221                              </size>                              </size>
222                          </property>                          </property>
223                          <property name="text">                          <property name="text">
# 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="qsamplerDeviceParameterTable" 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>DeviceParameterTable</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>
305                          <property name="minimumSize">                          <property name="minimumSize">
306                              <size>                              <size>
307                                  <width>0</width>                                  <width>0</width>
308                                  <height>30</height>                                  <height>28</height>
309                              </size>                              </size>
310                          </property>                          </property>
311                          <property name="maximumSize">                          <property name="maximumSize">
312                              <size>                              <size>
313                                  <width>32767</width>                                  <width>32767</width>
314                                  <height>30</height>                                  <height>28</height>
315                              </size>                              </size>
316                          </property>                          </property>
317                          <property name="text">                          <property name="text">
# 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>30</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>30</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 342  Line 395 
395  </widget>  </widget>
396  <customwidgets>  <customwidgets>
397      <customwidget>      <customwidget>
398          <class>qsamplerDeviceParameterTable</class>          <class>qsamplerDeviceParamTable</class>
399          <header location="global">qsamplerDevice.h</header>          <header location="global">qsamplerDevice.h</header>
400          <sizehint>          <sizehint>
401              <width>-1</width>              <width>-1</width>
# Line 360  Line 413 
413  </customwidgets>  </customwidgets>
414  <images>  <images>
415      <image name="image0">      <image name="image0">
416          <data format="XPM.GZ" length="4462">789c9d97c76e24490e86effd1442f3d65870d2451a0ce6206f5adeb4cc620f8c34f2553225b5a4c1befb46927fe6a1d4c0ccac4287fa8a0c2623e8b27efbb670b6bfb3f0edb72fcf33995dd70bf5953c2d7c6b5eeeefdffffd9f3ffefcf2354916faff385a48befeebcbd783d942bdb03b9db43d3005a048ff948f94937ef54cd72367ca3272ae4c2397ba3f1e59940f47ae958f476e7a9645e56c789ec8c866ff7d64dd2f4be0ccfc91d9c82aa7ab91d53e1be7fd52fd1de532b0d9bb5796f08df99f28375117eb7dd047cf711496f977074ee254e58572d22f95ff504e6307fb9391d51fda5776710efd0f70093e03070f7af60fca795ce1fe5f06367d72e0dafc61e372602a95252c3bff09b8c6f9ce95ebb8313955c6496272b91dd9fc3b556e1367f6a5ed390873d8df554e922276eacf09b834a675e53269b07fd3388d20d7fb4d24e94cee6be3348e0ae5e9c816af03659fc6d8bf074ec12bca759ac49a8ff45db90b72cbcf149cc56a8f347e699c56c69c8125ae947f2a17591c195f2a97fdd2f310b8337dd91ed99ebfda7348cfdaec8be6679664ade993e663e6025b3e7b70175b3eabbdac7615ea2957ee9c37b96cf4ec225781b7c090d321b806eb7e4d478db7d778bac475967f5c19e711ea55efcfa5791c6bfff01d18f5ec9b91554ef1c049acfc044e6d3f6bfeb96cd0970b6597a7c67e32b0e5a3d7fb76799e997fb20c76e63f697c5c913bd48fdeafabf212e78906c6fd6afe39c92bd8eb064e34dfbdf63fe77341bd5c0e6c723a06fbd8cea7fdc3d583dcdf283739ea5156c10dce773730eca7239bbef617d78ecf3b027bbb3f79000ffde27660f387ed3c5dbf54dfe2dd057b56df35b8357daff997c7458cfadf07a31f90f6db3c2b52f3475ec05962fd660b9c23dfb5fe7317e4365f56c18817af80a12f7a9f795e840ea2fb6fc069a2fd85b53ef3a2407ce459598adc98357ff3a65fba9f95dba2c1f3f647d6f38af6cb222f4bdc6f06ae20d7fe59146591587fd80097765ef1239bfc0d8cfdbc36b2f5c365b0c0bee657d83ec8b57e0ae997b2cec3b21f4fe6bff6d7b2df6ef7adf12babaac6f92e8c25b27ecc1f239b7f3a5fca5a86fbd4f95a3681cddf257066f9458f039bbe987e27696af7cfe02cb5f368bcaa28e85b7d5d80f3c4ceb308aee0dfdec8362ff5fc552ce85fbc0e16f8b33c30e2a5f7512552c1bf73b04fb49f7a19d99eaff75565fd527e3516975a3d6a3cab5cd06fa933f691c557349e55e123cc8f4d708c7e1f8d6cf22d30e68fa781e18ff6d3aa1cf4650f9c245e9faff3aeaa7c8679b6087698ff3a0f2af131fa6b0346bf15cde7ca0ffed3043cd46f0c76b87fedcf551dd8fcdb00a33ef90c5ca0beedfe9af07cf3ff10ec30cf96c0c3fcdf0157e0d3916d1e18b7beb47aa007b020dfdb914d5febadea7c9459fc2fc195dd9f2460c13cd4792651b06ffde5192c96af5c823de2a9f927b1cfcc1f99822bdb2f4760d43317608f7ad47c92a45faaaff725a96f501f6b239b7fdaff259433faa9f673913a43fee97c93a6f6c87f7dff91b6aed13f749e48e7dbdcde07b59ffbc877b9e5bbc6df87173e63d1fbf3499321dfa381e1bf3edf87d795c2e6c101d839abcf17700ed6f87a37e8f314ecf07ced0fbe08af3f169f47700ef933b8003f8c6ce79b814bb0f64f5ffa5a341efc643cca1fc195b1d77ee59ba6453c75fef836b0ded7c1ac5f4c7fbd0e66833e0b7baeb9e1f617abe34bbeb21da61f3e79bee61bbee53bbee7094ff9811ff9899fc39af10bbff2cf39fd3a68bff13b7ff0222ff132aff02aaff13a6ff0266ff177de9ed36f782768eff21eeff3011ff25158c77cc23ff894cfc2aef339fd36787211b4238e8376c22967ecc2a798732eb8e4ea93fe3d2f862f88843cd5d4504b1d5dd2155dd30dddfec2fe8497e82e48ef6942537aa0477aa2679a050b2ff44af3e76d794a6ff44e1fc1f6222dd132ad04cd555aa3f5606383363fe93fd056907ca76ddaa15dda0bdafbbc46077418be3da2e34ffa4f74c247f4834ee94c6d0b9dd305451407fd84d24ffa8f94f131b970ca3c681754861d95b084ca142ff5677fa491960fa5934bb9926bb9915b3e923bb997894ce5615e5f1ee5499e83fe4c5ee4557eca9bbccb872cca922ccb8aacfec2fe9aaccb46886b2c9bb225df655b7682f692ecca9eeccfe97772c09b722847722c27c1f3eb70f66bf9116c9fca999ccbc59cfe25bf4a147e32869f591226a384d72b29a5f2ecc98bf77efebc572163b77de35bdff94b7fe5affd8dbff577b2eaeffdc44ffdfc79ffe6fafff4fffe8e7f5ceffffdfdcbff005562c408</data>          <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>
417      </image>      </image>
418  </images>  </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 377  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>DeviceParamTable</sender>
446            <signal>valueChanged(int,int)</signal>
447            <receiver>qsamplerDeviceForm</receiver>
448            <slot>changeValue(int,int)</slot>
449        </connection>
450        <connection>
451          <sender>CreateDevicePushButton</sender>          <sender>CreateDevicePushButton</sender>
452          <signal>clicked()</signal>          <signal>clicked()</signal>
453          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
# Line 403  Line 474 
474  </connections>  </connections>
475  <tabstops>  <tabstops>
476      <tabstop>DeviceListView</tabstop>      <tabstop>DeviceListView</tabstop>
     <tabstop>DeviceParameterTable</tabstop>  
477      <tabstop>LoadDevicesPushButton</tabstop>      <tabstop>LoadDevicesPushButton</tabstop>
478      <tabstop>SaveDevicesPushButton</tabstop>      <tabstop>SaveDevicesPushButton</tabstop>
479        <tabstop>DeviceParamTable</tabstop>
480        <tabstop>DriverNameComboBox</tabstop>
481      <tabstop>CreateDevicePushButton</tabstop>      <tabstop>CreateDevicePushButton</tabstop>
482      <tabstop>UpdateDevicePushButton</tabstop>      <tabstop>UpdateDevicePushButton</tabstop>
483      <tabstop>DeleteDevicePushButton</tabstop>      <tabstop>DeleteDevicePushButton</tabstop>
# Line 425  Line 497 
497      <variable access="private">int m_iUntitled;</variable>      <variable access="private">int m_iUntitled;</variable>
498      <variable access="private">QString m_sFilename;</variable>      <variable access="private">QString m_sFilename;</variable>
499      <variable access="private">lscp_client_t *m_pClient;</variable>      <variable access="private">lscp_client_t *m_pClient;</variable>
500        <variable access="private">bool m_bNewDevice;</variable>
501  </variables>  </variables>
502  <slots>  <slots>
503      <slot specifier="non virtual">contentsChanged()</slot>      <slot specifier="non virtual">contentsChanged()</slot>
# Line 434  Line 507 
507      <slot specifier="non virtual">updateDevice()</slot>      <slot specifier="non virtual">updateDevice()</slot>
508      <slot specifier="non virtual">deleteDevice()</slot>      <slot specifier="non virtual">deleteDevice()</slot>
509      <slot specifier="non virtual">refreshDevices()</slot>      <slot specifier="non virtual">refreshDevices()</slot>
510        <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
511        <slot specifier="non virtual">selectDevice()</slot>
512        <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>
513      <slot specifier="non virtual">stabilizeForm()</slot>      <slot specifier="non virtual">stabilizeForm()</slot>
514  </slots>  </slots>
515  <functions>  <functions>
# Line 450  Line 526 
526  <pixmapinproject/>  <pixmapinproject/>
527  <layoutdefaults spacing="4" margin="4"/>  <layoutdefaults spacing="4" margin="4"/>
528  <includehints>  <includehints>
529      <includehint>qsamplerdeviceparametertable.h</includehint>      <includehint>qsamplerdeviceparamtable.h</includehint>
530  </includehints>  </includehints>
531  </UI>  </UI>

Legend:
Removed from v.428  
changed lines
  Added in v.432

  ViewVC Help
Powered by ViewVC