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

# Form implementation generated from reading ui file 'resources/ui/catarina_addport.ui'
#
# Created by: PyQt5 UI code generator 5.15.10
#
# 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_CatarinaAddPortW(object):
    def setupUi(self, CatarinaAddPortW):
        CatarinaAddPortW.setObjectName("CatarinaAddPortW")
        CatarinaAddPortW.resize(273, 307)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(CatarinaAddPortW)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.groupBox_3 = QtWidgets.QGroupBox(CatarinaAddPortW)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_4 = QtWidgets.QLabel(self.groupBox_3)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout.addWidget(self.label_4)
        self.cb_group = QtWidgets.QComboBox(self.groupBox_3)
        self.cb_group.setObjectName("cb_group")
        self.horizontalLayout.addWidget(self.cb_group)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.groupBox_2 = QtWidgets.QGroupBox(CatarinaAddPortW)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(self.groupBox_2)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.sb_port_id = QtWidgets.QSpinBox(self.groupBox_2)
        self.sb_port_id.setReadOnly(True)
        self.sb_port_id.setMaximum(9999)
        self.sb_port_id.setObjectName("sb_port_id")
        self.gridLayout.addWidget(self.sb_port_id, 0, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.le_port_name = QtWidgets.QLineEdit(self.groupBox_2)
        self.le_port_name.setObjectName("le_port_name")
        self.gridLayout.addWidget(self.le_port_name, 1, 1, 1, 1)
        self.label_3 = QtWidgets.QLabel(self.groupBox_2)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.cb_port_type = QtWidgets.QComboBox(self.groupBox_2)
        self.cb_port_type.setObjectName("cb_port_type")
        self.cb_port_type.addItem("")
        self.cb_port_type.addItem("")
        self.cb_port_type.addItem("")
        self.cb_port_type.addItem("")
        self.gridLayout.addWidget(self.cb_port_type, 2, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox = QtWidgets.QGroupBox(CatarinaAddPortW)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.rb_flags_input = QtWidgets.QRadioButton(self.groupBox)
        self.rb_flags_input.setChecked(True)
        self.rb_flags_input.setObjectName("rb_flags_input")
        self.verticalLayout.addWidget(self.rb_flags_input)
        self.rb_flags_output = QtWidgets.QRadioButton(self.groupBox)
        self.rb_flags_output.setObjectName("rb_flags_output")
        self.verticalLayout.addWidget(self.rb_flags_output)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.buttonBox = QtWidgets.QDialogButtonBox(CatarinaAddPortW)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(CatarinaAddPortW)
        self.buttonBox.accepted.connect(CatarinaAddPortW.accept) # type: ignore
        self.buttonBox.rejected.connect(CatarinaAddPortW.reject) # type: ignore
        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):
        _translate = QtCore.QCoreApplication.translate
        CatarinaAddPortW.setWindowTitle(_translate("CatarinaAddPortW", "Add Port"))
        self.groupBox_3.setTitle(_translate("CatarinaAddPortW", "Parent"))
        self.label_4.setText(_translate("CatarinaAddPortW", "Port Group:"))
        self.groupBox_2.setTitle(_translate("CatarinaAddPortW", "Port Info"))
        self.label.setText(_translate("CatarinaAddPortW", "Port ID:"))
        self.label_2.setText(_translate("CatarinaAddPortW", "Port Name"))
        self.label_3.setText(_translate("CatarinaAddPortW", "Port Type:"))
        self.cb_port_type.setItemText(0, _translate("CatarinaAddPortW", "JACK Audio"))
        self.cb_port_type.setItemText(1, _translate("CatarinaAddPortW", "JACK MIDI"))
        self.cb_port_type.setItemText(2, _translate("CatarinaAddPortW", "A2J MIDI"))
        self.cb_port_type.setItemText(3, _translate("CatarinaAddPortW", "ALSA MIDI"))
        self.groupBox.setTitle(_translate("CatarinaAddPortW", "Port Flags"))
        self.rb_flags_input.setText(_translate("CatarinaAddPortW", "Input"))
        self.rb_flags_output.setText(_translate("CatarinaAddPortW", "Output"))
