# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'support/mixer/mixer_audiofire_strip.ui'
#
# Created: Sat May 23 13:44:30 2009
#      by: The PyQt User Interface Compiler (pyuic) 3.17.2
#
# WARNING! All changes made in this file will be lost!


from qt import *


class AfMonitorWidget(QWidget):
    def __init__(self,parent = None,name = None,fl = 0):
        QWidget.__init__(self,parent,name,fl)

        if not name:
            self.setName("AfMonitorWidget")


        AfMonitorWidgetLayout = QVBoxLayout(self,11,6,"AfMonitorWidgetLayout")

        layout10 = QVBoxLayout(None,0,6,"layout10")

        self.lblName = QLabel(self,"lblName")
        self.lblName.setAlignment(QLabel.AlignCenter)
        layout10.addWidget(self.lblName)

        layout9 = QHBoxLayout(None,0,6,"layout9")

        layout7 = QVBoxLayout(None,0,6,"layout7")

        self.rotPan0 = QDial(self,"rotPan0")
        self.rotPan0.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Preferred,0,0,self.rotPan0.sizePolicy().hasHeightForWidth()))
        self.rotPan0.setMaxValue(255)
        layout7.addWidget(self.rotPan0)

        self.btnSolo0 = QPushButton(self,"btnSolo0")
        self.btnSolo0.setToggleButton(1)
        layout7.addWidget(self.btnSolo0)

        self.btnMute0 = QPushButton(self,"btnMute0")
        self.btnMute0.setToggleButton(1)
        layout7.addWidget(self.btnMute0)

        self.sldGain0 = QSlider(self,"sldGain0")
        self.sldGain0.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding,0,0,self.sldGain0.sizePolicy().hasHeightForWidth()))
        self.sldGain0.setMinValue(0)
        self.sldGain0.setMaxValue(16777216)
        self.sldGain0.setLineStep(1048576)
        self.sldGain0.setPageStep(262144)
        self.sldGain0.setOrientation(QSlider.Vertical)
        self.sldGain0.setTickmarks(QSlider.Both)
        self.sldGain0.setTickInterval(1048576)
        layout7.addWidget(self.sldGain0)
        layout9.addLayout(layout7)

        layout8 = QVBoxLayout(None,0,6,"layout8")

        self.rotPan1 = QDial(self,"rotPan1")
        self.rotPan1.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Preferred,0,0,self.rotPan1.sizePolicy().hasHeightForWidth()))
        self.rotPan1.setMaxValue(255)
        layout8.addWidget(self.rotPan1)

        self.btnSolo1 = QPushButton(self,"btnSolo1")
        self.btnSolo1.setToggleButton(1)
        layout8.addWidget(self.btnSolo1)

        self.btnMute1 = QPushButton(self,"btnMute1")
        self.btnMute1.setToggleButton(1)
        layout8.addWidget(self.btnMute1)

        self.sldGain1 = QSlider(self,"sldGain1")
        self.sldGain1.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding,0,0,self.sldGain1.sizePolicy().hasHeightForWidth()))
        self.sldGain1.setMinValue(0)
        self.sldGain1.setMaxValue(16777216)
        self.sldGain1.setLineStep(1048576)
        self.sldGain1.setPageStep(262144)
        self.sldGain1.setOrientation(QSlider.Vertical)
        self.sldGain1.setTickmarks(QSlider.Both)
        self.sldGain1.setTickInterval(1048576)
        layout8.addWidget(self.sldGain1)
        layout9.addLayout(layout8)
        layout10.addLayout(layout9)
        AfMonitorWidgetLayout.addLayout(layout10)

        self.languageChange()

        self.resize(QSize(152,293).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)


    def languageChange(self):
        self.setCaption(self.__tr("Form1"))
        self.lblName.setText(self.__tr("Name"))
        self.btnSolo0.setText(self.__tr("Solo"))
        self.btnMute0.setText(self.__tr("&Mute"))
        self.btnMute0.setAccel(QKeySequence(self.__tr("Alt+M")))
        self.btnSolo1.setText(self.__tr("Solo"))
        self.btnMute1.setText(self.__tr("Mute"))


    def __tr(self,s,c = None):
        return qApp.translate("AfMonitorWidget",s,c)
