/[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 622 by capela, Thu Jun 9 09:28:20 2005 UTC
# Line 20  Line 20 
20    
21  </comment>  </comment>
22  <author>rncbc aka Rui Nuno Capela</author>  <author>rncbc aka Rui Nuno Capela</author>
23  <widget class="QDialog">  <widget class="QWidget">
24      <property name="name">      <property name="name">
25          <cstring>qsamplerDeviceForm</cstring>          <cstring>qsamplerDeviceForm</cstring>
26      </property>      </property>
# Line 28  Line 28 
28          <rect>          <rect>
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>542</width>              <width>570</width>
32              <height>331</height>              <height>361</height>
33          </rect>          </rect>
34      </property>      </property>
35      <property name="sizePolicy">      <property name="sizePolicy">
# Line 44  Line 44 
44          <string>Devices</string>          <string>Devices</string>
45      </property>      </property>
46      <property name="icon">      <property name="icon">
47          <pixmap>qsamplerChannel.png</pixmap>          <pixmap>qsamplerDevice.png</pixmap>
48      </property>      </property>
49      <property name="focusPolicy">      <property name="focusPolicy">
50          <enum>StrongFocus</enum>          <enum>StrongFocus</enum>
# Line 55  Line 55 
55          </property>          </property>
56          <widget class="QSplitter">          <widget class="QSplitter">
57              <property name="name">              <property name="name">
58                  <cstring>splitter3</cstring>                  <cstring>splitter1</cstring>
59              </property>              </property>
60              <property name="orientation">              <property name="orientation">
61                  <enum>Horizontal</enum>                  <enum>Horizontal</enum>
# Line 91  Line 91 
91                      <string>Device list</string>                      <string>Device list</string>
92                  </property>                  </property>
93              </widget>              </widget>
94              <widget class="QLayoutWidget">              <widget class="QSplitter">
95                  <property name="name">                  <property name="name">
96                      <cstring>layout5</cstring>                      <cstring>splitter2</cstring>
97                  </property>                  </property>
98                  <grid>                  <property name="orientation">
99                        <enum>Vertical</enum>
100                    </property>
101                    <widget class="QLayoutWidget">
102                      <property name="name">                      <property name="name">
103                          <cstring>unnamed</cstring>                          <cstring>layout2</cstring>
104                      </property>                      </property>
105                      <widget class="QLabel" row="0" column="0">                      <grid>
106                          <property name="name">                          <property name="name">
107                              <cstring>DeviceNameTextLabel</cstring>                              <cstring>unnamed</cstring>
                         </property>  
                         <property name="sizePolicy">  
                             <sizepolicy>  
                                 <hsizetype>7</hsizetype>  
                                 <vsizetype>5</vsizetype>  
                                 <horstretch>0</horstretch>  
                                 <verstretch>0</verstretch>  
                             </sizepolicy>  
                         </property>  
                         <property name="font">  
                             <font>  
                                 <pointsize>10</pointsize>  
                                 <bold>1</bold>  
                             </font>  
                         </property>  
                         <property name="indent">  
                             <number>4</number>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Device name</string>  
                         </property>  
                     </widget>  
                     <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">  
                         <property name="name">  
                             <cstring>DeviceParamTable</cstring>  
                         </property>  
                         <property name="sizePolicy">  
                             <sizepolicy>  
                                 <hsizetype>7</hsizetype>  
                                 <vsizetype>7</vsizetype>  
                                 <horstretch>0</horstretch>  
                                 <verstretch>0</verstretch>  
                             </sizepolicy>  
                         </property>  
                         <property name="minimumSize">  
                             <size>  
                                 <width>360</width>  
                                 <height>260</height>  
                             </size>  
108                          </property>                          </property>
109                          <property name="focusPolicy">                          <widget class="QLabel" row="0" column="0">
110                              <enum>StrongFocus</enum>                              <property name="name">
111                          </property>                                  <cstring>DeviceNameTextLabel</cstring>
112                          <property name="toolTip" stdset="0">                              </property>
113                              <string>Device parameters</string>                              <property name="sizePolicy">
114                          </property>                                  <sizepolicy>
115                      </widget>                                      <hsizetype>7</hsizetype>
116                      <widget class="QComboBox" row="0" column="2">                                      <vsizetype>5</vsizetype>
117                          <property name="name">                                      <horstretch>0</horstretch>
118                              <cstring>DriverNameComboBox</cstring>                                      <verstretch>0</verstretch>
119                          </property>                                  </sizepolicy>
120                          <property name="toolTip" stdset="0">                              </property>
121                              <string>Driver type name</string>                              <property name="font">
122                          </property>                                  <font>
123                      </widget>                                      <bold>1</bold>
124                      <widget class="QLabel" row="0" column="1">                                  </font>
125                                </property>
126                                <property name="indent">
127                                    <number>4</number>
128                                </property>
129                                <property name="toolTip" stdset="0">
130                                    <string>Device name</string>
131                                </property>
132                            </widget>
133                            <widget class="QLabel" row="0" column="1">
134                                <property name="name">
135                                    <cstring>DriverNameTextLabel</cstring>
136                                </property>
137                                <property name="text">
138                                    <string>Dri&amp;ver:</string>
139                                </property>
140                                <property name="alignment">
141                                    <set>AlignVCenter|AlignRight</set>
142                                </property>
143                                <property name="buddy" stdset="0">
144                                    <cstring>DriverNameComboBox</cstring>
145                                </property>
146                            </widget>
147                            <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">
148                                <property name="name">
149                                    <cstring>DeviceParamTable</cstring>
150                                </property>
151                                <property name="sizePolicy">
152                                    <sizepolicy>
153                                        <hsizetype>7</hsizetype>
154                                        <vsizetype>7</vsizetype>
155                                        <horstretch>0</horstretch>
156                                        <verstretch>0</verstretch>
157                                    </sizepolicy>
158                                </property>
159                                <property name="minimumSize">
160                                    <size>
161                                        <width>380</width>
162                                        <height>160</height>
163                                    </size>
164                                </property>
165                                <property name="focusPolicy">
166                                    <enum>StrongFocus</enum>
167                                </property>
168                                <property name="toolTip" stdset="0">
169                                    <string>Device parameters</string>
170                                </property>
171                            </widget>
172                            <widget class="QComboBox" row="0" column="2">
173                                <property name="name">
174                                    <cstring>DriverNameComboBox</cstring>
175                                </property>
176                                <property name="toolTip" stdset="0">
177                                    <string>Driver type name</string>
178                                </property>
179                            </widget>
180                        </grid>
181                    </widget>
182                    <widget class="QLayoutWidget">
183                        <property name="name">
184                            <cstring>layout3</cstring>
185                        </property>
186                        <grid>
187                          <property name="name">                          <property name="name">
188                              <cstring>DriverNameTextLabel</cstring>                              <cstring>unnamed</cstring>
189                          </property>                          </property>
190                          <property name="text">                          <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="2">
191                              <string>Dri&amp;ver:</string>                              <property name="name">
192                          </property>                                  <cstring>DevicePortParamTable</cstring>
193                          <property name="alignment">                              </property>
194                              <set>AlignVCenter|AlignRight</set>                              <property name="sizePolicy">
195                          </property>                                  <sizepolicy>
196                          <property name="buddy" stdset="0">                                      <hsizetype>7</hsizetype>
197                              <cstring>DriverNameComboBox</cstring>                                      <vsizetype>7</vsizetype>
198                          </property>                                      <horstretch>0</horstretch>
199                      </widget>                                      <verstretch>0</verstretch>
200                  </grid>                                  </sizepolicy>
201                                </property>
202                                <property name="minimumSize">
203                                    <size>
204                                        <width>380</width>
205                                        <height>80</height>
206                                    </size>
207                                </property>
208                                <property name="focusPolicy">
209                                    <enum>StrongFocus</enum>
210                                </property>
211                                <property name="toolTip" stdset="0">
212                                    <string>Device port/channel parameters</string>
213                                </property>
214                            </widget>
215                            <widget class="QLabel" row="0" column="0">
216                                <property name="name">
217                                    <cstring>DevicePortTextLabel</cstring>
218                                </property>
219                                <property name="text">
220                                    <string>Channel:</string>
221                                </property>
222                                <property name="alignment">
223                                    <set>AlignVCenter|AlignRight</set>
224                                </property>
225                                <property name="buddy" stdset="0">
226                                    <cstring>DevicePortComboBox</cstring>
227                                </property>
228                            </widget>
229                            <widget class="QComboBox" row="0" column="1">
230                                <property name="name">
231                                    <cstring>DevicePortComboBox</cstring>
232                                </property>
233                                <property name="sizePolicy">
234                                    <sizepolicy>
235                                        <hsizetype>7</hsizetype>
236                                        <vsizetype>0</vsizetype>
237                                        <horstretch>0</horstretch>
238                                        <verstretch>0</verstretch>
239                                    </sizepolicy>
240                                </property>
241                                <property name="toolTip" stdset="0">
242                                    <string>Device port/channel</string>
243                                </property>
244                            </widget>
245                        </grid>
246                    </widget>
247              </widget>              </widget>
248          </widget>          </widget>
249          <widget class="QLayoutWidget">          <widget class="QLayoutWidget">
250              <property name="name">              <property name="name">
251                  <cstring>layout6</cstring>                  <cstring>layout1</cstring>
252              </property>              </property>
253              <hbox>              <hbox>
254                  <property name="name">                  <property name="name">
# Line 192  Line 264 
264                      <property name="accel">                      <property name="accel">
265                          <string>Alt+R</string>                          <string>Alt+R</string>
266                      </property>                      </property>
267                        <property name="iconSet">
268                            <iconset>formRefresh.png</iconset>
269                        </property>
270                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
271                          <string>refresh device list view</string>                          <string>Refresh device list view</string>
272                      </property>                      </property>
273                  </widget>                  </widget>
274                  <spacer>                  <spacer>
# Line 223  Line 298 
298                      <property name="accel">                      <property name="accel">
299                          <string>Alt+C</string>                          <string>Alt+C</string>
300                      </property>                      </property>
301                        <property name="iconSet">
302                            <iconset>deviceCreate.png</iconset>
303                        </property>
304                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
305                          <string>Create current device</string>                          <string>Create device</string>
306                      </property>                      </property>
307                  </widget>                  </widget>
308                  <widget class="QPushButton">                  <widget class="QPushButton">
# Line 237  Line 315 
315                      <property name="accel">                      <property name="accel">
316                          <string>Alt+D</string>                          <string>Alt+D</string>
317                      </property>                      </property>
318                        <property name="iconSet">
319                            <iconset>deviceDelete.png</iconset>
320                        </property>
321                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
322                          <string>Delete current device</string>                          <string>Delete device</string>
323                      </property>                      </property>
324                  </widget>                  </widget>
325                  <widget class="QPushButton">                  <widget class="QPushButton">
# Line 251  Line 332 
332                      <property name="accel">                      <property name="accel">
333                          <string></string>                          <string></string>
334                      </property>                      </property>
335                        <property name="iconSet">
336                            <iconset>formReject.png</iconset>
337                        </property>
338                      <property name="toolTip" stdset="0">                      <property name="toolTip" stdset="0">
339                          <string>Close this dialog</string>                          <string>Close this dialog</string>
340                      </property>                      </property>
# Line 290  Line 374 
374          <slot>selectDevice()</slot>          <slot>selectDevice()</slot>
375      </connection>      </connection>
376      <connection>      <connection>
377            <sender>DeviceListView</sender>
378            <signal>contextMenuRequested(QListViewItem*,const QPoint&amp;,int)</signal>
379            <receiver>qsamplerDeviceForm</receiver>
380            <slot>contextMenu(QListViewItem*,const QPoint&amp;,int)</slot>
381        </connection>
382        <connection>
383          <sender>RefreshDevicesPushButton</sender>          <sender>RefreshDevicesPushButton</sender>
384          <signal>clicked()</signal>          <signal>clicked()</signal>
385          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
# Line 302  Line 392 
392          <slot>selectDriver(const QString&amp;)</slot>          <slot>selectDriver(const QString&amp;)</slot>
393      </connection>      </connection>
394      <connection>      <connection>
395            <sender>DevicePortComboBox</sender>
396            <signal>activated(int)</signal>
397            <receiver>qsamplerDeviceForm</receiver>
398            <slot>selectDevicePort(int)</slot>
399        </connection>
400        <connection>
401          <sender>CreateDevicePushButton</sender>          <sender>CreateDevicePushButton</sender>
402          <signal>clicked()</signal>          <signal>clicked()</signal>
403          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
# Line 325  Line 421 
421      <tabstop>RefreshDevicesPushButton</tabstop>      <tabstop>RefreshDevicesPushButton</tabstop>
422      <tabstop>DriverNameComboBox</tabstop>      <tabstop>DriverNameComboBox</tabstop>
423      <tabstop>DeviceParamTable</tabstop>      <tabstop>DeviceParamTable</tabstop>
424        <tabstop>DevicePortComboBox</tabstop>
425        <tabstop>DevicePortParamTable</tabstop>
426      <tabstop>CreateDevicePushButton</tabstop>      <tabstop>CreateDevicePushButton</tabstop>
427      <tabstop>DeleteDevicePushButton</tabstop>      <tabstop>DeleteDevicePushButton</tabstop>
428      <tabstop>ClosePushButton</tabstop>      <tabstop>ClosePushButton</tabstop>
# Line 338  Line 436 
436  </forwards>  </forwards>
437  <variables>  <variables>
438      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
439        <variable access="private">lscp_client_t *m_pClient;</variable>
440      <variable access="private">int m_iDirtySetup;</variable>      <variable access="private">int m_iDirtySetup;</variable>
441      <variable access="private">int m_iDirtyCount;</variable>      <variable access="private">int m_iDirtyCount;</variable>
     <variable access="private">lscp_client_t *m_pClient;</variable>  
442      <variable access="private">bool m_bNewDevice;</variable>      <variable access="private">bool m_bNewDevice;</variable>
443      <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>      <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>
444        <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceTypeMode;</variable>
445        <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>
446        <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>
447  </variables>  </variables>
448    <signals>
449        <signal>devicesChanged()</signal>
450    </signals>
451  <slots>  <slots>
452      <slot specifier="non virtual">createDevice()</slot>      <slot specifier="non virtual">createDevice()</slot>
453      <slot specifier="non virtual">deleteDevice()</slot>      <slot specifier="non virtual">deleteDevice()</slot>
454      <slot specifier="non virtual">refreshDevices()</slot>      <slot specifier="non virtual">refreshDevices()</slot>
455      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
456      <slot specifier="non virtual">selectDevice()</slot>      <slot specifier="non virtual">selectDevice()</slot>
457      <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>      <slot specifier="non virtual">selectDevicePort( int iPort )</slot>
458        <slot specifier="non virtual">changeDeviceParam( int iRow, int iCol )</slot>
459        <slot specifier="non virtual">changeDevicePortParam( int iRow, int iCol )</slot>
460        <slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&amp;, int)</slot>
461      <slot specifier="non virtual">stabilizeForm()</slot>      <slot specifier="non virtual">stabilizeForm()</slot>
462  </slots>  </slots>
463  <functions>  <functions>
# Line 358  Line 465 
465      <function access="private" specifier="non virtual">destroy()</function>      <function access="private" specifier="non virtual">destroy()</function>
466      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
467      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
468        <function specifier="non virtual">setMainForm( qsamplerMainForm *pMainForm )</function>
469        <function specifier="non virtual">setDeviceTypeMode( qsamplerDevice::qsamplerDeviceType deviceType )</function>
470      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
471        <function specifier="non virtual">setDriverName( const QString &amp; sDriverName )</function>
472        <function specifier="non virtual">setDevice( qsamplerDevice *pDevice )</function>
473  </functions>  </functions>
474  <pixmapinproject/>  <pixmapinproject/>
475  <layoutdefaults spacing="4" margin="4"/>  <layoutdefaults spacing="4" margin="4"/>
 <includehints>  
     <includehint>qsamplerdeviceparamtable.h</includehint>  
 </includehints>  
476  </UI>  </UI>

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

  ViewVC Help
Powered by ViewVC