/[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 1463 by capela, Thu Nov 1 13:01:27 2007 UTC revision 2678 by capela, Thu Oct 16 17:11:32 2014 UTC
# Line 2  Line 2 
2   <author>rncbc aka Rui Nuno Capela</author>   <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) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2014, 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 29  Line 30 
30      <height>378</height>      <height>378</height>
31     </rect>     </rect>
32    </property>    </property>
   <property name="sizePolicy" >  
    <sizepolicy>  
     <hsizetype>7</hsizetype>  
     <vsizetype>1</vsizetype>  
     <horstretch>0</horstretch>  
     <verstretch>0</verstretch>  
    </sizepolicy>  
   </property>  
33    <property name="focusPolicy" >    <property name="focusPolicy" >
34     <enum>Qt::StrongFocus</enum>     <enum>Qt::StrongFocus</enum>
35    </property>    </property>
# Line 44  Line 37 
37     <string>Qsampler: Devices</string>     <string>Qsampler: Devices</string>
38    </property>    </property>
39    <property name="windowIcon" >    <property name="windowIcon" >
40     <iconset resource="../icons/qsampler.qrc" >:/icons/qsamplerDevice.png</iconset>     <iconset resource="qsampler.qrc" >:/images/qsamplerDevice.png</iconset>
41    </property>    </property>
42    <layout class="QVBoxLayout" >    <layout class="QVBoxLayout" >
43     <property name="margin" >     <property name="margin" >
# Line 54  Line 47 
47      <number>6</number>      <number>6</number>
48     </property>     </property>
49     <item>     <item>
50      <layout class="QHBoxLayout" >      <widget class="QSplitter" name="splitter1" >
51       <property name="margin" >       <property name="sizePolicy" >
52        <number>0</number>        <sizepolicy>
53           <hsizetype>7</hsizetype>
54           <vsizetype>7</vsizetype>
55           <horstretch>0</horstretch>
56           <verstretch>0</verstretch>
57          </sizepolicy>
58       </property>       </property>
59       <property name="spacing" >       <property name="orientation" >
60        <number>6</number>        <enum>Qt::Horizontal</enum>
61       </property>       </property>
62       <item>       <property name="handleWidth" >
63        <widget class="QTreeWidget" name="DeviceListView" >        <number>4</number>
64         <property name="minimumSize" >       </property>
65          <size>       <widget class="QTreeWidget" name="DeviceListView" >
66           <width>160</width>        <property name="minimumSize" >
67           <height>0</height>         <size>
68          </size>          <width>120</width>
69         </property>          <height>0</height>
70         <property name="toolTip" >         </size>
71          <string>Device list</string>        </property>
72          <property name="toolTip" >
73           <string>Device list</string>
74          </property>
75          <property name="rootIsDecorated" >
76           <bool>false</bool>
77          </property>
78          <property name="uniformRowHeights" >
79           <bool>true</bool>
80          </property>
81          <column>
82           <property name="text" >
83            <string>Devices</string>
84         </property>         </property>
85          </column>
86         </widget>
87         <widget class="QSplitter" name="splitter2" >
88          <property name="sizePolicy" >
89           <sizepolicy>
90            <hsizetype>7</hsizetype>
91            <vsizetype>7</vsizetype>
92            <horstretch>0</horstretch>
93            <verstretch>0</verstretch>
94           </sizepolicy>
95          </property>
96          <property name="orientation" >
97           <enum>Qt::Vertical</enum>
98          </property>
99          <property name="handleWidth" >
100           <number>4</number>
101          </property>
102          <widget class="QWidget" name="DeviceParamLayout" >
103           <layout class="QVBoxLayout" >
104            <property name="margin" >
105             <number>0</number>
106            </property>
107            <property name="spacing" >
108             <number>6</number>
109            </property>
110            <item>
111             <layout class="QHBoxLayout" >
112              <property name="margin" >
113               <number>0</number>
114              </property>
115              <property name="spacing" >
116               <number>6</number>
117              </property>
118              <item>
119               <widget class="QLabel" name="DeviceNameTextLabel" >
120                <property name="font" >
121                 <font>
122                  <weight>75</weight>
123                  <bold>true</bold>
124                 </font>
125                </property>
126                <property name="toolTip" >
127                 <string>Device name</string>
128                </property>
129                <property name="wordWrap" >
130                 <bool>false</bool>
131                </property>
132                <property name="indent" >
133                 <number>4</number>
134                </property>
135               </widget>
136              </item>
137              <item>
138               <widget class="QLabel" name="DriverNameTextLabel" >
139                <property name="text" >
140                 <string>Dri&amp;ver:</string>
141                </property>
142                <property name="alignment" >
143                 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
144                </property>
145                <property name="wordWrap" >
146                 <bool>false</bool>
147                </property>
148                <property name="buddy" >
149                 <cstring>DriverNameComboBox</cstring>
150                </property>
151               </widget>
152              </item>
153              <item>
154               <widget class="QComboBox" name="DriverNameComboBox" >
155                <property name="toolTip" >
156                 <string>Driver type name</string>
157                </property>
158               </widget>
159              </item>
160             </layout>
161            </item>
162            <item>
163             <widget class="QTableView" name="DeviceParamTable" >
164              <property name="alternatingRowColors" >
165               <bool>true</bool>
166              </property>
167              <property name="selectionMode" >
168               <enum>QAbstractItemView::NoSelection</enum>
169              </property>
170              <property name="showGrid" >
171               <bool>false</bool>
172              </property>
173             </widget>
174            </item>
175           </layout>
176        </widget>        </widget>
177       </item>        <widget class="QWidget" name="PortParamLayout" >
178       <item>         <layout class="QVBoxLayout" >
179        <layout class="QVBoxLayout" >          <property name="margin" >
180         <property name="margin" >           <number>0</number>
181          <number>0</number>          </property>
182         </property>          <property name="spacing" >
183         <property name="spacing" >           <number>6</number>
184          <number>6</number>          </property>
185         </property>          <item>
186         <item>           <layout class="QHBoxLayout" >
187          <layout class="QHBoxLayout" >            <property name="margin" >
188           <property name="margin" >             <number>0</number>
189            <number>0</number>            </property>
190           </property>            <property name="spacing" >
191           <property name="spacing" >             <number>6</number>
192            <number>6</number>            </property>
193           </property>            <item>
194           <item>             <widget class="QLabel" name="DevicePortTextLabel" >
195            <widget class="QLabel" name="DeviceNameTextLabel" >              <property name="text" >
196             <property name="sizePolicy" >               <string>Channel:</string>
197              <sizepolicy>              </property>
198               <hsizetype>7</hsizetype>              <property name="alignment" >
199               <vsizetype>5</vsizetype>               <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
200               <horstretch>0</horstretch>              </property>
201               <verstretch>0</verstretch>              <property name="wordWrap" >
202              </sizepolicy>               <bool>false</bool>
203             </property>              </property>
204             <property name="font" >              <property name="buddy" >
205              <font>               <cstring>DevicePortComboBox</cstring>
206               <weight>75</weight>              </property>
207               <bold>true</bold>             </widget>
208              </font>            </item>
209             </property>            <item>
210             <property name="toolTip" >             <widget class="QComboBox" name="DevicePortComboBox" >
211              <string>Device name</string>              <property name="sizePolicy" >
212             </property>               <sizepolicy>
213             <property name="wordWrap" >                <hsizetype>7</hsizetype>
214              <bool>false</bool>                <vsizetype>0</vsizetype>
215             </property>                <horstretch>0</horstretch>
216             <property name="indent" >                <verstretch>0</verstretch>
217              <number>4</number>               </sizepolicy>
218             </property>              </property>
219            </widget>              <property name="minimumSize" >
220           </item>               <size>
221           <item>                <width>120</width>
222            <widget class="QLabel" name="DriverNameTextLabel" >                <height>0</height>
223             <property name="text" >               </size>
224              <string>Dri&amp;ver:</string>              </property>
225             </property>              <property name="toolTip" >
226             <property name="alignment" >               <string>Device port/channel</string>
227              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>              </property>
228             </property>             </widget>
229             <property name="wordWrap" >            </item>
230              <bool>false</bool>           </layout>
231             </property>          </item>
232             <property name="buddy" >          <item>
233              <cstring>DriverNameComboBox</cstring>           <widget class="QTableView" name="DevicePortParamTable" >
234             </property>            <property name="alternatingRowColors" >
235            </widget>             <bool>true</bool>
236           </item>            </property>
237           <item>            <property name="selectionMode" >
238            <widget class="QComboBox" name="DriverNameComboBox" >             <enum>QAbstractItemView::NoSelection</enum>
239             <property name="toolTip" >            </property>
240              <string>Driver type name</string>            <property name="showGrid" >
241             </property>             <bool>false</bool>
242            </widget>            </property>
243           </item>           </widget>
244          </layout>          </item>
245         </item>         </layout>
246         <item>        </widget>
247          <widget class="QTableView" name="DeviceParamTable" />       </widget>
248         </item>      </widget>
        <item>  
         <layout class="QHBoxLayout" >  
          <property name="margin" >  
           <number>0</number>  
          </property>  
          <property name="spacing" >  
           <number>6</number>  
          </property>  
          <item>  
           <spacer>  
            <property name="orientation" >  
             <enum>Qt::Horizontal</enum>  
            </property>  
            <property name="sizeHint" >  
             <size>  
              <width>40</width>  
              <height>20</height>  
             </size>  
            </property>  
           </spacer>  
          </item>  
          <item>  
           <widget class="QLabel" name="DevicePortTextLabel" >  
            <property name="text" >  
             <string>Channel:</string>  
            </property>  
            <property name="alignment" >  
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>  
            </property>  
            <property name="wordWrap" >  
             <bool>false</bool>  
            </property>  
            <property name="buddy" >  
             <cstring>DevicePortComboBox</cstring>  
            </property>  
           </widget>  
          </item>  
          <item>  
           <widget class="QComboBox" name="DevicePortComboBox" >  
            <property name="sizePolicy" >  
             <sizepolicy>  
              <hsizetype>7</hsizetype>  
              <vsizetype>0</vsizetype>  
              <horstretch>0</horstretch>  
              <verstretch>0</verstretch>  
             </sizepolicy>  
            </property>  
            <property name="toolTip" >  
             <string>Device port/channel</string>  
            </property>  
           </widget>  
          </item>  
         </layout>  
        </item>  
        <item>  
         <widget class="QTableView" name="DevicePortParamTable" />  
        </item>  
       </layout>  
      </item>  
     </layout>  
