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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/nfc_rfid/ui/nfc_rfid.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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_NFCRFID(object):
    def setupUi(self, NFCRFID):
        NFCRFID.setObjectName("NFCRFID")
        NFCRFID.resize(698, 415)
        self.main_layout = QtWidgets.QVBoxLayout(NFCRFID)
        self.main_layout.setObjectName("main_layout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.combo_box_tag_type = QtWidgets.QComboBox(NFCRFID)
        self.combo_box_tag_type.setObjectName("combo_box_tag_type")
        self.combo_box_tag_type.addItem("")
        self.combo_box_tag_type.addItem("")
        self.combo_box_tag_type.addItem("")
        self.horizontalLayout.addWidget(self.combo_box_tag_type)
        self.button_scan = QtWidgets.QPushButton(NFCRFID)
        self.button_scan.setObjectName("button_scan")
        self.horizontalLayout.addWidget(self.button_scan)
        self.main_layout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_id = QtWidgets.QLabel(NFCRFID)
        self.label_id.setText("")
        self.label_id.setObjectName("label_id")
        self.horizontalLayout_2.addWidget(self.label_id)
        self.main_layout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_read_page = QtWidgets.QLabel(NFCRFID)
        self.label_read_page.setObjectName("label_read_page")
        self.horizontalLayout_3.addWidget(self.label_read_page)
        self.spinbox_read_page = QtWidgets.QSpinBox(NFCRFID)
        self.spinbox_read_page.setMaximum(255)
        self.spinbox_read_page.setProperty("value", 5)
        self.spinbox_read_page.setObjectName("spinbox_read_page")
        self.horizontalLayout_3.addWidget(self.spinbox_read_page)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.label_read_key = QtWidgets.QLabel(NFCRFID)
        self.label_read_key.setObjectName("label_read_key")
        self.horizontalLayout_3.addWidget(self.label_read_key)
        self.combobox_read_key = QtWidgets.QComboBox(NFCRFID)
        self.combobox_read_key.setObjectName("combobox_read_key")
        self.combobox_read_key.addItem("")
        self.combobox_read_key.addItem("")
        self.horizontalLayout_3.addWidget(self.combobox_read_key)
        self.widget_read_spinbox = QtWidgets.QWidget(NFCRFID)
        self.widget_read_spinbox.setObjectName("widget_read_spinbox")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.widget_read_spinbox)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.horizontalLayout_3.addWidget(self.widget_read_spinbox)
        self.main_layout.addLayout(self.horizontalLayout_3)
        self.line_2 = QtWidgets.QFrame(NFCRFID)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.main_layout.addWidget(self.line_2)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.button_read_page = QtWidgets.QPushButton(NFCRFID)
        self.button_read_page.setObjectName("button_read_page")
        self.horizontalLayout_7.addWidget(self.button_read_page)
        self.main_layout.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.textedit_read_page = QtWidgets.QPlainTextEdit(NFCRFID)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.textedit_read_page.sizePolicy().hasHeightForWidth())
        self.textedit_read_page.setSizePolicy(sizePolicy)
        self.textedit_read_page.setMinimumSize(QtCore.QSize(0, 0))
        self.textedit_read_page.setMaximumSize(QtCore.QSize(16777215, 100))
        self.textedit_read_page.setUndoRedoEnabled(False)
        self.textedit_read_page.setReadOnly(True)
        self.textedit_read_page.setObjectName("textedit_read_page")
        self.horizontalLayout_4.addWidget(self.textedit_read_page)
        self.main_layout.addLayout(self.horizontalLayout_4)
        self.line_3 = QtWidgets.QFrame(NFCRFID)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.main_layout.addWidget(self.line_3)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.button_write_page = QtWidgets.QPushButton(NFCRFID)
        self.button_write_page.setObjectName("button_write_page")
        self.horizontalLayout_6.addWidget(self.button_write_page)
        self.main_layout.addLayout(self.horizontalLayout_6)
        self.write_page_grid = QtWidgets.QGridLayout()
        self.write_page_grid.setObjectName("write_page_grid")
        self.write_page_label1 = QtWidgets.QLabel(NFCRFID)
        self.write_page_label1.setObjectName("write_page_label1")
        self.write_page_grid.addWidget(self.write_page_label1, 0, 0, 1, 1)
        self.layout_write2 = QtWidgets.QHBoxLayout()
        self.layout_write2.setObjectName("layout_write2")
        self.write_page_grid.addLayout(self.layout_write2, 1, 1, 1, 1)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.write_page_grid.addItem(spacerItem1, 1, 3, 1, 1)
        self.layout_write3 = QtWidgets.QHBoxLayout()
        self.layout_write3.setObjectName("layout_write3")
        self.write_page_grid.addLayout(self.layout_write3, 2, 1, 1, 1)
        self.write_page_label4 = QtWidgets.QLabel(NFCRFID)
        self.write_page_label4.setObjectName("write_page_label4")
        self.write_page_grid.addWidget(self.write_page_label4, 3, 0, 1, 1)
        self.write_page_label2 = QtWidgets.QLabel(NFCRFID)
        self.write_page_label2.setObjectName("write_page_label2")
        self.write_page_grid.addWidget(self.write_page_label2, 1, 0, 1, 1)
        self.write_page_label3 = QtWidgets.QLabel(NFCRFID)
        self.write_page_label3.setObjectName("write_page_label3")
        self.write_page_grid.addWidget(self.write_page_label3, 2, 0, 1, 1)
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.write_page_grid.addItem(spacerItem2, 0, 3, 1, 1)
        self.layout_write1 = QtWidgets.QHBoxLayout()
        self.layout_write1.setObjectName("layout_write1")
        self.write_page_grid.addLayout(self.layout_write1, 0, 1, 1, 1)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.write_page_grid.addItem(spacerItem3, 2, 3, 1, 1)
        self.layout_write4 = QtWidgets.QHBoxLayout()
        self.layout_write4.setObjectName("layout_write4")
        self.write_page_grid.addLayout(self.layout_write4, 3, 1, 1, 1)
        spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.write_page_grid.addItem(spacerItem4, 3, 3, 1, 1)
        self.main_layout.addLayout(self.write_page_grid)
        spacerItem5 = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.main_layout.addItem(spacerItem5)

        self.retranslateUi(NFCRFID)
        QtCore.QMetaObject.connectSlotsByName(NFCRFID)

    def retranslateUi(self, NFCRFID):
        _translate = QtCore.QCoreApplication.translate
        NFCRFID.setWindowTitle(_translate("NFCRFID", "Form"))
        self.combo_box_tag_type.setItemText(0, _translate("NFCRFID", "Mifare Classic"))
        self.combo_box_tag_type.setItemText(1, _translate("NFCRFID", "NFC Forum Type 1"))
        self.combo_box_tag_type.setItemText(2, _translate("NFCRFID", "NFC Forum Type 2"))
        self.button_scan.setText(_translate("NFCRFID", "Scan for Tag"))
        self.label_read_page.setText(_translate("NFCRFID", "Start Page:"))
        self.label_read_key.setText(_translate("NFCRFID", "Key:"))
        self.combobox_read_key.setItemText(0, _translate("NFCRFID", "A"))
        self.combobox_read_key.setItemText(1, _translate("NFCRFID", "B"))
        self.button_read_page.setText(_translate("NFCRFID", "Read Page"))
        self.button_write_page.setText(_translate("NFCRFID", "Write Page"))
        self.write_page_label1.setText(_translate("NFCRFID", "Byte 0-3:"))
        self.write_page_label4.setText(_translate("NFCRFID", "Byte 12-15:"))
        self.write_page_label2.setText(_translate("NFCRFID", "Byte 4-7:"))
        self.write_page_label3.setText(_translate("NFCRFID", "Byte 8-11:"))
