root/trunk/libffado/support/mixer-qt4/ffado/mixer/saffire_dice_monitoring.ui

Revision 1794, 8.4 kB (checked in by arnonym, 14 years ago)

This might (or might not) fix #256 by actually implementing EAP-support for the Pro40.

Please someone test this and report back.

Everything should work except:

  • The volume knob doesn't seem to have an effect on the Pro24, don't know about the Pro40. It writes to the right registers but somehow the hardware doesn't recognise it.
  • The "Use ADAT-Out as S/PDIF" and "Pad Output" are not implemented yet.
  • I don't know whether changing to nickname works with the Pro40. It doesn't with the Pro24 altough the correct registers are written to. Probably sending an OP-code is missing...
Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>Form</class>
4  <widget class="QWidget" name="Form">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>599</width>
10     <height>657</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Form</string>
15   </property>
16   <layout class="QGridLayout" name="gridLayout_2">
17    <item row="0" column="0">
18     <widget class="QSplitter" name="splitter">
19      <property name="orientation">
20       <enum>Qt::Vertical</enum>
21      </property>
22      <widget class="QTableView" name="monitoringView">
23       <property name="sizePolicy">
24        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
25         <horstretch>0</horstretch>
26         <verstretch>0</verstretch>
27        </sizepolicy>
28       </property>
29      </widget>
30      <widget class="QWidget" name="layoutWidget">
31       <layout class="QGridLayout" name="gridLayout">
32        <item row="3" column="0">
33         <widget class="QLabel" name="label">
34          <property name="text">
35           <string>Dim Level:</string>
36          </property>
37          <property name="alignment">
38           <set>Qt::AlignCenter</set>
39          </property>
40          <property name="buddy">
41           <cstring>dimLevel</cstring>
42          </property>
43         </widget>
44        </item>
45        <item row="3" column="1">
46         <widget class="QSpinBox" name="dimLevel">
47          <property name="sizePolicy">
48           <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
49            <horstretch>0</horstretch>
50            <verstretch>0</verstretch>
51           </sizepolicy>
52          </property>
53          <property name="alignment">
54           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
55          </property>
56          <property name="suffix">
57           <string> dB</string>
58          </property>
59          <property name="minimum">
60           <number>-127</number>
61          </property>
62          <property name="maximum">
63           <number>0</number>
64          </property>
65         </widget>
66        </item>
67        <item row="0" column="2" rowspan="6">
68         <widget class="QGroupBox" name="groupBox">
69          <property name="sizePolicy">
70           <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
71            <horstretch>0</horstretch>
72            <verstretch>4</verstretch>
73           </sizepolicy>
74          </property>
75          <property name="title">
76           <string>Volume</string>
77          </property>
78          <property name="flat">
79           <bool>false</bool>
80          </property>
81          <property name="checkable">
82           <bool>false</bool>
83          </property>
84          <layout class="QVBoxLayout" name="verticalLayout">
85           <item>
86            <widget class="QDial" name="volumeKnob">
87             <property name="sizePolicy">
88              <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
89               <horstretch>0</horstretch>
90               <verstretch>4</verstretch>
91              </sizepolicy>
92             </property>
93             <property name="minimum">
94              <number>-127</number>
95             </property>
96             <property name="maximum">
97              <number>0</number>
98             </property>
99            </widget>
100           </item>
101           <item>
102            <widget class="QSpinBox" name="volumeBox">
103             <property name="alignment">
104              <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
105             </property>
106             <property name="suffix">
107              <string> dB</string>
108             </property>
109             <property name="minimum">
110              <number>-127</number>
111             </property>
112             <property name="maximum">
113              <number>0</number>
114             </property>
115            </widget>
116           </item>
117          </layout>
118         </widget>
119        </item>
120        <item row="4" column="0" colspan="2">
121         <widget class="QPushButton" name="btnDim">
122          <property name="sizePolicy">
123           <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
124            <horstretch>0</horstretch>
125            <verstretch>10</verstretch>
126           </sizepolicy>
127          </property>
128          <property name="font">
129           <font>
130            <weight>75</weight>
131            <bold>true</bold>
132           </font>
133          </property>
134          <property name="text">
135           <string>Dim</string>
136          </property>
137          <property name="checkable">
138           <bool>true</bool>
139          </property>
140         </widget>
141        </item>
142        <item row="5" column="0" colspan="2">
143         <widget class="QPushButton" name="btnMute">
144          <property name="sizePolicy">
145           <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
146            <horstretch>0</horstretch>
147            <verstretch>10</verstretch>
148           </sizepolicy>
149          </property>
150          <property name="font">
151           <font>
152            <weight>75</weight>
153            <bold>true</bold>
154           </font>
155          </property>
156          <property name="text">
157           <string>Mute</string>
158          </property>
159          <property name="checkable">
160           <bool>true</bool>
161          </property>
162         </widget>
163        </item>
164        <item row="0" column="0">
165         <widget class="QCheckBox" name="chkInst1">
166          <property name="sizePolicy">
167           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
168            <horstretch>0</horstretch>
169            <verstretch>0</verstretch>
170           </sizepolicy>
171          </property>
172          <property name="text">
173           <string>Ch 1 Instrument</string>
174          </property>
175         </widget>
176        </item>
177        <item row="0" column="1">
178         <widget class="QCheckBox" name="chkLevel3">
179          <property name="sizePolicy">
180           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
181            <horstretch>0</horstretch>
182            <verstretch>0</verstretch>
183           </sizepolicy>
184          </property>
185          <property name="text">
186           <string>Ch 3 High Level</string>
187          </property>
188         </widget>
189        </item>
190        <item row="1" column="0">
191         <widget class="QCheckBox" name="chkInst2">
192          <property name="sizePolicy">
193           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
194            <horstretch>0</horstretch>
195            <verstretch>0</verstretch>
196           </sizepolicy>
197          </property>
198          <property name="text">
199           <string>Ch 2 Instrument</string>
200          </property>
201         </widget>
202        </item>
203        <item row="1" column="1">
204         <widget class="QCheckBox" name="chkLevel4">
205          <property name="sizePolicy">
206           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
207            <horstretch>0</horstretch>
208            <verstretch>0</verstretch>
209           </sizepolicy>
210          </property>
211          <property name="text">
212           <string>Ch 4 High Level</string>
213          </property>
214         </widget>
215        </item>
216        <item row="2" column="0">
217         <widget class="QCheckBox" name="chkSpdif">
218          <property name="sizePolicy">
219           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
220            <horstretch>0</horstretch>
221            <verstretch>0</verstretch>
222           </sizepolicy>
223          </property>
224          <property name="text">
225           <string>Use ADAT-Out as S/PDIF</string>
226          </property>
227         </widget>
228        </item>
229        <item row="2" column="1">
230         <widget class="QPushButton" name="btnPad">
231          <property name="sizePolicy">
232           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
233            <horstretch>0</horstretch>
234            <verstretch>0</verstretch>
235           </sizepolicy>
236          </property>
237          <property name="text">
238           <string>Pad Output</string>
239          </property>
240         </widget>
241        </item>
242       </layout>
243      </widget>
244     </widget>
245    </item>
246   </layout>
247  </widget>
248  <resources/>
249  <connections>
250   <connection>
251    <sender>volumeKnob</sender>
252    <signal>valueChanged(int)</signal>
253    <receiver>volumeBox</receiver>
254    <slot>setValue(int)</slot>
255    <hints>
256     <hint type="sourcelabel">
257      <x>492</x>
258      <y>531</y>
259     </hint>
260     <hint type="destinationlabel">
261      <x>488</x>
262      <y>635</y>
263     </hint>
264    </hints>
265   </connection>
266   <connection>
267    <sender>volumeBox</sender>
268    <signal>valueChanged(int)</signal>
269    <receiver>volumeKnob</receiver>
270    <slot>setValue(int)</slot>
271    <hints>
272     <hint type="sourcelabel">
273      <x>551</x>
274      <y>630</y>
275     </hint>
276     <hint type="destinationlabel">
277      <x>559</x>
278      <y>539</y>
279     </hint>
280    </hints>
281   </connection>
282  </connections>
283 </ui>
Note: See TracBrowser for help on using the browser.