249     </item>     </item>
250     <item>     <item>
251      <layout class="QHBoxLayout" >      <layout class="QHBoxLayout" >
# Line 223  Line 264 
264          <string>&amp;Refresh</string>          <string>&amp;Refresh</string>
265         </property>         </property>
266         <property name="icon" >         <property name="icon" >
267          <iconset resource="../icons/qsampler.qrc" >:/icons/formRefresh.png</iconset>          <iconset resource="qsampler.qrc" >:/images/formRefresh.png</iconset>
        </property>  
        <property name="shortcut" >  
         <string>Alt+R</string>  
268         </property>         </property>
269        </widget>        </widget>
270       </item>       </item>
# Line 255  Line 293 
293          <string>&amp;Create</string>          <string>&amp;Create</string>
294         </property>         </property>
295         <property name="icon" >         <property name="icon" >
296          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceCreate.png</iconset>          <iconset resource="qsampler.qrc" >:/images/deviceCreate.png</iconset>
        </property>  
        <property name="shortcut" >  
         <string>Alt+C</string>  
297         </property>         </property>
298        </widget>        </widget>
299       </item>       </item>
# Line 271  Line 306 
306          <string>&amp;Delete</string>          <string>&amp;Delete</string>
307         </property>         </property>
308         <property name="icon" >         <property name="icon" >
309          <iconset resource="../icons/qsampler.qrc" >:/icons/deviceDelete.png</iconset>          <iconset resource="qsampler.qrc" >:/images/deviceDelete.png</iconset>
        </property>  
        <property name="shortcut" >  
         <string>Alt+D</string>  
