Show
Ignore:
Timestamp:
11/16/08 15:05:38 (15 years ago)
Author:
arnonym
Message:

forward port the mixer-changes from 2.0-branch r1361:HEAD

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/mixer-qt4

    • Property svn:ignore set to
      *ui.py
      *.pyc
      ffadomixer
      .*.swp
      ffadomixer_config.py
  • trunk/libffado/support/mixer-qt4/mixer_global.ui

    r1298 r1435  
    2323    <x>0</x> 
    2424    <y>0</y> 
    25     <width>721</width> 
    26     <height>191</height> 
     25    <width>444</width> 
     26    <height>81</height> 
    2727   </rect> 
    2828  </property> 
     
    3636   <string>Global Mixer Options</string> 
    3737  </property> 
    38   <layout class="QHBoxLayout" > 
     38  <layout class="QHBoxLayout" name="horizontalLayout" > 
     39   <property name="margin" > 
     40    <number>3</number> 
     41   </property> 
    3942   <item> 
    40     <layout class="QVBoxLayout" > 
    41      <item> 
    42       <layout class="QHBoxLayout" > 
    43        <item> 
    44         <widget class="QLabel" name="textLabel1" > 
    45          <property name="text" > 
    46           <string>Device Nickname:</string> 
    47          </property> 
    48          <property name="wordWrap" > 
    49           <bool>false</bool> 
    50          </property> 
    51          <property name="buddy" > 
    52           <cstring>txtNickname</cstring> 
    53          </property> 
    54         </widget> 
    55        </item> 
    56        <item> 
    57         <widget class="QLineEdit" name="txtNickname" > 
    58          <property name="minimumSize" > 
    59           <size> 
    60            <width>100</width> 
    61            <height>0</height> 
    62           </size> 
    63          </property> 
    64         </widget> 
    65        </item> 
    66       </layout> 
     43    <layout class="QGridLayout" name="gridLayout_2" > 
     44     <property name="horizontalSpacing" > 
     45      <number>9</number> 
     46     </property> 
     47     <item row="0" column="0" colspan="2" > 
     48      <widget class="QLabel" name="lblName" > 
     49       <property name="font" > 
     50        <font> 
     51         <weight>75</weight> 
     52         <bold>true</bold> 
     53        </font> 
     54       </property> 
     55       <property name="text" > 
     56        <string>TextLabel</string> 
     57       </property> 
     58      </widget> 
    6759     </item> 
    68      <item> 
    69       <layout class="QHBoxLayout" > 
    70        <item> 
    71         <widget class="QLabel" name="textLabel2" > 
    72          <property name="text" > 
    73           <string>Clock Source:</string> 
    74          </property> 
    75          <property name="wordWrap" > 
    76           <bool>false</bool> 
    77          </property> 
    78          <property name="buddy" > 
    79           <cstring>clocksource</cstring> 
    80          </property> 
    81         </widget> 
    82        </item> 
    83        <item> 
    84         <widget class="QComboBox" name="clocksource" /> 
    85        </item> 
    86        <item> 
    87         <spacer> 
    88          <property name="orientation" > 
    89           <enum>Qt::Horizontal</enum> 
    90          </property> 
    91          <property name="sizeType" > 
    92           <enum>QSizePolicy::Expanding</enum> 
    93          </property> 
    94          <property name="sizeHint" > 
    95           <size> 
    96            <width>31</width> 
    97            <height>21</height> 
    98           </size> 
    99          </property> 
    100         </spacer> 
    101        </item> 
    102        <item> 
    103         <widget class="QLabel" name="textLabel2_2" > 
    104          <property name="text" > 
    105           <string>Sample Rate:</string> 
    106          </property> 
    107          <property name="wordWrap" > 
    108           <bool>false</bool> 
    109          </property> 
    110          <property name="buddy" > 
    111           <cstring>samplerate</cstring> 
    112          </property> 
    113         </widget> 
    114        </item> 
    115        <item> 
    116         <widget class="QComboBox" name="samplerate" > 
    117          <property name="enabled" > 
    118           <bool>true</bool> 
    119          </property> 
    120         </widget> 
    121        </item> 
    122       </layout> 
     60     <item row="1" column="0" > 
     61      <widget class="QLabel" name="textLabel1" > 
     62       <property name="text" > 
     63        <string>Nickname:</string> 
     64       </property> 
     65       <property name="wordWrap" > 
     66        <bool>false</bool> 
     67       </property> 
     68       <property name="buddy" > 
     69        <cstring>txtNickname</cstring> 
     70       </property> 
     71      </widget> 
     72     </item> 
     73     <item row="1" column="1" > 
     74      <widget class="QLineEdit" name="txtNickname" > 
     75       <property name="minimumSize" > 
     76        <size> 
     77         <width>100</width> 
     78         <height>0</height> 
     79        </size> 
     80       </property> 
     81      </widget> 
     82     </item> 
     83    </layout> 
     84   </item> 
     85   <item> 
     86    <layout class="QGridLayout" name="gridLayout" > 
     87     <property name="horizontalSpacing" > 
     88      <number>9</number> 
     89     </property> 
     90     <item row="0" column="1" > 
     91      <widget class="QComboBox" name="clocksource" > 
     92       <property name="sizePolicy" > 
     93        <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 
     94         <horstretch>1</horstretch> 
     95         <verstretch>0</verstretch> 
     96        </sizepolicy> 
     97       </property> 
     98      </widget> 
     99     </item> 
     100     <item row="1" column="0" > 
     101      <widget class="QLabel" name="textLabel2_2" > 
     102       <property name="text" > 
     103        <string>Sample Rate:</string> 
     104       </property> 
     105       <property name="wordWrap" > 
     106        <bool>false</bool> 
     107       </property> 
     108       <property name="buddy" > 
     109        <cstring>samplerate</cstring> 
     110       </property> 
     111      </widget> 
     112     </item> 
     113     <item row="1" column="1" > 
     114      <widget class="QComboBox" name="samplerate" > 
     115       <property name="enabled" > 
     116        <bool>true</bool> 
     117       </property> 
     118       <property name="sizePolicy" > 
     119        <sizepolicy vsizetype="Fixed" hsizetype="Preferred" > 
     120         <horstretch>1</horstretch> 
     121         <verstretch>0</verstretch> 
     122        </sizepolicy> 
     123       </property> 
     124      </widget> 
     125     </item> 
     126     <item row="0" column="0" > 
     127      <widget class="QLabel" name="textLabel2" > 
     128       <property name="text" > 
     129        <string>Clock Source:</string> 
     130       </property> 
     131       <property name="wordWrap" > 
     132        <bool>false</bool> 
     133       </property> 
     134       <property name="buddy" > 
     135        <cstring>clocksource</cstring> 
     136       </property> 
     137      </widget> 
    123138     </item> 
    124139    </layout> 
     
    132147      <enum>QSizePolicy::Expanding</enum> 
    133148     </property> 
    134      <property name="sizeHint"
     149     <property name="sizeHint" stdset="0"
    135150      <size> 
    136151       <width>330</width> 
    137        <height>71</height> 
     152       <height>10</height> 
    138153      </size> 
    139154     </property> 
     
    145160 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> 
    146161 <resources/> 
    147  <connections> 
    148   <connection> 
    149    <sender>clocksource</sender> 
    150    <signal>activated(int)</signal> 
    151    <receiver>GlobalMixerUi</receiver> 
    152    <slot>clockChanged(int)</slot> 
    153    <hints> 
    154     <hint type="sourcelabel" > 
    155      <x>20</x> 
    156      <y>20</y> 
    157     </hint> 
    158     <hint type="destinationlabel" > 
    159      <x>20</x> 
    160      <y>20</y> 
    161     </hint> 
    162    </hints> 
    163   </connection> 
    164   <connection> 
    165    <sender>txtNickname</sender> 
    166    <signal>textChanged(QString)</signal> 
    167    <receiver>GlobalMixerUi</receiver> 
    168    <slot>nicknameChanged(QString)</slot> 
    169    <hints> 
    170     <hint type="sourcelabel" > 
    171      <x>20</x> 
    172      <y>20</y> 
    173     </hint> 
    174     <hint type="destinationlabel" > 
    175      <x>20</x> 
    176      <y>20</y> 
    177     </hint> 
    178    </hints> 
    179   </connection> 
    180   <connection> 
    181    <sender>samplerate</sender> 
    182    <signal>activated(int)</signal> 
    183    <receiver>GlobalMixerUi</receiver> 
    184    <slot>samplerateChanged(int)</slot> 
    185    <hints> 
    186     <hint type="sourcelabel" > 
    187      <x>20</x> 
    188      <y>20</y> 
    189     </hint> 
    190     <hint type="destinationlabel" > 
    191      <x>20</x> 
    192      <y>20</y> 
    193     </hint> 
    194    </hints> 
    195   </connection> 
    196  </connections> 
     162 <connections/> 
    197163</ui>