/[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 433 by capela, Wed Mar 9 16:44:04 2005 UTC revision 1486 by schoenebeck, Sat Nov 17 02:02:28 2007 UTC
# Line 1  Line 1 
1  <!DOCTYPE UI><UI version="3.2" stdsetdef="1">  <ui version="4.0" >
2  <class>qsamplerDeviceForm</class>   <author>rncbc aka Rui Nuno Capela</author>
3  <comment>qsampler - A LinuxSampler Qt GUI Interface.   <comment>qsampler - A LinuxSampler Qt GUI Interface.
4    
5     Copyright (C) 2005, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
6       Copyright (C) 2007, Christian Schoenebeck
7    
8     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
9     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 14  Line 15 
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     GNU General Public License for more details.     GNU General Public License for more details.
17    
18     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License along
19     along with this program; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
20     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21    
22  </comment>  </comment>
23  <author>rncbc aka Rui Nuno Capela</author>   <class>qsamplerDeviceForm</class>
24  <widget class="QDialog">   <widget class="QDialog" name="qsamplerDeviceForm" >
25      <property name="name">    <property name="geometry" >
26          <cstring>qsamplerDeviceForm</cstring>     <rect>
27      </property>      <x>0</x>
28      <property name="geometry">      <y>0</y>
29          <rect>      <width>601</width>
30              <x>0</x>      <height>378</height>
31              <y>0</y>     </rect>
32              <width>542</width>    </property>
33              <height>331</height>    <property name="sizePolicy" >
34          </rect>     <sizepolicy>
35      </property>      <hsizetype>7</hsizetype>
36      <property name="sizePolicy">      <vsizetype>1</vsizetype>
37          <sizepolicy>      <horstretch>0</horstretch>
38              <hsizetype>7</hsizetype>      <verstretch>0</verstretch>
39              <vsizetype>1</vsizetype>     </sizepolicy>
40              <horstretch>0</horstretch>    </property>
41              <verstretch>0</verstretch>    <property name="focusPolicy" >
42          </sizepolicy>     <enum>Qt::StrongFocus</enum>
43      </property>    </property>
44      <property name="caption">    <property name="windowTitle" >
45          <string>Devices</string>     <string>Qsampler: Devices</string>
46      </property>    </property>
47      <property name="icon">    <property name="windowIcon" >
48          <pixmap>qsamplerChannel.png</pixmap>     <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset>
49      </property>    </property>
50      <property name="focusPolicy">    <layout class="QVBoxLayout" >
51          <enum>StrongFocus</enum>     <property name="margin" >
52      </property>      <number>9</number>
53      <vbox>     </property>
54          <property name="name">     <property name="spacing" >
55              <cstring>unnamed</cstring>      <number>6</number>
56          </property>     </property>
57          <widget class="QSplitter">     <item>
58              <property name="name">      <layout class="QHBoxLayout" >
59                  <cstring>splitter3</cstring>       <property name="margin" >
60              </property>        <number>0</number>
61              <property name="orientation">       </property>
62                  <enum>Horizontal</enum>       <property name="spacing" >
63              </property>        <number>6</number>
64              <widget class="QListView">       </property>
65                  <column>       <item>
66                      <property name="text">        <widget class="QTreeWidget" name="DeviceListView" >
67                          <string>Devices</string>         <property name="minimumSize" >
68                      </property>          <size>
69                      <property name="clickable">           <width>160</width>
70                          <bool>true</bool>           <height>0</height>
71                      </property>          </size>
72                      <property name="resizable">         </property>
73                          <bool>true</bool>         <property name="toolTip" >
74                      </property>          <string>Device list</string>
75                  </column>         </property>
76                  <property name="name">        </widget>
77                      <cstring>DeviceListView</cstring>       </item>
78                  </property>       <item>
79                  <property name="minimumSize">        <layout class="QVBoxLayout" >
80                      <size>         <property name="margin" >
81                          <width>120</width>          <number>0</number>
82                          <height>0</height>         </property>
83                      </size>         <property name="spacing" >
84                  </property>          <number>6</number>
85                  <property name="rootIsDecorated">         </property>
86                      <bool>true</bool>         <item>
87                  </property>          <layout class="QHBoxLayout" >
88                  <property name="resizeMode">           <property name="margin" >
89                      <enum>LastColumn</enum>            <number>0</number>
90                  </property>           </property>
91                  <property name="toolTip" stdset="0">           <property name="spacing" >
92                      <string>Device list</string>            <number>6</number>
93                  </property>           </property>
94              </widget>           <item>
95              <widget class="QLayoutWidget">            <widget class="QLabel" name="DeviceNameTextLabel" >
96                  <property name="name">             <property name="sizePolicy" >
97                      <cstring>layout5</cstring>              <sizepolicy>
98                  </property>               <hsizetype>7</hsizetype>
99                  <grid>               <vsizetype>5</vsizetype>
100                      <property name="name">               <horstretch>0</horstretch>
101                          <cstring>unnamed</cstring>               <verstretch>0</verstretch>
102                      </property>              </sizepolicy>
103                      <widget class="QLabel" row="0" column="0">             </property>
104                          <property name="name">             <property name="font" >
105                              <cstring>DeviceNameTextLabel</cstring>              <font>
106                          </property>               <weight>75</weight>
107                          <property name="sizePolicy">               <bold>true</bold>
108                              <sizepolicy>              </font>
109                                  <hsizetype>7</hsizetype>             </property>
110                                  <vsizetype>5</vsizetype>             <property name="toolTip" >
111                                  <horstretch>0</horstretch>              <string>Device name</string>
112                                  <verstretch>0</verstretch>             </property>
113                              </sizepolicy>             <property name="wordWrap" >
114                          </property>              <bool>false</bool>
115                          <property name="font">             </property>
116                              <font>             <property name="indent" >
117                                  <pointsize>10</pointsize>              <number>4</number>
118                                  <bold>1</bold>             </property>
119                              </font>            </widget>
120                          </property>           </item>
121                          <property name="indent">           <item>
122                              <number>4</number>            <widget class="QLabel" name="DriverNameTextLabel" >
123                          </property>             <property name="text" >
124                          <property name="toolTip" stdset="0">              <string>Dri&amp;ver:</string>
125                              <string>Device name</string>             </property>
126                          </property>             <property name="alignment" >
127                      </widget>              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
128                      <widget class="qsamplerDeviceParamTable" row="1" column="0" rowspan="1" colspan="3">             </property>
129                          <property name="name">             <property name="wordWrap" >
130                              <cstring>DeviceParamTable</cstring>              <bool>false</bool>
131                          </property>             </property>
132                          <property name="sizePolicy">             <property name="buddy" >
133                              <sizepolicy>              <cstring>DriverNameComboBox</cstring>
134                                  <hsizetype>7</hsizetype>             </property>
135                                  <vsizetype>7</vsizetype>            </widget>
136                                  <horstretch>0</horstretch>           </item>
137                                  <verstretch>0</verstretch>           <item>
138                              </sizepolicy>            <widget class="QComboBox" name="DriverNameComboBox" >
139                          </property>             <property name="toolTip" >
140                          <property name="minimumSize">              <string>Driver type name</string>
141                              <size>             </property>
142                                  <width>320</width>            </widget>
143                                  <height>260</height>           </item>
144                              </size>          </layout>
145                          </property>         </item>
146                          <property name="focusPolicy">         <item>
147                              <enum>StrongFocus</enum>          <widget class="QTableView" name="DeviceParamTable" >
148                          </property>           <property name="alternatingRowColors" >
149                          <property name="toolTip" stdset="0">            <bool>true</bool>
150                              <string>Device parameters</string>           </property>
151                          </property>           <property name="showGrid" >
152                      </widget>            <bool>false</bool>
153                      <widget class="QComboBox" row="0" column="2">           </property>
                         <property name="name">  
                             <cstring>DriverNameComboBox</cstring>  
                         </property>  
                         <property name="toolTip" stdset="0">  
                             <string>Driver type name</string>  
                         </property>  
                     </widget>  
                     <widget class="QLabel" row="0" column="1">  
                         <property name="name">  
                             <cstring>DriverNameTextLabel</cstring>  
                         </property>  
                         <property name="text">  
                             <string>Dri&amp;ver:</string>  
                         </property>  
                         <property name="alignment">  
                             <set>AlignVCenter|AlignRight</set>  
                         </property>  
                         <property name="buddy" stdset="0">  
                             <cstring>DriverNameComboBox</cstring>  
                         </property>  
                     </widget>  
                 </grid>  
             </widget>  
154          </widget>          </widget>
155          <widget class="QLayoutWidget">         </item>
156              <property name="name">         <item>
157                  <cstring>layout6</cstring>          <layout class="QHBoxLayout" >
158              </property>           <property name="margin" >
159              <hbox>            <number>0</number>
160                  <property name="name">           </property>
161                      <cstring>unnamed</cstring>           <property name="spacing" >
162                  </property>            <number>6</number>
163                  <widget class="QPushButton">           </property>
164                      <property name="name">           <item>
165                          <cstring>RefreshDevicesPushButton</cstring>            <spacer>
166                      </property>             <property name="orientation" >
167                      <property name="text">              <enum>Qt::Horizontal</enum>
168                          <string>&amp;Refresh</string>             </property>
169                      </property>             <property name="sizeHint" >
170                      <property name="accel">              <size>
171                          <string>Alt+R</string>               <width>40</width>
172                      </property>               <height>20</height>
173                      <property name="toolTip" stdset="0">              </size>
174                          <string>refresh device list view</string>             </property>
175                      </property>            </spacer>
176                  </widget>           </item>
177                  <spacer>           <item>
178                      <property name="name">            <widget class="QLabel" name="DevicePortTextLabel" >
179                          <cstring>spacer1</cstring>             <property name="text" >
180                      </property>              <string>Channel:</string>
181                      <property name="orientation">             </property>
182                          <enum>Horizontal</enum>             <property name="alignment" >
183                      </property>              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
184                      <property name="sizeType">             </property>
185                          <enum>Expanding</enum>             <property name="wordWrap" >
186                      </property>              <bool>false</bool>
187                      <property name="sizeHint">             </property>
188                          <size>             <property name="buddy" >
189                              <width>180</width>              <cstring>DevicePortComboBox</cstring>
190                              <height>20</height>             </property>
191                          </size>            </widget>
192                      </property>           </item>
193                  </spacer>           <item>
194                  <widget class="QPushButton">            <widget class="QComboBox" name="DevicePortComboBox" >
195                      <property name="name">             <property name="sizePolicy" >
196                          <cstring>CreateDevicePushButton</cstring>              <sizepolicy>
197                      </property>               <hsizetype>7</hsizetype>
198                      <property name="text">               <vsizetype>0</vsizetype>
199                          <string>&amp;Create</string>               <horstretch>0</horstretch>
200                      </property>               <verstretch>0</verstretch>
201                      <property name="accel">              </sizepolicy>
202                          <string>Alt+C</string>             </property>
203                      </property>             <property name="toolTip" >
204                      <property name="toolTip" stdset="0">              <string>Device port/channel</string>
205                          <string>Create current device</string>             </property>
206                      </property>            </widget>
207                  </widget>           </item>
208                  <widget class="QPushButton">          </layout>
209                      <property name="name">         </item>
210                          <cstring>DeleteDevicePushButton</cstring>         <item>
211                      </property>          <widget class="QTableView" name="DevicePortParamTable" >
212                      <property name="text">           <property name="alternatingRowColors" >
213                          <string>&amp;Delete</string>            <bool>true</bool>
214                      </property>           </property>
215                      <property name="accel">           <property name="showGrid" >
216                          <string>Alt+D</string>            <bool>false</bool>
217                      </property>           </property>
                     <property name="toolTip" stdset="0">  
                         <string>Delete current device</string>  
                     </property>  
                 </widget>  
                 <widget class="QPushButton">  
                     <property name="name">  
                         <cstring>ClosePushButton</cstring>  
                     </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>  
             </hbox>  
218          </widget>          </widget>
219      </vbox>         </item>
220  </widget>        </layout>
221  <customwidgets>       </item>
222      <customwidget>      </layout>
223          <class>qsamplerDeviceParamTable</class>     </item>
224          <header location="global">qsamplerDevice.h</header>     <item>
225          <sizehint>      <layout class="QHBoxLayout" >
226              <width>-1</width>       <property name="margin" >
227              <height>-1</height>        <number>0</number>
228          </sizehint>       </property>
229          <container>0</container>       <property name="spacing" >
230          <sizepolicy>        <number>4</number>
231              <hordata>7</hordata>       </property>
232              <verdata>7</verdata>       <item>
233              <horstretch>0</horstretch>        <widget class="QPushButton" name="RefreshDevicesPushButton" >
234              <verstretch>0</verstretch>         <property name="toolTip" >
235          </sizepolicy>          <string>Refresh device list view</string>
236          <pixmap>image0</pixmap>         </property>
237      </customwidget>         <property name="text" >
238  </customwidgets>          <string>&amp;Refresh</string>
239  <images>         </property>
240      <image name="image0">         <property name="icon" >
241          <data format="XPM.GZ" length="45">789cd3d7528808f055d0d2e72a2e492cc94c5648ce482c52d04a29cdcdad8c8eb5ade6523250004143a55a6b2e0026630c4f</data>          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>
242      </image>         </property>
243  </images>         <property name="shortcut" >
244  <connections>          <string>Alt+R</string>
245      <connection>         </property>
246          <sender>DeviceListView</sender>        </widget>
247          <signal>selectionChanged()</signal>       </item>
248          <receiver>qsamplerDeviceForm</receiver>       <item>
249          <slot>selectDevice()</slot>        <spacer>
250      </connection>         <property name="orientation" >
251      <connection>          <enum>Qt::Horizontal</enum>
252          <sender>RefreshDevicesPushButton</sender>         </property>
253          <signal>clicked()</signal>         <property name="sizeType" >
254          <receiver>qsamplerDeviceForm</receiver>          <enum>QSizePolicy::Expanding</enum>
255          <slot>refreshDevices()</slot>         </property>
256      </connection>         <property name="sizeHint" >
257      <connection>          <size>
258          <sender>DriverNameComboBox</sender>           <width>180</width>
259          <signal>activated(const QString&amp;)</signal>           <height>20</height>
260          <receiver>qsamplerDeviceForm</receiver>          </size>
261          <slot>selectDriver(const QString&amp;)</slot>         </property>
262      </connection>        </spacer>
263      <connection>       </item>
264          <sender>CreateDevicePushButton</sender>       <item>
265          <signal>clicked()</signal>        <widget class="QPushButton" name="CreateDevicePushButton" >
266          <receiver>qsamplerDeviceForm</receiver>         <property name="toolTip" >
267          <slot>createDevice()</slot>          <string>Create device</string>
268      </connection>         </property>
269      <connection>         <property name="text" >
270          <sender>DeleteDevicePushButton</sender>          <string>&amp;Create</string>
271          <signal>clicked()</signal>         </property>
272          <receiver>qsamplerDeviceForm</receiver>         <property name="icon" >
273          <slot>deleteDevice()</slot>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>
274      </connection>         </property>
275      <connection>         <property name="shortcut" >
276          <sender>ClosePushButton</sender>          <string>Alt+C</string>
277          <signal>clicked()</signal>         </property>
278          <receiver>qsamplerDeviceForm</receiver>        </widget>
279          <slot>close()</slot>       </item>
280      </connection>       <item>
281  </connections>        <widget class="QPushButton" name="DeleteDevicePushButton" >
282  <tabstops>         <property name="toolTip" >
283      <tabstop>DeviceListView</tabstop>          <string>Delete device</string>
284      <tabstop>RefreshDevicesPushButton</tabstop>         </property>
285      <tabstop>DriverNameComboBox</tabstop>         <property name="text" >
286      <tabstop>DeviceParamTable</tabstop>          <string>&amp;Delete</string>
287      <tabstop>CreateDevicePushButton</tabstop>         </property>
288      <tabstop>DeleteDevicePushButton</tabstop>         <property name="icon" >
289      <tabstop>ClosePushButton</tabstop>          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>
290  </tabstops>         </property>
291  <includes>         <property name="shortcut" >
292      <include location="local" impldecl="in declaration">qsamplerDevice.h</include>          <string>Alt+D</string>
293      <include location="local" impldecl="in implementation">qsamplerDeviceForm.ui.h</include>         </property>
294  </includes>        </widget>
295  <forwards>       </item>
296      <forward>class qsamplerMainForm;</forward>       <item>
297  </forwards>        <widget class="QPushButton" name="ClosePushButton" >
298  <variables>         <property name="toolTip" >
299      <variable access="private">qsamplerMainForm *m_pMainForm;</variable>          <string>Close this dialog</string>
300      <variable access="private">int m_iDirtySetup;</variable>         </property>
301      <variable access="private">int m_iDirtyCount;</variable>         <property name="text" >
302      <variable access="private">lscp_client_t *m_pClient;</variable>          <string>Close</string>
303      <variable access="private">bool m_bNewDevice;</variable>         </property>
304  </variables>         <property name="icon" >
305  <slots>          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>
306      <slot specifier="non virtual">createDevice()</slot>         </property>
307      <slot specifier="non virtual">deleteDevice()</slot>         <property name="shortcut" >
308      <slot specifier="non virtual">refreshDevices()</slot>          <string/>
309      <slot specifier="non virtual">selectDriver( const QString &amp; sDriverName )</slot>         </property>
310      <slot specifier="non virtual">selectDevice()</slot>        </widget>
311      <slot specifier="non virtual">changeValue( int iRow, int iCol )</slot>       </item>
312      <slot specifier="non virtual">stabilizeForm()</slot>      </layout>
313  </slots>     </item>
314  <functions>    </layout>
315      <function access="private" specifier="non virtual">init()</function>   </widget>
316      <function access="private" specifier="non virtual">destroy()</function>   <layoutdefault spacing="4" margin="4" />
317      <function access="private" specifier="non virtual">showEvent( QShowEvent * pShowEvent )</function>   <tabstops>
318      <function access="private" specifier="non virtual">hideEvent( QHideEvent * pHideEvent )</function>    <tabstop>DeviceListView</tabstop>
319      <function specifier="non virtual">setClient( lscp_client_t *pClient )</function>    <tabstop>RefreshDevicesPushButton</tabstop>
320  </functions>    <tabstop>DriverNameComboBox</tabstop>
321  <pixmapinproject/>    <tabstop>DevicePortComboBox</tabstop>
322  <layoutdefaults spacing="4" margin="4"/>    <tabstop>CreateDevicePushButton</tabstop>
323  <includehints>    <tabstop>DeleteDevicePushButton</tabstop>
324      <includehint>qsamplerdeviceparamtable.h</includehint>    <tabstop>ClosePushButton</tabstop>
325  </includehints>   </tabstops>
326  </UI>   <resources>
327      <include location="../icons/qsampler.qrc" />
328     </resources>
329    </ui>

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

  ViewVC Help
Powered by ViewVC