/[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 432 by capela, Wed Mar 9 11:33:27 2005 UTC revision 433 by capela, Wed Mar 9 16:44:04 2005 UTC
# Line 1  Line 1 
1  <!DOCTYPE UI><UI version="3.1" stdsetdef="1">  <!DOCTYPE UI><UI version="3.2" stdsetdef="1">
2  <class>qsamplerDeviceForm</class>  <class>qsamplerDeviceForm</class>
3  <comment>qsampler - A LinuxSampler Qt GUI Interface.  <comment>qsampler - A LinuxSampler Qt GUI Interface.
4    
# Line 28  Line 28 
28          <rect>          <rect>
29              <x>0</x>              <x>0</x>
30              <y>0</y>              <y>0</y>
31              <width>604</width>              <width>542</width>
32              <height>329</height>              <height>331</height>
33          </rect>          </rect>
34      </property>      </property>
35      <property name="sizePolicy">      <property name="sizePolicy">
# Line 49  Line 49 
49      <property name="focusPolicy">      <property name="focusPolicy">
50          <enum>StrongFocus</enum>          <enum>StrongFocus</enum>
51      </property>      </property>
52      <hbox>      <vbox>
53          <property name="name">          <property name="name">
54              <cstring>unnamed</cstring>              <cstring>unnamed</cstring>
55          </property>          </property>
56          <widget class="QSplitter">          <widget class="QSplitter">
57              <property name="name">              <property name="name">
58                  <cstring>DeviceSplitter</cstring>                  <cstring>splitter3</cstring>
59              </property>              </property>
60              <property name="orientation">              <property name="orientation">
61                  <enum>Horizontal</enum>                  <enum>Horizontal</enum>
62              </property>              </property>
63              <widget class="QLayoutWidget">              <widget class="QListView">
64                    <column>
65                        <property name="text">
66                            <string>Devices</string>
67                        </property>
68                        <property name="clickable">
69                            <bool>true</bool>
70                        </property>
71                        <property name="resizable">
72                            <bool>true</bool>
73                        </property>
74                    </column>
75                  <property name="name">                  <property name="name">
76                      <cstring>layout1</cstring>                      <cstring>DeviceListView</cstring>
77                    </property>
78                    <property name="minimumSize">
79                        <size>
80                            <width>120</width>
81                            <height>0</height>
82                        </size>
83                    </property>
84                    <property name="rootIsDecorated">
85                        <bool>true</bool>
86                    </property>
87                    <property name="resizeMode">
88                        <enum>LastColumn</enum>
89                    </property>
90                    <property name="toolTip" stdset="0">
91                        <string>Device list</string>
92                  </property>                  </property>
                 <grid>  
                     <property name="name">  
                         <cstring>unnamed</cstring>  
                     </property>  
                     <widget class="QPushButton" row="1" column="1">  
                         <property name="name">  
                             <cstring>SaveDevicesPushButton</cstring>  
                         </property>  
                         <property name="minimumSize">  
                             <size>  
                                 <width>0</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="maximumSize">  
                             <size>  
                                 <width>32767</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="text">  
                             <string>&amp;Save...</string>  
                         </property>  
                         <property name="accel">  
                             <string>Alt+S</string>  
                         </property>  
                         <property name="iconSet">  
                             <iconset>fileSave.png</iconset>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Save device configuration to file</string>  
                         </property>  
                     </widget>  
                     <spacer row="1" column="2">  
                         <property name="name">  
                             <cstring>spacer1</cstring>  
                         </property>  
                         <property name="orientation">  
                             <enum>Horizontal</enum>  
                         </property>  
                         <property name="sizeType">  
                             <enum>Expanding</enum>  
                         </property>  
                         <property name="sizeHint">  
                             <size>  
                                 <width>24</width>  
                                 <height>16</height>  
                             </size>  
                         </property>  
                     </spacer>  
                     <widget class="QPushButton" row="1" column="0">  
                         <property name="name">  
                             <cstring>LoadDevicesPushButton</cstring>  
                         </property>  
                         <property name="minimumSize">  
                             <size>  
                                 <width>0</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="maximumSize">  
                             <size>  
                                 <width>32767</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="text">  
                             <string>&amp;Load...</string>  
                         </property>  
                         <property name="accel">  
                             <string>Alt+L</string>  
                         </property>  
                         <property name="iconSet">  
                             <iconset>fileOpen.png</iconset>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Load device configuration from file</string>  
                         </property>  
                     </widget>  
                     <widget class="QListView" row="0" column="0" rowspan="1" colspan="3">  
                         <column>  
                             <property name="text">  
                                 <string>Devices</string>  
                             </property>  
                             <property name="clickable">  
                                 <bool>true</bool>  
                             </property>  
                             <property name="resizable">  
                                 <bool>true</bool>  
                             </property>  
                         </column>  
                         <property name="name">  
                             <cstring>DeviceListView</cstring>  
                         </property>  
                         <property name="rootIsDecorated">  
                             <bool>true</bool>  
                         </property>  
                         <property name="resizeMode">  
                             <enum>LastColumn</enum>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Device list</string>  
                         </property>  
                     </widget>  
                 </grid>  
93              </widget>              </widget>
94              <widget class="QLayoutWidget">              <widget class="QLayoutWidget">
95                  <property name="name">                  <property name="name">
96                      <cstring>layout4</cstring>                      <cstring>layout5</cstring>
97                  </property>                  </property>
98                  <grid>                  <grid>
99                      <property name="name">                      <property name="name">
100                          <cstring>unnamed</cstring>                          <cstring>unnamed</cstring>
101                      </property>                      </property>
102                      <widget class="QPushButton" row="2" column="6">                      <widget class="QLabel" row="0" column="0">
103                          <property name="name">                          <property name="name">
104                              <cstring>ClosePushButton</cstring>                              <cstring>DeviceNameTextLabel</cstring>
                         </property>  
                         <property name="minimumSize">  
                             <size>  
                                 <width>0</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="maximumSize">  
                             <size>  
                                 <width>32767</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="text">  
                             <string>Close</string>  
                         </property>  
                         <property name="accel">  
                             <string></string>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Close this dialog</string>  
                         </property>  
                     </widget>  
                     <widget class="QPushButton" row="2" column="2">  
                         <property name="name">  
                             <cstring>UpdateDevicePushButton</cstring>  
                         </property>  
                         <property name="minimumSize">  
                             <size>  
                                 <width>0</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="maximumSize">  
                             <size>  
                                 <width>32767</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="text">  
                             <string>&amp;Update</string>  
                         </property>  
                         <property name="accel">  
                             <string>Alt+U</string>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Update current device</string>  
                         </property>  
                     </widget>  
                     <spacer row="2" column="5">  
                         <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>38</width>  
                                 <height>20</height>  
                             </size>  
                         </property>  
                     </spacer>  
                     <spacer row="2" column="0">  
                         <property name="name">  
                             <cstring>spacer2</cstring>  
                         </property>  
                         <property name="orientation">  
                             <enum>Horizontal</enum>  
                         </property>  
                         <property name="sizeType">  
                             <enum>Minimum</enum>  
                         </property>  
                         <property name="sizeHint">  
                             <size>  
                                 <width>4</width>  
                                 <height>20</height>  
                             </size>  
                         </property>  
                     </spacer>  
                     <widget class="QPushButton" row="2" column="3" rowspan="1" colspan="2">  
                         <property name="name">  
                             <cstring>DeleteDevicePushButton</cstring>  
                         </property>  
                         <property name="minimumSize">  
                             <size>  
                                 <width>0</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="maximumSize">  
                             <size>  
                                 <width>32767</width>  
                                 <height>28</height>  
                             </size>  
                         </property>  
                         <property name="text">  
                             <string>&amp;Delete</string>  
                         </property>  
                         <property name="accel">  
                             <string>Alt+D</string>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Delete current device</string>  
                         </property>  
                     </widget>  
                     <widget class="QComboBox" row="0" column="6">  
                         <property name="name">  
                             <cstring>DriverNameComboBox</cstring>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Driver type name</string>  
                         </property>  
                     </widget>  
                     <widget class="QPushButton" row="2" column="1">  
                         <property name="name">  
                             <cstring>CreateDevicePushButton</cstring>  
                         </property>  
                         <property name="minimumSize">  
                             <size>  
                                 <width>0</width>  
                                 <height>28</height>  
                             </size>  
105                          </property>                          </property>
106                          <property name="maximumSize">                          <property name="sizePolicy">
107                              <size>                              <sizepolicy>
108                                  <width>32767</width>                                  <hsizetype>7</hsizetype>
109                                  <height>28</height>                                  <vsizetype>5</vsizetype>
110                              </size>                                  <horstretch>0</horstretch>
111                                    <verstretch>0</verstretch>
112                                </sizepolicy>
113                          </property>                          </property>
114                          <property name="text">                          <property name="font">
115                              <string>&amp;Create</string>                              <font>
116                                    <pointsize>10</pointsize>
117                                    <bold>1</bold>
118                                </font>
119                          </property>                          </property>
120                          <property name="accel">                          <property name="indent">
121                              <string>Alt+C</string>                              <number>4</number>
122                          </property>                          </property>
123                          <property name="toolTip" stdset="0">                          <property name="toolTip" stdset="0">
124                              <string>Create current device</string>                              <string>Device name</string>
                         </property>  
                     </widget>  
                     <widget class="QLabel" row="0" column="4" rowspan="1" colspan="2">  
                         <property name="name">  
                             <cstring>DriverNameTextLabel</cstring>  
                         </property>  
                         <property name="text">  
                             <string>&amp;Driver:</string>  
                         </property>  
                         <property name="alignment">  
                             <set>AlignVCenter|AlignRight</set>  
                         </property>  
                         <property name="buddy" stdset="0">  
                             <cstring>DriverNameComboBox</cstring>  
125                          </property>                          </property>
126                      </widget>                      </widget>
127                      <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="7">                      <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">
128                          <property name="name">                          <property name="name">
129                              <cstring>DeviceParamTable</cstring>                              <cstring>DeviceParamTable</cstring>
130                          </property>                          </property>
# Line 352  Line 138 
138                          </property>                          </property>
139                          <property name="minimumSize">                          <property name="minimumSize">
140                              <size>                              <size>
141                                  <width>0</width>                                  <width>320</width>
142                                  <height>260</height>                                  <height>260</height>
143                              </size>                              </size>
144                          </property>                          </property>
# Line 363  Line 149 
149                              <string>Device parameters</string>                              <string>Device parameters</string>
150                          </property>                          </property>
151                      </widget>                      </widget>
152                      <widget class="QLabel" row="0" column="0" rowspan="1" colspan="4">                      <widget class="QComboBox" row="0" column="2">
153                          <property name="name">                          <property name="name">
154                              <cstring>DeviceNameTextLabel</cstring>                              <cstring>DriverNameComboBox</cstring>
155                          </property>                          </property>
156                          <property name="sizePolicy">                          <property name="toolTip" stdset="0">
157                              <sizepolicy>                              <string>Driver type name</string>
                                 <hsizetype>7</hsizetype>  
                                 <vsizetype>5</vsizetype>  
                                 <horstretch>0</horstretch>  
                                 <verstretch>0</verstretch>  
                             </sizepolicy>  
158                          </property>                          </property>
159                          <property name="font">                      </widget>
160                              <font>                      <widget class="QLabel" row="0" column="1">
161                                  <pointsize>10</pointsize>                          <property name="name">
162                                  <bold>1</bold>                              <cstring>DriverNameTextLabel</cstring>
                             </font>  
163                          </property>                          </property>
164                          <property name="text">                          <property name="text">
165                              <string></string>                              <string>Dri&amp;ver:</string>
166                          </property>                          </property>
167                          <property name="toolTip" stdset="0">                          <property name="alignment">
168                              <string>Device name</string>                              <set>AlignVCenter|AlignRight</set>
169                            </property>
170                            <property name="buddy" stdset="0">
171                                <cstring>DriverNameComboBox</cstring>
172                          </property>                          </property>
173                      </widget>                      </widget>
174                  </grid>                  </grid>
175              </widget>              </widget>
176          </widget>          </widget>
177      </hbox>          <widget class="QLayoutWidget">
178                <property name="name">
179                    <cstring>layout6</cstring>
180                </property>
181                <hbox>
182                    <property name="name">
183                        <cstring>unnamed</cstring>
184                    </property>
185                    <widget class="QPushButton">
186                        <property name="name">
187                            <cstring>RefreshDevicesPushButton</cstring>
188                        </property>
189                        <property name="text">
190                            <string>&amp;Refresh</string>
191                        </property>
192                        <property name="accel">
193                            <string>Alt+R</string>
194                        </property>
195                        <property name="toolTip" stdset="0">
196                            <string>refresh device list view</string>
197                        </property>
198                    </widget>
199                    <spacer>
200                        <property name="name">
201                            <cstring>spacer1</cstring>
202                        </property>
203                        <property name="orientation">
204                            <enum>Horizontal</enum>
205                        </property>
206                        <property name="sizeType">
207                            <enum>Expanding</enum>
208                        </property>
209                        <property name="sizeHint">
210                            <size>
211                                <width>180</width>
212                                <height>20</height>
213                            </size>
214                        </property>
215                    </spacer>
216                    <widget class="QPushButton">
217                        <property name="name">
218                            <cstring>CreateDevicePushButton</cstring>
219                        </property>
220                        <property name="text">
221                            <string>&amp;Create</string>
222                        </property>
223                        <property name="accel">
224                            <string>Alt+C</string>
225                        </property>
226                        <property name="toolTip" stdset="0">
227                            <string>Create current device</string>
228                        </property>
229                    </widget>
230                    <widget class="QPushButton">
231                        <property name="name">
232                            <cstring>DeleteDevicePushButton</cstring>
233                        </property>
234                        <property name="text">
235                            <string>&amp;Delete</string>
236                        </property>
237                        <property name="accel">
238                            <string>Alt+D</string>
239                        </property>
240                        <property name="toolTip" stdset="0">
241                            <string>Delete current device</string>
242                        </property>
243                    </widget>
244                    <widget class="QPushButton">
245                        <property name="name">
246                            <cstring>ClosePushButton</cstring>
247                        </property>
248                        <property name="text">
249                            <string>Close</string>
250                        </property>
251                        <property name="accel">
252                            <string></string>
253                        </property>
254                        <property name="toolTip" stdset="0">
255                            <string>Close this dialog</string>
256                        </property>
257                    </widget>
258                </hbox>
259            </widget>
260        </vbox>
261  </widget>  </widget>
262  <customwidgets>  <customwidgets>
263      <customwidget>      <customwidget>
# Line 424  Line 290 
290          <slot>selectDevice()</slot>          <slot>selectDevice()</slot>
291      </connection>      </connection>
292      <connection>      <connection>
293          <sender>LoadDevicesPushButton</sender>          <sender>RefreshDevicesPushButton</sender>
294          <signal>clicked()</signal>          <signal>clicked()</signal>
295          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
296          <slot>loadDevices()</slot>          <slot>refreshDevices()</slot>
     </connection>  
     <connection>  
         <sender>SaveDevicesPushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>saveDevices()</slot>  
297      </connection>      </connection>
298      <connection>      <connection>
299          <sender>DriverNameComboBox</sender>          <sender>DriverNameComboBox</sender>
# Line 442  Line 302 
302          <slot>selectDriver(const QString&amp;)</slot>          <slot>selectDriver(const QString&amp;)</slot>
303      </connection>      </connection>
304      <connection>      <connection>
         <sender>DeviceParamTable</sender>  
         <signal>valueChanged(int,int)</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>changeValue(int,int)</slot>  
     </connection>  
     <connection>  
305          <sender>CreateDevicePushButton</sender>          <sender>CreateDevicePushButton</sender>
306          <signal>clicked()</signal>          <signal>clicked()</signal>
307          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
308          <slot>createDevice()</slot>          <slot>createDevice()</slot>
309      </connection>      </connection>
310      <connection>      <connection>
         <sender>UpdateDevicePushButton</sender>  
         <signal>clicked()</signal>  
         <receiver>qsamplerDeviceForm</receiver>  
         <slot>updateDevice()</slot>  
     </connection>  
     <connection>  
311          <sender>DeleteDevicePushButton</sender>          <sender>DeleteDevicePushButton</sender>
312          <signal>clicked()</signal>          <signal>clicked()</signal>
313          <receiver>qsamplerDeviceForm</receiver>          <receiver>qsamplerDeviceForm</receiver>
# Line 474  Line 322 
322  </connections>  </connections>
323  <tabstops>  <tabstops>
324      <tabstop>DeviceListView</tabstop>      <tabstop>DeviceListView</tabstop>
325      <tabstop>LoadDevicesPushButton</tabstop>      <tabstop>RefreshDevicesPushButton</tabstop>
     <tabstop>SaveDevicesPushButton</tabstop>  
     <tabstop>DeviceParamTable</tabstop>  
326      <tabstop>DriverNameComboBox</tabstop>      <tabstop>DriverNameComboBox</tabstop>
327        <tabstop>DeviceParamTable</tabstop>
328      <tabstop>CreateDevicePushButton</tabstop>      <tabstop>CreateDevicePushButton</tabstop>
     <tabstop>UpdateDevicePushButton</tabstop>  
329      <tabstop>DeleteDevicePushButton</tabstop>      <tabstop>DeleteDevicePushButton</tabstop>
330      <tabstop>ClosePushButton</tabstop>      <tabstop>ClosePushButton</tabstop>
331  </tabstops>  </tabstops>
# Line 494  Line 340 
340      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>
341      <variable access="private">int m_iDirtySetup;</variable>      <variable access="private">int m_iDirtySetup;</variable>
342      <variable access="private">int m_iDirtyCount;</variable>      <variable access="private">int m_iDirtyCount;</variable>
     <variable access="private">int m_iUntitled;</variable>  
     <variable access="private">QString m_sFilename;</variable>  
343      <variable access="private">lscp_client_t *m_pClient;</variable>      <variable access="private">lscp_client_t *m_pClient;</variable>
344      <variable access="private">bool m_bNewDevice;</variable>      <variable access="private">bool m_bNewDevice;</variable>
345  </variables>  </variables>
346  <slots>  <slots>
     <slot specifier="non virtual">contentsChanged()</slot>  
     <slot specifier="non virtual">loadDevices()</slot>  
     <slot specifier="non virtual">saveDevices()</slot>  
347      <slot specifier="non virtual">createDevice()</slot>      <slot specifier="non virtual">createDevice()</slot>
     <slot specifier="non virtual">updateDevice()</slot>  
348      <slot specifier="non virtual">deleteDevice()</slot>      <slot specifier="non virtual">deleteDevice()</slot>
349      <slot specifier="non virtual">refreshDevices()</slot>      <slot specifier="non virtual">refreshDevices()</slot>
350      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>
# Line 518  Line 358 
358      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>
359      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>
360      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>
     <function specifier="non virtual" returnType="QString">devicesName( const QString &amp; sFilename )</function>  
     <function specifier="non virtual" returnType="bool">queryClose()</function>  
     <function specifier="non virtual">loadDevicesFile( const QString &amp; sFilename )</function>  
     <function specifier="non virtual">saveDevicesFile( const QString &amp; sFilename )</function>  
361  </functions>  </functions>
362  <pixmapinproject/>  <pixmapinproject/>
363  <layoutdefaults spacing="4" margin="4"/>  <layoutdefaults spacing="4" margin="4"/>

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

  ViewVC Help
Powered by ViewVC