310         </property>         </property>
311        </widget>        </widget>
312       </item>       </item>
# Line 287  Line 319 
319          <string>Close</string>          <string>Close</string>
320         </property>         </property>
321         <property name="icon" >         <property name="icon" >
322          <iconset resource="../icons/qsampler.qrc" >:/icons/formReject.png</iconset>          <iconset resource="qsampler.qrc" >:/images/formReject.png</iconset>
        </property>  
        <property name="shortcut" >  
         <string/>  
323         </property>         </property>
324        </widget>        </widget>
325       </item>       </item>
# Line 299  Line 328 
328    </layout>    </layout>
329   </widget>   </widget>
330   <layoutdefault spacing="4" margin="4" />   <layoutdefault spacing="4" margin="4" />
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>  
331   <tabstops>   <tabstops>
332    <tabstop>DeviceListView</tabstop>    <tabstop>DeviceListView</tabstop>
333    <tabstop>RefreshDevicesPushButton</tabstop>    <tabstop>RefreshDevicesPushButton</tabstop>
# Line 309  Line 337 
337    <tabstop>DeleteDevicePushButton</tabstop>    <tabstop>DeleteDevicePushButton</tabstop>
338    <tabstop>ClosePushButton</tabstop>    <tabstop>ClosePushButton</tabstop>
339   </tabstops>   </tabstops>
  <includes>  
   <include location="local" >qsamplerDevice.h</include>  
  </includes>  
