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

# Form implementation generated from reading ui file 'resources/ui/catarina_addport.ui'
#
# Created by: PyQt4 UI code generator 4.12.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_CatarinaAddPortW(object):
    def setupUi(self, CatarinaAddPortW):
        CatarinaAddPortW.setObjectName(_fromUtf8("CatarinaAddPortW"))
        CatarinaAddPortW.resize(273, 307)
        self.verticalLayout_2 = QtGui.QVBoxLayout(CatarinaAddPortW)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox_3 = QtGui.QGroupBox(CatarinaAddPortW)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_4 = QtGui.QLabel(self.groupBox_3)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout.addWidget(self.label_4)
        self.cb_group = QtGui.QComboBox(self.groupBox_3)
        self.cb_group.setObjectName(_fromUtf8("cb_group"))
        self.horizontalLayout.addWidget(self.cb_group)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.groupBox_2 = QtGui.QGroupBox(CatarinaAddPortW)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.groupBox_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.sb_port_id = QtGui.QSpinBox(self.groupBox_2)
        self.sb_port_id.setReadOnly(True)
        self.sb_port_id.setMaximum(9999)
        self.sb_port_id.setObjectName(_fromUtf8("sb_port_id"))
        self.gridLayout.addWidget(self.sb_port_id, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox_2)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.le_port_name = QtGui.QLineEdit(self.groupBox_2)
        self.le_port_name.setObjectName(_fromUtf8("le_port_name"))
        self.gridLayout.addWidget(self.le_port_name, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.cb_port_type = QtGui.QComboBox(self.groupBox_2)
        self.cb_port_type.setObjectName(_fromUtf8("cb_port_type"))
        self.cb_port_type.addItem(_fromUtf8(""))
        self.cb_port_type.addItem(_fromUtf8(""))
        self.cb_port_type.addItem(_fromUtf8(""))
        self.cb_port_type.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cb_port_type, 2, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(CatarinaAddPortW)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.rb_flags_input = QtGui.QRadioButton(self.groupBox)
        self.rb_flags_input.setChecked(True)
        self.rb_flags_input.setObjectName(_fromUtf8("rb_flags_input"))
        self.verticalLayout.addWidget(self.rb_flags_input)
        self.rb_flags_output = QtGui.QRadioButton(self.groupBox)
        self.rb_flags_output.setObjectName(_fromUtf8("rb_flags_output"))
        self.verticalLayout.addWidget(self.rb_flags_output)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.buttonBox = QtGui.QDialogButtonBox(CatarinaAddPortW)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(CatarinaAddPortW)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), CatarinaAddPortW.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CatarinaAddPortW.reject)
        QtCore.QMetaObject.connectSlotsByName(CatarinaAddPortW)
        CatarinaAddPortW.setTabOrder(self.le_port_name, self.cb_port_type)
        CatarinaAddPortW.setTabOrder(self.cb_port_type, self.rb_flags_input)
        CatarinaAddPortW.setTabOrder(self.rb_flags_input, self.rb_flags_output)
        CatarinaAddPortW.setTabOrder(self.rb_flags_output, self.cb_group)
        CatarinaAddPortW.setTabOrder(self.cb_group, self.sb_port_id)
        CatarinaAddPortW.setTabOrder(self.sb_port_id, self.buttonBox)

    def retranslateUi(self, CatarinaAddPortW):
        CatarinaAddPortW.setWindowTitle(_translate("CatarinaAddPortW", "Add Port", None))
        self.groupBox_3.setTitle(_translate("CatarinaAddPortW", "Parent", None))
        self.label_4.setText(_translate("CatarinaAddPortW", "Port Group:", None))
        self.groupBox_2.setTitle(_translate("CatarinaAddPortW", "Port Info", None))
        self.label.setText(_translate("CatarinaAddPortW", "Port ID:", None))
        self.label_2.setText(_translate("CatarinaAddPortW", "Port Name", None))
        self.label_3.setText(_translate("CatarinaAddPortW", "Port Type:", None))
        self.cb_port_type.setItemText(0, _translate("CatarinaAddPortW", "JACK Audio", None))
        self.cb_port_type.setItemText(1, _translate("CatarinaAddPortW", "JACK MIDI", None))
        self.cb_port_type.setItemText(2, _translate("CatarinaAddPortW", "A2J MIDI", None))
        self.cb_port_type.setItemText(3, _translate("CatarinaAddPortW", "ALSA MIDI", None))
        self.groupBox.setTitle(_translate("CatarinaAddPortW", "Port Flags", None))
        self.rb_flags_input.setText(_translate("CatarinaAddPortW", "Input", None))
        self.rb_flags_output.setText(_translate("CatarinaAddPortW", "Output", None))

