Changeset 1317

Show
Ignore:
Timestamp:
08/24/08 18:55:36 (3 months ago)
Author:
jwoithe
Message:

MOTU: make various toggle buttons work as toggle buttons (fixes mute/solo/level switches)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libffado-2.0/support/mixer/mixer_motu.ui

    r1315 r1317  
    2727            <x>0</x> 
    2828            <y>0</y> 
    29             <width>992</width> 
     29            <width>1004</width> 
    3030            <height>693</height> 
    3131        </rect> 
     
    641641                                        <string>+4dBu</string> 
    642642                                    </property> 
     643                                    <property name="toggleButton"> 
     644                                        <bool>true</bool> 
     645                                    </property> 
     646                                    <property name="on"> 
     647                                        <bool>false</bool> 
     648                                    </property> 
    643649                                </widget> 
    644650                                <widget class="QLabel"> 
     
    756762                                        <string>+4dBu</string> 
    757763                                    </property> 
     764                                    <property name="toggleButton"> 
     765                                        <bool>true</bool> 
     766                                    </property> 
     767                                    <property name="on"> 
     768                                        <bool>false</bool> 
     769                                    </property> 
    758770                                </widget> 
    759771                                <widget class="QLabel"> 
     
    871883                                        <string>+4dBu</string> 
    872884                                    </property> 
     885                                    <property name="toggleButton"> 
     886                                        <bool>true</bool> 
     887                                    </property> 
     888                                    <property name="on"> 
     889                                        <bool>false</bool> 
     890                                    </property> 
    873891                                </widget> 
    874892                                <widget class="QLabel"> 
     
    9861004                                        <string>+4dBu</string> 
    9871005                                    </property> 
     1006                                    <property name="toggleButton"> 
     1007                                        <bool>true</bool> 
     1008                                    </property> 
     1009                                    <property name="on"> 
     1010                                        <bool>false</bool> 
     1011                                    </property> 
    9881012                                </widget> 
    9891013                                <widget class="QLabel"> 
     
    11011125                                        <string>+4dBu</string> 
    11021126                                    </property> 
     1127                                    <property name="toggleButton"> 
     1128                                        <bool>true</bool> 
     1129                                    </property> 
     1130                                    <property name="on"> 
     1131                                        <bool>false</bool> 
     1132                                    </property> 
    11031133                                </widget> 
    11041134                                <widget class="QLabel"> 
     
    12161246                                        <string>+4dBu</string> 
    12171247                                    </property> 
     1248                                    <property name="toggleButton"> 
     1249                                        <bool>true</bool> 
     1250                                    </property> 
     1251                                    <property name="on"> 
     1252                                        <bool>false</bool> 
     1253                                    </property> 
    12181254                                </widget> 
    12191255                                <widget class="QLabel"> 
     
    13311367                                        <string>+4dBu</string> 
    13321368                                    </property> 
     1369                                    <property name="toggleButton"> 
     1370                                        <bool>true</bool> 
     1371                                    </property> 
     1372                                    <property name="on"> 
     1373                                        <bool>false</bool> 
     1374                                    </property> 
    13331375                                </widget> 
    13341376                                <widget class="QLabel"> 
     
    14451487                                    <property name="text"> 
    14461488                                        <string>+4dBu</string> 
     1489                                    </property> 
     1490                                    <property name="toggleButton"> 
     1491                                        <bool>true</bool> 
     1492                                    </property> 
     1493                                    <property name="on"> 
     1494                                        <bool>false</bool> 
    14471495                                    </property> 
    14481496                                </widget> 
     
    15431591                                                        <string>Solo</string> 
    15441592                                                    </property> 
     1593                                                    <property name="toggleButton"> 
     1594                                                        <bool>true</bool> 
     1595                                                    </property> 
    15451596                                                </widget> 
    15461597                                                <widget class="QToolButton"> 
     
    15581609                                                    <property name="accel"> 
    15591610                                                        <string></string> 
     1611                                                    </property> 
     1612                                                    <property name="toggleButton"> 
     1613                                                        <bool>true</bool> 
    15601614                                                    </property> 
    15611615                                                </widget> 
     
    17151769                                                        <string>Solo</string> 
    17161770                                                    </property> 
     1771                                                    <property name="toggleButton"> 
     1772                                                        <bool>true</bool> 
     1773                                                    </property> 
    17171774                                                </widget> 
    17181775                                                <widget class="QToolButton"> 
     
    17301787                                                    <property name="accel"> 
    17311788                                                        <string></string> 
     1789                                                    </property> 
     1790                                                    <property name="toggleButton"> 
     1791                                                        <bool>true</bool> 
    17321792                                                    </property> 
    17331793                                                </widget> 
     
    18871947                                                        <string>Solo</string> 
    18881948                                                    </property> 
     1949                                                    <property name="toggleButton"> 
     1950                                                        <bool>true</bool> 
     1951                                                    </property> 
    18891952                                                </widget> 
    18901953                                                <widget class="QToolButton"> 
     
    19021965                                                    <property name="accel"> 
    19031966                                                        <string></string> 
     1967                                                    </property> 
     1968                                                    <property name="toggleButton"> 
     1969                                                        <bool>true</bool> 
    19041970                                                    </property> 
    19051971                                                </widget> 
     
    20592125                                                        <string>Solo</string> 
    20602126                                                    </property> 
     2127                                                    <property name="toggleButton"> 
     2128                                                        <bool>true</bool> 
     2129                                                    </property> 
    20612130                                                </widget> 
    20622131                                                <widget class="QToolButton"> 
     
    20742143                                                    <property name="accel"> 
    20752144                                                        <string></string> 
     2145                                                    </property> 
     2146                                                    <property name="toggleButton"> 
     2147                                                        <bool>true</bool> 
    20762148                                                    </property> 
    20772149                                                </widget> 
     
    22312303                                                        <string>Solo</string> 
    22322304                                                    </property> 
     2305                                                    <property name="toggleButton"> 
     2306                                                        <bool>true</bool> 
     2307                                                    </property> 
    22332308                                                </widget> 
    22342309                                                <widget class="QToolButton"> 
     
    22462321                                                    <property name="accel"> 
    22472322                                                        <string></string> 
     2323                                                    </property> 
     2324                                                    <property name="toggleButton"> 
     2325                                                        <bool>true</bool> 
    22482326                                                    </property> 
    22492327                                                </widget> 
     
    24032481                                                        <string>Solo</string> 
    24042482                                                    </property> 
     2483                                                    <property name="toggleButton"> 
     2484                                                        <bool>true</bool> 
     2485                                                    </property> 
    24052486                                                </widget> 
    24062487                                                <widget class="QToolButton"> 
     
    24182499                                                    <property name="accel"> 
    24192500                                                        <string></string> 
     2501                                                    </property> 
     2502                                                    <property name="toggleButton"> 
     2503                                                        <bool>true</bool> 
    24202504                                                    </property> 
    24212505                                                </widget> 
     
    25752659                                                        <string>Solo</string> 
    25762660                                                    </property> 
     2661                                                    <property name="toggleButton"> 
     2662                                                        <bool>true</bool> 
     2663                                                    </property> 
    25772664                                                </widget> 
    25782665                                                <widget class="QToolButton"> 
     
    25902677                                                    <property name="accel"> 
    25912678                                                        <string></string> 
     2679                                                    </property> 
     2680                                                    <property name="toggleButton"> 
     2681                                                        <bool>true</bool> 
    25922682                                                    </property> 
    25932683                                                </widget> 
     
    27472837                                                        <string>Solo</string> 
    27482838                                                    </property> 
     2839                                                    <property name="toggleButton"> 
     2840                                                        <bool>true</bool> 
     2841                                                    </property> 
    27492842                                                </widget> 
    27502843                                                <widget class="QToolButton"> 
     
    27622855                                                    <property name="accel"> 
    27632856                                                        <string></string> 
     2857                                                    </property> 
     2858                                                    <property name="toggleButton"> 
     2859                                                        <bool>true</bool> 
    27642860                                                    </property> 
    27652861                                                </widget> 
     
    29353031                                                        <string>Solo</string> 
    29363032                                                    </property> 
     3033                                                    <property name="toggleButton"> 
     3034                                                        <bool>true</bool> 
     3035                                                    </property> 
    29373036                                                </widget> 
    29383037                                                <widget class="QToolButton"> 
     
    29503049                                                    <property name="accel"> 
    29513050                                                        <string></string> 
     3051                                                    </property> 
     3052                                                    <property name="toggleButton"> 
     3053                                                        <bool>true</bool> 
    29523054                                                    </property> 
    29533055                                                </widget> 
     
    31073209                                                        <string>Solo</string> 
    31083210                                                    </property> 
     3211                                                    <property name="toggleButton"> 
     3212                                                        <bool>true</bool> 
     3213                                                    </property> 
    31093214                                                </widget> 
    31103215                                                <widget class="QToolButton"> 
     
    31223227                                                    <property name="accel"> 
    31233228                                                        <string></string> 
     3229                                                    </property> 
     3230                                                    <property name="toggleButton"> 
     3231                                                        <bool>true</bool> 
    31243232                                                    </property> 
    31253233                                                </widget> 
     
    33123420                                                        <string>Solo</string> 
    33133421                                                    </property> 
     3422                                                    <property name="toggleButton"> 
     3423                                                        <bool>true</bool> 
     3424                                                    </property> 
    33143425                                                </widget> 
    33153426                                                <widget class="QToolButton"> 
     
    33273438                                                    <property name="accel"> 
    33283439                                                        <string></string> 
     3440                                                    </property> 
     3441                                                    <property name="toggleButton"> 
     3442                                                        <bool>true</bool> 
    33293443                                                    </property> 
    33303444                                                </widget> 
     
    34843598                                                        <string>Solo</string> 
    34853599                                                    </property> 
     3600                                                    <property name="toggleButton"> 
     3601                                                        <bool>true</bool> 
     3602                                                    </property> 
    34863603                                                </widget> 
    34873604                                                <widget class="QToolButton"> 
     
    34993616                                                    <property name="accel"> 
    35003617                                                        <string></string> 
     3618                                                    </property> 
     3619                                                    <property name="toggleButton"> 
     3620                                                        <bool>true</bool> 
    35013621                                                    </property> 
    35023622                                                </widget> 
     
    36893809                                                        <string>Solo</string> 
    36903810                                                    </property> 
     3811                                                    <property name="toggleButton"> 
     3812                                                        <bool>true</bool> 
     3813                                                    </property> 
    36913814                                                </widget> 
    36923815                                                <widget class="QToolButton"> 
     
    37043827                                                    <property name="accel"> 
    37053828                                                        <string></string> 
     3829                                                    </property> 
     3830                                                    <property name="toggleButton"> 
     3831                                                        <bool>true</bool> 
    37063832                                                    </property> 
    37073833                                                </widget> 
     
    38613987                                                        <string>Solo</string> 
    38623988                                                    </property> 
     3989                                                    <property name="toggleButton"> 
     3990                                                        <bool>true</bool> 
     3991                                                    </property> 
    38633992                                                </widget> 
    38643993                                                <widget class="QToolButton"> 
     
    38764005                                                    <property name="accel"> 
    38774006                                                        <string></string> 
     4007                                                    </property> 
     4008                                                    <property name="toggleButton"> 
     4009                                                        <bool>true</bool> 
    38784010                                                    </property> 
    38794011                                                </widget> 
     
    40334165                                                        <string>Solo</string> 
    40344166                                                    </property> 
     4167                                                    <property name="toggleButton"> 
     4168                                                        <bool>true</bool> 
     4169                                                    </property> 
    40354170                                                </widget> 
    40364171                                                <widget class="QToolButton"> 
     
    40484183                                                    <property name="accel"> 
    40494184                                                        <string></string> 
     4185                                                    </property> 
     4186                                                    <property name="toggleButton"> 
     4187                                                        <bool>true</bool> 
    40504188                                                    </property> 
    40514189                                                </widget> 
     
    42054343                                                        <string>Solo</string> 
    42064344                                                    </property> 
     4345                                                    <property name="toggleButton"> 
     4346                                                        <bool>true</bool> 
     4347                                                    </property> 
    42074348                                                </widget> 
    42084349                                                <widget class="QToolButton"> 
     
    42204361                                                    <property name="accel"> 
    42214362                                                        <string></string> 
     4363                                                    </property> 
     4364                                                    <property name="toggleButton"> 
     4365                                                        <bool>true</bool> 
    42224366                                                    </property> 
    42234367                                                </widget> 
     
    43774521                                                        <string>Solo</string> 
    43784522                                                    </property> 
     4523                                                    <property name="toggleButton"> 
     4524                                                        <bool>true</bool> 
     4525                                                    </property> 
    43794526                                                </widget> 
    43804527                                                <widget class="QToolButton"> 
     
    43924539                                                    <property name="accel"> 
    43934540                                                        <string></string> 
     4541                                                    </property> 
     4542                                                    <property name="toggleButton"> 
     4543                                                        <bool>true</bool> 
    43944544                                                    </property> 
    43954545                                                </widget> 
     
    45494699                                                        <string>Solo</string> 
    45504700                                                    </property> 
     4701                                                    <property name="toggleButton"> 
     4702                                                        <bool>true</bool> 
     4703                                                    </property> 
    45514704                                                </widget> 
    45524705                                                <widget class="QToolButton"> 
     
    45644717                                                    <property name="accel"> 
    45654718                                                        <string></string> 
     4719                                                    </property> 
     4720                                                    <property name="toggleButton"> 
     4721                                                        <bool>true</bool> 
    45664722                                                    </property> 
    45674723                                                </widget> 
     
    47214877                                                        <string>Solo</string> 
    47224878                                                    </property> 
     4879                                                    <property name="toggleButton"> 
     4880                                                        <bool>true</bool> 
     4881                                                    </property> 
    47234882                                                </widget> 
    47244883                                                <widget class="QToolButton"> 
     
    47364895                                                    <property name="accel"> 
    47374896                                                        <string></string> 
     4897                                                    </property> 
     4898                                                    <property name="toggleButton"> 
     4899                                                        <bool>true</bool> 
    47384900                                                    </property> 
    47394901                                                </widget> 
     
    48935055                                                        <string>Solo</string> 
    48945056                                                    </property> 
     5057                                                    <property name="toggleButton"> 
     5058                                                        <bool>true</bool> 
     5059                                                    </property> 
    48955060                                                </widget> 
    48965061                                                <widget class="QToolButton"> 
     
    49085073                                                    <property name="accel"> 
    49095074                                                        <string></string> 
     5075                                                    </property> 
     5076                                                    <property name="toggleButton"> 
     5077                                                        <bool>true</bool> 
    49105078                                                    </property> 
    49115079                                                </widget> 
     
    51685336                                            <string>Solo</string> 
    51695337                                        </property> 
     5338                                        <property name="toggleButton"> 
     5339                                            <bool>true</bool> 
     5340                                        </property> 
    51705341                                    </widget> 
    51715342                                    <widget class="QToolButton"> 
     
    51835354                                        <property name="accel"> 
    51845355                                            <string></string> 
     5356                                        </property> 
     5357                                        <property name="toggleButton"> 
     5358                                            <bool>true</bool> 
    51855359                                        </property> 
    51865360                                    </widget> 
     
    53555529                                                        <string>Solo</string> 
    53565530                                                    </property> 
     5531                                                    <property name="toggleButton"> 
     5532                                                        <bool>true</bool> 
     5533                                                    </property> 
    53575534                                                </widget> 
    53585535                                                <widget class="QToolButton"> 
     
    53705547                                                    <property name="accel"> 
    53715548                                                        <string></string> 
     5549                                                    </property> 
     5550                                                    <property name="toggleButton"> 
     5551                                                        <bool>true</bool> 
    53725552                                                    </property> 
    53735553                                                </widget> 
     
    55275707                                                        <string>Solo</string> 
    55285708                                                    </property> 
     5709                                                    <property name="toggleButton"> 
     5710                                                        <bool>true</bool> 
     5711                                                    </property> 
    55295712                                                </widget> 
    55305713                                                <widget class="QToolButton"> 
     
    55425725                                                    <property name="accel"> 
    55435726                                                        <string></string> 
     5727                                                    </property> 
     5728                                                    <property name="toggleButton"> 
     5729                                                        <bool>true</bool> 
    55445730                                                    </property> 
    55455731                                                </widget> 
     
    56995885                                                        <string>Solo</string> 
    57005886                                                    </property> 
     5887                                                    <property name="toggleButton"> 
     5888                                                        <bool>true</bool> 
     5889                                                    </property> 
    57015890                                                </widget> 
    57025891                                                <widget class="QToolButton"> 
     
    57145903                                                    <property name="accel"> 
    57155904                                                        <string></string> 
     5905                                                    </property> 
     5906                                                    <property name="toggleButton"> 
     5907                                                        <bool>true</bool> 
    57165908                                                    </property> 
    57175909                                                </widget> 
     
    58716063                                                        <string>Solo</string> 
    58726064                                                    </property> 
     6065                                                    <property name="toggleButton"> 
     6066