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

# Form implementation generated from reading ui file 'support/mixer/mixer_quatafire.ui'
#
# Created: Sat May 23 13:44:32 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 QuataFireMixerUI(QWidget):
    def __init__(self,parent = None,name = None,fl = 0):
        QWidget.__init__(self,parent,name,fl)

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

        self.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Minimum,0,0,self.sizePolicy().hasHeightForWidth()))

        QuataFireMixerUILayout = QHBoxLayout(self,11,6,"QuataFireMixerUILayout")

        self.groupBox2 = QGroupBox(self,"groupBox2")
        self.groupBox2.setColumnLayout(0,Qt.Vertical)
        self.groupBox2.layout().setSpacing(6)
        self.groupBox2.layout().setMargin(11)
        groupBox2Layout = QGridLayout(self.groupBox2.layout())
        groupBox2Layout.setAlignment(Qt.AlignTop)

        self.sldCh2 = QSlider(self.groupBox2,"sldCh2")
        self.sldCh2.setMinValue(0)
        self.sldCh2.setMaxValue(32767)
        self.sldCh2.setLineStep(10000)
        self.sldCh2.setPageStep(1000)
        self.sldCh2.setOrientation(QSlider.Vertical)
        self.sldCh2.setTickmarks(QSlider.Both)
        self.sldCh2.setTickInterval(10000)

        groupBox2Layout.addWidget(self.sldCh2,1,1)

        self.dialCh56 = QDial(self.groupBox2,"dialCh56")
        self.dialCh56.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Minimum,0,1,self.dialCh56.sizePolicy().hasHeightForWidth()))
        self.dialCh56.setMinimumSize(QSize(40,40))
        self.dialCh56.setMinValue(-32768)
        self.dialCh56.setMaxValue(32768)
        self.dialCh56.setLineStep(1000)
        self.dialCh56.setPageStep(10000)

        groupBox2Layout.addWidget(self.dialCh56,0,3)

        self.textLabel1_3 = QLabel(self.groupBox2,"textLabel1_3")
        self.textLabel1_3.setAlignment(QLabel.AlignCenter)

        groupBox2Layout.addWidget(self.textLabel1_3,2,2)

        self.sldCh34 = QSlider(self.groupBox2,"sldCh34")
        self.sldCh34.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Expanding,0,3,self.sldCh34.sizePolicy().hasHeightForWidth()))
        self.sldCh34.setMinValue(0)
        self.sldCh34.setMaxValue(32767)
        self.sldCh34.setLineStep(10000)
        self.sldCh34.setPageStep(1000)
        self.sldCh34.setOrientation(QSlider.Vertical)
        self.sldCh34.setTickmarks(QSlider.Both)
        self.sldCh34.setTickInterval(10000)

        groupBox2Layout.addWidget(self.sldCh34,1,2)

        self.textLabel1_3_2 = QLabel(self.groupBox2,"textLabel1_3_2")
        self.textLabel1_3_2.setAlignment(QLabel.AlignCenter)

        groupBox2Layout.addWidget(self.textLabel1_3_2,2,3)

        self.sldCh56 = QSlider(self.groupBox2,"sldCh56")
        self.sldCh56.setMinimumSize(QSize(0,80))
        self.sldCh56.setMinValue(0)
        self.sldCh56.setMaxValue(32767)
        self.sldCh56.setLineStep(10000)
        self.sldCh56.setPageStep(1000)
        self.sldCh56.setOrientation(QSlider.Vertical)
        self.sldCh56.setTickmarks(QSlider.Both)
        self.sldCh56.setTickInterval(10000)

        groupBox2Layout.addWidget(self.sldCh56,1,3)

        self.textLabel1_2 = QLabel(self.groupBox2,"textLabel1_2")
        self.textLabel1_2.setAlignment(QLabel.AlignCenter)

        groupBox2Layout.addWidget(self.textLabel1_2,2,1)

        self.dialCh34 = QDial(self.groupBox2,"dialCh34")
        self.dialCh34.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Minimum,0,1,self.dialCh34.sizePolicy().hasHeightForWidth()))
        self.dialCh34.setMinimumSize(QSize(40,40))
        self.dialCh34.setMinValue(-32768)
        self.dialCh34.setMaxValue(32768)
        self.dialCh34.setLineStep(1000)
        self.dialCh34.setPageStep(10000)

        groupBox2Layout.addWidget(self.dialCh34,0,2)

        self.sldCh1 = QSlider(self.groupBox2,"sldCh1")
        self.sldCh1.setMinValue(0)
        self.sldCh1.setMaxValue(32767)
        self.sldCh1.setLineStep(10000)
        self.sldCh1.setPageStep(1000)
        self.sldCh1.setOrientation(QSlider.Vertical)
        self.sldCh1.setTickmarks(QSlider.Both)
        self.sldCh1.setTickInterval(10000)

        groupBox2Layout.addWidget(self.sldCh1,1,0)

        self.textLabel1 = QLabel(self.groupBox2,"textLabel1")
        self.textLabel1.setAlignment(QLabel.AlignCenter)

        groupBox2Layout.addWidget(self.textLabel1,2,0)
        QuataFireMixerUILayout.addWidget(self.groupBox2)

        self.groupBox4 = QGroupBox(self,"groupBox4")
        self.groupBox4.setColumnLayout(0,Qt.Vertical)
        self.groupBox4.layout().setSpacing(6)
        self.groupBox4.layout().setMargin(11)
        groupBox4Layout = QGridLayout(self.groupBox4.layout())
        groupBox4Layout.setAlignment(Qt.AlignTop)

        self.textLabel1_4 = QLabel(self.groupBox4,"textLabel1_4")
        self.textLabel1_4.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4,1,0)

        self.textLabel1_4_3 = QLabel(self.groupBox4,"textLabel1_4_3")
        self.textLabel1_4_3.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4_3,1,2)

        self.textLabel1_4_2_2 = QLabel(self.groupBox4,"textLabel1_4_2_2")
        self.textLabel1_4_2_2.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4_2_2,1,3)

        self.textLabel1_4_4 = QLabel(self.groupBox4,"textLabel1_4_4")
        self.textLabel1_4_4.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4_4,1,4)

        self.textLabel1_4_2_3 = QLabel(self.groupBox4,"textLabel1_4_2_3")
        self.textLabel1_4_2_3.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4_2_3,1,5)

        self.textLabel1_4_3_2 = QLabel(self.groupBox4,"textLabel1_4_3_2")
        self.textLabel1_4_3_2.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4_3_2,1,6)

        self.textLabel1_4_2_2_2 = QLabel(self.groupBox4,"textLabel1_4_2_2_2")
        self.textLabel1_4_2_2_2.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4_2_2_2,1,7)

        self.textLabel1_4_2 = QLabel(self.groupBox4,"textLabel1_4_2")
        self.textLabel1_4_2.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4_2,1,1)

        self.textLabel1_4_2_2_2_2 = QLabel(self.groupBox4,"textLabel1_4_2_2_2_2")
        self.textLabel1_4_2_2_2_2.setAlignment(QLabel.AlignCenter)

        groupBox4Layout.addWidget(self.textLabel1_4_2_2_2_2,1,8)

        self.sldDawAll = QSlider(self.groupBox4,"sldDawAll")
        self.sldDawAll.setMinValue(0)
        self.sldDawAll.setMaxValue(32767)
        self.sldDawAll.setLineStep(10000)
        self.sldDawAll.setPageStep(1000)
        self.sldDawAll.setOrientation(QSlider.Vertical)
        self.sldDawAll.setTickmarks(QSlider.Both)
        self.sldDawAll.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawAll,0,0)

        self.sldDawCH1 = QSlider(self.groupBox4,"sldDawCH1")
        self.sldDawCH1.setMinValue(0)
        self.sldDawCH1.setMaxValue(32767)
        self.sldDawCH1.setLineStep(10000)
        self.sldDawCH1.setPageStep(1000)
        self.sldDawCH1.setOrientation(QSlider.Vertical)
        self.sldDawCH1.setTickmarks(QSlider.Both)
        self.sldDawCH1.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawCH1,0,1)

        self.sldDawCH2 = QSlider(self.groupBox4,"sldDawCH2")
        self.sldDawCH2.setMinValue(0)
        self.sldDawCH2.setMaxValue(32767)
        self.sldDawCH2.setLineStep(10000)
        self.sldDawCH2.setPageStep(1000)
        self.sldDawCH2.setOrientation(QSlider.Vertical)
        self.sldDawCH2.setTickmarks(QSlider.Both)
        self.sldDawCH2.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawCH2,0,2)

        self.sldDawCH3 = QSlider(self.groupBox4,"sldDawCH3")
        self.sldDawCH3.setMinValue(0)
        self.sldDawCH3.setMaxValue(32767)
        self.sldDawCH3.setLineStep(10000)
        self.sldDawCH3.setPageStep(1000)
        self.sldDawCH3.setOrientation(QSlider.Vertical)
        self.sldDawCH3.setTickmarks(QSlider.Both)
        self.sldDawCH3.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawCH3,0,3)

        self.sldDawCH4 = QSlider(self.groupBox4,"sldDawCH4")
        self.sldDawCH4.setMinValue(0)
        self.sldDawCH4.setMaxValue(32767)
        self.sldDawCH4.setLineStep(10000)
        self.sldDawCH4.setPageStep(1000)
        self.sldDawCH4.setOrientation(QSlider.Vertical)
        self.sldDawCH4.setTickmarks(QSlider.Both)
        self.sldDawCH4.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawCH4,0,4)

        self.sldDawCH5 = QSlider(self.groupBox4,"sldDawCH5")
        self.sldDawCH5.setMinValue(0)
        self.sldDawCH5.setMaxValue(32767)
        self.sldDawCH5.setLineStep(10000)
        self.sldDawCH5.setPageStep(1000)
        self.sldDawCH5.setOrientation(QSlider.Vertical)
        self.sldDawCH5.setTickmarks(QSlider.Both)
        self.sldDawCH5.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawCH5,0,5)

        self.sldDawCH6 = QSlider(self.groupBox4,"sldDawCH6")
        self.sldDawCH6.setMinValue(0)
        self.sldDawCH6.setMaxValue(32767)
        self.sldDawCH6.setLineStep(10000)
        self.sldDawCH6.setPageStep(1000)
        self.sldDawCH6.setOrientation(QSlider.Vertical)
        self.sldDawCH6.setTickmarks(QSlider.Both)
        self.sldDawCH6.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawCH6,0,6)

        self.sldDawCH7 = QSlider(self.groupBox4,"sldDawCH7")
        self.sldDawCH7.setMinValue(0)
        self.sldDawCH7.setMaxValue(32767)
        self.sldDawCH7.setLineStep(10000)
        self.sldDawCH7.setPageStep(1000)
        self.sldDawCH7.setOrientation(QSlider.Vertical)
        self.sldDawCH7.setTickmarks(QSlider.Both)
        self.sldDawCH7.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawCH7,0,7)

        self.sldDawCH8 = QSlider(self.groupBox4,"sldDawCH8")
        self.sldDawCH8.setMinValue(0)
        self.sldDawCH8.setMaxValue(32767)
        self.sldDawCH8.setLineStep(10000)
        self.sldDawCH8.setPageStep(1000)
        self.sldDawCH8.setOrientation(QSlider.Vertical)
        self.sldDawCH8.setTickmarks(QSlider.Both)
        self.sldDawCH8.setTickInterval(10000)

        groupBox4Layout.addWidget(self.sldDawCH8,0,8)
        QuataFireMixerUILayout.addWidget(self.groupBox4)

        self.languageChange()

        self.resize(QSize(528,360).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)

        self.init()


    def languageChange(self):
        self.setCaption(self.__tr("ESI QuataFire610 Mixer"))
        self.groupBox2.setTitle(self.__tr("Input Mix"))
        self.textLabel1_3.setText(self.__tr("IN3/4"))
        self.textLabel1_3_2.setText(self.__tr("IN5/6"))
        self.textLabel1_2.setText(self.__tr("MIC2"))
        self.textLabel1.setText(self.__tr("MIC1"))
        self.groupBox4.setTitle(self.__tr("Channel Volume Control"))
        self.textLabel1_4.setText(self.__tr("ALL"))
        self.textLabel1_4_3.setText(self.__tr("CH2"))
        self.textLabel1_4_2_2.setText(self.__tr("CH3"))
        self.textLabel1_4_4.setText(self.__tr("CH4"))
        self.textLabel1_4_2_3.setText(self.__tr("CH5"))
        self.textLabel1_4_3_2.setText(self.__tr("CH6"))
        self.textLabel1_4_2_2_2.setText(self.__tr("CH7"))
        self.textLabel1_4_2.setText(self.__tr("CH1"))
        self.textLabel1_4_2_2_2_2.setText(self.__tr("CH8"))


    def updateMatrixVolume(self,a0):
        print "QuataFireMixerUI.updateMatrixVolume(int): Not implemented yet"

    def updateSelector(self,a0):
        print "QuataFireMixerUI.updateSelector(int): Not implemented yet"

    def init(self):
        pass

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