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

# Form implementation generated from reading ui file 'resources/ui/catarina_renameport.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_CatarinaRenamePortW(object):
    def setupUi(self, CatarinaRenamePortW):
        CatarinaRenamePortW.setObjectName("CatarinaRenamePortW")
        CatarinaRenamePortW.resize(357, 475)
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(CatarinaRenamePortW)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.groupBox_2 = QtWidgets.QGroupBox(CatarinaRenamePortW)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.rb_input = QtWidgets.QRadioButton(self.groupBox_2)
        self.rb_input.setChecked(True)
        self.rb_input.setObjectName("rb_input")
        self.horizontalLayout.addWidget(self.rb_input)
        self.rb_output = QtWidgets.QRadioButton(self.groupBox_2)
        self.rb_output.setObjectName("rb_output")
        self.horizontalLayout.addWidget(self.rb_output)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.groupBox = QtWidgets.QGroupBox(CatarinaRenamePortW)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.rb_audio_jack = QtWidgets.QRadioButton(self.groupBox)
        self.rb_audio_jack.setChecked(True)
        self.rb_audio_jack.setObjectName("rb_audio_jack")
        self.horizontalLayout_2.addWidget(self.rb_audio_jack)
        self.rb_midi_jack = QtWidgets.QRadioButton(self.groupBox)
        self.rb_midi_jack.setObjectName("rb_midi_jack")
        self.horizontalLayout_2.addWidget(self.rb_midi_jack)
        self.rb_midi_a2j = QtWidgets.QRadioButton(self.groupBox)
        self.rb_midi_a2j.setObjectName("rb_midi_a2j")
        self.horizontalLayout_2.addWidget(self.rb_midi_a2j)
        self.rb_midi_alsa = QtWidgets.QRadioButton(self.groupBox)
        self.rb_midi_alsa.setObjectName("rb_midi_alsa")
        self.horizontalLayout_2.addWidget(self.rb_midi_alsa)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.groupBox_3 = QtWidgets.QGroupBox(CatarinaRenamePortW)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tw_port_list = QtWidgets.QTableWidget(self.groupBox_3)
        self.tw_port_list.setEditTriggers(QtWidgets.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(QtWidgets.QAbstractItemView.SingleSelection)
        self.tw_port_list.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
        self.tw_port_list.setObjectName("tw_port_list")
        self.tw_port_list.setColumnCount(2)
        self.tw_port_list.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        item.setTextAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignVCenter)
        self.tw_port_list.setHorizontalHeaderItem(0, item)
        item = QtWidgets.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 = QtWidgets.QGroupBox(CatarinaRenamePortW)
        self.groupBox_4.setObjectName("groupBox_4")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_4)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.le_new_name = QtWidgets.QLineEdit(self.groupBox_4)
        self.le_new_name.setObjectName("le_new_name")
        self.verticalLayout_2.addWidget(self.le_new_name)
        self.verticalLayout_3.addWidget(self.groupBox_4)
        self.buttonBox = QtWidgets.QDialogButtonBox(CatarinaRenamePortW)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_3.addWidget(self.buttonBox)

        self.retranslateUi(CatarinaRenamePortW)
        self.buttonBox.accepted.connect(CatarinaRenamePortW.accept)
        self.buttonBox.rejected.connect(CatarinaRenamePortW.reject)
        QtCore.QMetaObject.connectSlotsByName(CatarinaRenamePortW)

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