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

# Form implementation generated from reading ui file 'support/mixer/mixer_dummy.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 DummyMixerUI(QWidget):
    def __init__(self,parent = None,name = None,fl = 0):
        QWidget.__init__(self,parent,name,fl)

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


        DummyMixerUILayout = QGridLayout(self,1,1,11,6,"DummyMixerUILayout")

        self.textLabel1 = QLabel(self,"textLabel1")
        self.textLabel1.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter)

        DummyMixerUILayout.addMultiCellWidget(self.textLabel1,0,0,0,1)
        spacer1 = QSpacerItem(40,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
        DummyMixerUILayout.addItem(spacer1,1,0)

        self.languageChange()

        self.resize(QSize(309,290).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)


        self.init()


    def languageChange(self):
        self.setCaption(self.__tr("Dummy Panel"))
        self.textLabel1.setText(self.__tr("This panel is merely a placeholder for devices that don't have a mixer panel yet."))


    def setFB2(self,a0):
        print "DummyMixerUI.setFB2(int): Not implemented yet"

    def setFB1(self,a0):
        print "DummyMixerUI.setFB1(int): Not implemented yet"

    def init(self):
        pass

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