/[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 462 by capela, Tue Mar 15 11:39:12 2005 UTC revision 758 by capela, Sun Aug 28 00:31:34 2005 UTC
# Line 28  Line 28 
28          <rect>          <rect>
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>544</width>              <width>570</width>
32              <height>343</height>              <height>361</height>
33          </rect>          </rect>
34      </property>      </property>
35      <property name="sizePolicy">      <property name="sizePolicy">
# Line 41  Line 41 
41          </sizepolicy>          </sizepolicy>
42      </property>      </property>
43      <property name="caption">      <property name="caption">
44          <string>Devices</string>          <string>Qsampler: Devices</string>
45      </property>      </property>
46      <property name="icon">      <property name="icon">
47          <pixmap>qsamplerDevice.png</pixmap>          <pixmap>qsamplerDevice.png</pixmap>
# 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>
                         <property name="name">  
                             <cstring>DeviceNameTextLabel</cstring>  
                         </property>  
                         <property name="sizePolicy">  
                             <sizepolicy>  
                                 <hsizetype>7</hsizetype>  
                                 <vsizetype>5</vsizetype>  
                                 <horstretch>0</horstretch>  
                                 <verstretch>0</verstretch>  
                             </sizepolicy>  
                         </property>  
                         <property name="font">  
                             <font>  
                                 <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">  
106                          <property name="name">                          <property name="name">
107                              <cstring>DeviceParamTable</cstring>                              <cstring>unnamed</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>  
                         </property>  
                         <property name="focusPolicy">  
                             <enum>StrongFocus</enum>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Device parameters</string>  
                         </property>  
                     </widget>  
                     <widget class="QComboBox" row="0" column="2">  
                         <property name="name">  
                             <cstring>DriverNameComboBox</cstring>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Driver type name</string>  
108                          </property>                          </property>
109                      </widget>                          <widget class="QLabel" row="0" column="0">
110                      <widget class="QLabel" row="0" column="1">                              <property name="name">
111                                    <cstring>DeviceNameTextLabel</cstring>
112                                </property>
113                                <property name="sizePolicy">
114                                    <sizepolicy>
115                                        <hsizetype>7</hsizetype>
116                                        <vsizetype>5</vsizetype>
117                                        <horstretch>0</horstretch>
118                                        <verstretch>0</verstretch>
119                                    </sizepolicy>
120                                </property>
121                                <property name="font">
122                                    <font>
123                                        <bold>1</bold>
124                                    </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>
                         </property>  
                         <property name="text">  
                             <string>Dri&amp;ver:</string>  
189                          </property>                          </property>
190                          <property name="alignment">                          <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="2">
191                              <set>AlignVCenter|AlignRight</set>                              <property name="name">
192                          </property>                                  <cstring>DevicePortParamTable</cstring>
193                          <property name="buddy" stdset="0">                              </property>
194                              <cstring>DriverNameComboBox</cstring>                              <property name="sizePolicy">
195                          </property>                                  <sizepolicy>
196                      </widget>                                      <hsizetype>7</hsizetype>
197                  </grid>                                      <vsizetype>7</vsizetype>
198                                        <horstretch>0</horstretch>
199                                        <verstretch>0</verstretch>
200                                    </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 195  Line 268 
268                          <iconset>formRefresh.png</iconset>                          <iconset>formRefresh.png</iconset>
269                      </property>                      </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 229  Line 302 
302                          <iconset>deviceCreate.png</iconset>                          <iconset>deviceCreate.png</iconset>
303                      </property>                      </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 246  Line 319 
319                          <iconset>deviceDelete.png</iconset>                          <iconset>deviceDelete.png</iconset>
320                      </property>                      </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 285  Line 358 
358              <horstretch>0</horstretch>              <horstretch>0</horstretch>
359              <verstretch>0</verstretch>              <verstretch>0</verstretch>
360          </sizepolicy>          </sizepolicy>
         <pixmap>image0</pixmap>  
361      </customwidget>      </customwidget>
362  </customwidgets>  </customwidgets>
 <images>  
     <image name="image0">  
         <data format="XBM.GZ" length="79">789c534e494dcbcc4b554829cdcdad8c2fcf4c29c95030e0524611cd48cd4ccf28010a1797249664262b2467241641a592324b8aa363156c15aab914146aadb90067111b1f</data>  
     </image>  
 </images>  
363  <connections>  <connections>
364      <connection>      <connection>
365          <sender>DeviceListView</sender>          <sender>DeviceListView</sender>
# Line 319  Line 386 
386          <slot>selectDriver(const QString&amp;)</slot>          <slot>selectDriver(const QString&amp;)</slot>
387      </connection>      </connection>
388      <connection>      <connection>
389            <sender>DevicePortComboBox</sender>
390            <signal>activated(int)</signal>
391            <receiver>qsamplerDeviceForm</receiver>
392            <slot>selectDevicePort(int)</slot>
393        </connection>
394        <connection>
395          <sender>CreateDevicePushButton</sender>          <sender>CreateDevicePushButton</sender>
396          <signal>clicked()</signal>          <signal>clicked()</signal>
397          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
# Line 342  Line 415 
415      <tabstop>RefreshDevicesPushButton</tabstop>      <tabstop>RefreshDevicesPushButton</tabstop>
416      <tabstop>DriverNameComboBox</tabstop>      <tabstop>DriverNameComboBox</tabstop>
417      <tabstop>DeviceParamTable</tabstop>      <tabstop>DeviceParamTable</tabstop>
418        <tabstop>DevicePortComboBox</tabstop>
419        <tabstop>DevicePortParamTable</tabstop>
420      <tabstop>CreateDevicePushButton</tabstop>      <tabstop>CreateDevicePushButton</tabstop>
421      <tabstop>DeleteDevicePushButton</tabstop>      <tabstop>DeleteDevicePushButton</tabstop>
422      <tabstop>ClosePushButton</tabstop>      <tabstop>ClosePushButton</tabstop>
# Line 355  Line 430 
430  </forwards>  </forwards>
431  <variables>  <variables>
432      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
     <variable access="private">int m_iDirtySetup;</variable>  
433      <variable access="private">lscp_client_t *m_pClient;</variable>      <variable access="private">lscp_client_t *m_pClient;</variable>
434        <variable access="private">int m_iDirtySetup;</variable>
435        <variable access="private">int m_iDirtyCount;</variable>
436      <variable access="private">bool m_bNewDevice;</variable>      <variable access="private">bool m_bNewDevice;</variable>
437      <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>      <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceType;</variable>
438        <variable access="private">qsamplerDevice::qsamplerDeviceType m_deviceTypeMode;</variable>
439      <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>      <variable access="private">qsamplerDeviceItem *m_pAudioItems;</variable>
440      <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>      <variable access="private">qsamplerDeviceItem *m_pMidiItems;</variable>
441  </variables>  </variables>
442    <signals>
443        <signal>devicesChanged()</signal>
444    </signals>
445  <slots>  <slots>
     <slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&amp;, int)</slot>  