340   <resources>   <resources>
341    <include location="../icons/qsampler.qrc" />    <include location="qsampler.qrc" />
342   </resources>   </resources>
343   <connections>   <connections/>
   <connection>  
    <sender>DeviceListView</sender>  
    <signal>selectionChanged()</signal>  
    <receiver>qsamplerDeviceForm</receiver>  
    <slot>selectDevice()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>RefreshDevicesPushButton</sender>  
    <signal>clicked()</signal>  
    <receiver>qsamplerDeviceForm</receiver>  
    <slot>refreshDevices()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>DriverNameComboBox</sender>  
    <signal>activated(QString)</signal>  
    <receiver>qsamplerDeviceForm</receiver>  
    <slot>selectDriver(QString)</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>DevicePortComboBox</sender>  
    <signal>activated(int)</signal>  
    <receiver>qsamplerDeviceForm</receiver>  
    <slot>selectDevicePort(int)</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>CreateDevicePushButton</sender>  
    <signal>clicked()</signal>  
    <receiver>qsamplerDeviceForm</receiver>  
    <slot>createDevice()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>DeleteDevicePushButton</sender>  
    <signal>clicked()</signal>  
    <receiver>qsamplerDeviceForm</receiver>  
    <slot>deleteDevice()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
   <connection>  
    <sender>ClosePushButton</sender>  
    <signal>clicked()</signal>  
    <receiver>qsamplerDeviceForm</receiver>  
    <slot>close()</slot>  
    <hints>  
     <hint type="sourcelabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
     <hint type="destinationlabel" >  
      <x>20</x>  
      <y>20</y>  
     </hint>  
    </hints>  
   </connection>  
  </connections>  
344  </ui>  </ui>

Legend:
Removed from v.1463  
changed lines
  Added in v.2678

  ViewVC Help
Powered by ViewVC