root/trunk/libffado/support/mixer/mixer_dummy.ui

Revision 1062, 2.4 kB (checked in by arnonym, 16 years ago)
  • Introduce a top-level QTabWidget that contains all the mixers.
  • If the specific mixer has now specialized gui, the dummy is shown instead.
  • The generic mixer is not installed anymore, if it is found (because ffadomixer is executed in that directory or because the files of the generic mixer aren't delete by hand), it will be added as well.

PS: Seems to be a good commit +237 lines, -242 lines

Line 
1 <!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2 <class>DummyMixerUI</class>
3 <comment>Copyright (C) 2005-2008 by Pieter Palmers
4        
5         This file is part of FFADO
6         FFADO = Free Firewire (pro-)audio drivers for linux
7        
8         FFADO is based upon FreeBoB.
9        
10         This program is free software: you can redistribute it and/or modify
11         it under the terms of the GNU General Public License as published by
12         the Free Software Foundation, either version 2 of the License, or
13         (at your option) version 3 of the License.
14        
15         This program is distributed in the hope that it will be useful,
16         but WITHOUT ANY WARRANTY; without even the implied warranty of
17         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18         GNU General Public License for more details.
19 </comment>
20 <widget class="QWidget">
21     <property name="name">
22         <cstring>DummyMixerUI</cstring>
23     </property>
24     <property name="geometry">
25         <rect>
26             <x>0</x>
27             <y>0</y>
28             <width>309</width>
29             <height>290</height>
30         </rect>
31     </property>
32     <property name="caption">
33         <string>Dummy Panel</string>
34     </property>
35     <grid>
36         <property name="name">
37             <cstring>unnamed</cstring>
38         </property>
39         <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
40             <property name="name">
41                 <cstring>textLabel1</cstring>
42             </property>
43             <property name="text">
44                 <string>This panel is merely a placeholder for devices that don't have a mixer panel yet.</string>
45             </property>
46             <property name="alignment">
47                 <set>WordBreak|AlignVCenter</set>
48             </property>
49         </widget>
50         <spacer row="1" column="0">
51             <property name="name">
52                 <cstring>spacer1</cstring>
53             </property>
54             <property name="orientation">
55                 <enum>Horizontal</enum>
56             </property>
57             <property name="sizeType">
58                 <enum>Expanding</enum>
59             </property>
60             <property name="sizeHint">
61                 <size>
62                     <width>40</width>
63                     <height>20</height>
64                 </size>
65             </property>
66         </spacer>
67     </grid>
68 </widget>
69 <connections>
70 </connections>
71 <slots>
72     <slot>setFB2(int)</slot>
73     <slot>setFB1(int)</slot>
74     <slot>init()</slot>
75 </slots>
76 <layoutdefaults spacing="6" margin="11"/>
77 </UI>
Note: See TracBrowser for help on using the browser.