446      <slot specifier="non virtual">createDevice()</slot>      <slot specifier="non virtual">createDevice()</slot>
447      <slot specifier="non virtual">deleteDevice()</slot>      <slot specifier="non virtual">deleteDevice()</slot>
448      <slot specifier="non virtual">refreshDevices()</slot>      <slot specifier="non virtual">refreshDevices()</slot>
449      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
450      <slot specifier="non virtual">selectDevice()</slot>      <slot specifier="non virtual">selectDevice()</slot>
451      <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>      <slot specifier="non virtual">selectDevicePort( int iPort )</slot>
452        <slot specifier="non virtual">changeDeviceParam( int iRow, int iCol )</slot>
453        <slot specifier="non virtual">changeDevicePortParam( int iRow, int iCol )</slot>
454        <slot specifier="non virtual">contextMenu(QListViewItem *, const QPoint&amp;, int)</slot>
455      <slot specifier="non virtual">stabilizeForm()</slot>      <slot specifier="non virtual">stabilizeForm()</slot>
456  </slots>  </slots>
457  <functions>  <functions>
# Line 377  Line 459 
459      <function access="private" specifier="non virtual">destroy()</function>      <function access="private" specifier="non virtual">destroy()</function>
460      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
461      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
462        <function specifier="non virtual">setMainForm( qsamplerMainForm *pMainForm )</function>
463        <function specifier="non virtual">setDeviceTypeMode( qsamplerDevice::qsamplerDeviceType deviceType )</function>
464      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
465        <function specifier="non virtual">setDriverName( const QString &amp; sDriverName )</function>
466        <function specifier="non virtual">setDevice( qsamplerDevice *pDevice )</function>
467  </functions>  </functions>
468  <pixmapinproject/>  <pixmapinproject/>
469  <layoutdefaults spacing="4" margin="4"/>  <layoutdefaults spacing="4" margin="4"/>
 <includehints>  
     <includehint>qsamplerdeviceparamtable.h</includehint>  
 </includehints>  
470  </UI>  </UI>

Legend:
Removed from v.462  
changed lines
  Added in v.758

  ViewVC Help
Powered by ViewVC