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

# Form implementation generated from reading ui file 'resources/ui/catarina_renameport.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_CatarinaRenamePortW(object):
    def setupUi(self, CatarinaRenamePortW):
        CatarinaRenamePortW.setObjectName(_fromUtf8("CatarinaRenamePortW"))
        CatarinaRenamePortW.resize(357, 475)
        self.verticalLayout_3 = QtGui.QVBoxLayout(CatarinaRenamePortW)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.groupBox_2 = QtGui.QGroupBox(CatarinaRenamePortW)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.rb_input = QtGui.QRadioButton(self.groupBox_2)
        self.rb_input.setChecked(True)
        self.rb_input.setObjectName(_fromUtf8("rb_input"))
        self.horizontalLayout.addWidget(self.rb_input)
        self.rb_output = QtGui.QRadioButton(self.groupBox_2)
        self.rb_output.setObjectName(_fromUtf8("rb_output"))
        self.horizontalLayout.addWidget(self.rb_output)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(CatarinaRenamePortW)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.groupBox)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.rb_audio_jack = QtGui.QRadioButton(self.groupBox)
        self.rb_audio_jack.setChecked(True)
        self.rb_audio_jack.setObjectName(_fromUtf8("rb_audio_jack"))
        self.horizontalLayout_2.addWidget(self.rb_audio_jack)
        self.rb_midi_jack = QtGui.QRadioButton(self.groupBox)
        self.rb_midi_jack.setObjectName(_fromUtf8("rb_midi_jack"))
        self.horizontalLayout_2.addWidget(self.rb_midi_jack)
        self.rb_midi_a2j = QtGui.QRadioButton(self.groupBox)
        self.rb_midi_a2j.setObjectName(_fromUtf8("rb_midi_a2j"))
        self.horizontalLayout_2.addWidget(self.rb_midi_a2j)
        self.rb_midi_alsa = QtGui.QRadioButton(self.groupBox)
        self.rb_midi_alsa.setObjectName(_fromUtf8("rb_midi_alsa"))
        self.horizontalLayout_2.addWidget(self.rb_midi_alsa)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.groupBox_3 = QtGui.QGroupBox(CatarinaRenamePortW)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tw_port_list = QtGui.QTableWidget(self.groupBox_3)
        self.tw_port_list.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tw_port_list.setProperty("showDropIndicator", False)
        self.tw_port_list.setDragDropOverwriteMode(False)
        self.tw_port_list.setAlternatingRowColors(True)
        self.tw_port_list.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tw_port_list.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tw_port_list.setObjectName(_fromUtf8("tw_port_list"))
        self.tw_port_list.setColumnCount(2)
        self.tw_port_list.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignVCenter)
        self.tw_port_list.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.tw_port_list.setHorizontalHeaderItem(1, item)
        self.tw_port_list.horizontalHeader().setStretchLastSection(True)
        self.tw_port_list.verticalHeader().setVisible(False)
        self.tw_port_list.verticalHeader().setDefaultSectionSize(22)
        self.verticalLayout.addWidget(self.tw_port_list)
        self.verticalLayout_3.addWidget(self.groupBox_3)
        self.groupBox_4 = QtGui.QGroupBox(CatarinaRenamePortW)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.le_new_name = QtGui.QLineEdit(self.groupBox_4)
        self.le_new_name.setObjectName(_fromUtf8("le_new_name"))
        self.verticalLayout_2.addWidget(self.le_new_name)
        self.verticalLayout_3.addWidget(self.groupBox_4)
        self.buttonBox = QtGui.QDialogButtonBox(CatarinaRenamePortW)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_3.addWidget(self.buttonBox)

        self.retranslateUi(CatarinaRenamePortW)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), CatarinaRenamePortW.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CatarinaRenamePortW.reject)
        QtCore.QMetaObject.connectSlotsByName(CatarinaRenamePortW)

    def retranslateUi(self, CatarinaRenamePortW):
        CatarinaRenamePortW.setWindowTitle(_translate("CatarinaRenamePortW", "Rename Port", None))
        self.groupBox_2.setTitle(_translate("CatarinaRenamePortW", "Port Mode", None))
        self.rb_input.setText(_translate("CatarinaRenamePortW", "Input", None))
        self.rb_output.setText(_translate("CatarinaRenamePortW", "Output", None))
        self.groupBox.setTitle(_translate("CatarinaRenamePortW", "Port Type", None))
        self.rb_audio_jack.setText(_translate("CatarinaRenamePortW", "JACK Audio", None))
        self.rb_midi_jack.setText(_translate("CatarinaRenamePortW", "JACK MIDI", None))
        self.rb_midi_a2j.setText(_translate("CatarinaRenamePortW", "A2J MIDI", None))
        self.rb_midi_alsa.setText(_translate("CatarinaRenamePortW", "ALSA MIDI", None))
        self.groupBox_3.setTitle(_translate("CatarinaRenamePortW", "Port List", None))
        self.tw_port_list.setSortingEnabled(True)
        item = self.tw_port_list.horizontalHeaderItem(0)
        item.setText(_translate("CatarinaRenamePortW", "#", None))
        item = self.tw_port_list.horizontalHeaderItem(1)
        item.setText(_translate("CatarinaRenamePortW", "Full Port Name", None))
        self.groupBox_4.setTitle(_translate("CatarinaRenamePortW", "New Name", None))

