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

# Form implementation generated from reading ui file 'brickv/plugin_system/plugins/master/ui/ethernet.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_Ethernet(object):
    def setupUi(self, Ethernet):
        Ethernet.setObjectName("Ethernet")
        Ethernet.resize(661, 731)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(Ethernet)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.scrollArea = QtWidgets.QScrollArea(Ethernet)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName("scrollArea")
        self.scrollAreaWidgetContents = QtWidgets.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 641, 711))
        self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.ethernet_hostname_label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_hostname_label.setObjectName("ethernet_hostname_label")
        self.gridLayout.addWidget(self.ethernet_hostname_label, 0, 0, 1, 1)
        self.ethernet_hostname = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_hostname.sizePolicy().hasHeightForWidth())
        self.ethernet_hostname.setSizePolicy(sizePolicy)
        self.ethernet_hostname.setMaxLength(32)
        self.ethernet_hostname.setObjectName("ethernet_hostname")
        self.gridLayout.addWidget(self.ethernet_hostname, 0, 1, 1, 1)
        self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.ethernet_port = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_port.sizePolicy().hasHeightForWidth())
        self.ethernet_port.setSizePolicy(sizePolicy)
        self.ethernet_port.setMinimum(1)
        self.ethernet_port.setMaximum(65535)
        self.ethernet_port.setProperty("value", 4223)
        self.ethernet_port.setObjectName("ethernet_port")
        self.horizontalLayout_7.addWidget(self.ethernet_port)
        self.label_6 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setObjectName("label_6")
        self.horizontalLayout_7.addWidget(self.label_6)
        self.ethernet_websocket_port = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_websocket_port.sizePolicy().hasHeightForWidth())
        self.ethernet_websocket_port.setSizePolicy(sizePolicy)
        self.ethernet_websocket_port.setMinimum(1)
        self.ethernet_websocket_port.setMaximum(65535)
        self.ethernet_websocket_port.setProperty("value", 4280)
        self.ethernet_websocket_port.setObjectName("ethernet_websocket_port")
        self.horizontalLayout_7.addWidget(self.ethernet_websocket_port)
        self.label_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_7.addWidget(self.label_3)
        self.gridLayout.addLayout(self.horizontalLayout_7, 1, 1, 1, 1)
        self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_11.setObjectName("horizontalLayout_11")
        self.ethernet_socket_connections = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_socket_connections.sizePolicy().hasHeightForWidth())
        self.ethernet_socket_connections.setSizePolicy(sizePolicy)
        self.ethernet_socket_connections.setMaximum(7)
        self.ethernet_socket_connections.setProperty("value", 4)
        self.ethernet_socket_connections.setObjectName("ethernet_socket_connections")
        self.horizontalLayout_11.addWidget(self.ethernet_socket_connections)
        self.label_5 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setAlignment(QtCore.Qt.AlignCenter)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_11.addWidget(self.label_5)
        self.ethernet_websocket_connections = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_websocket_connections.sizePolicy().hasHeightForWidth())
        self.ethernet_websocket_connections.setSizePolicy(sizePolicy)
        self.ethernet_websocket_connections.setMaximum(7)
        self.ethernet_websocket_connections.setProperty("value", 3)
        self.ethernet_websocket_connections.setObjectName("ethernet_websocket_connections")
        self.horizontalLayout_11.addWidget(self.ethernet_websocket_connections)
        self.label_8 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_11.addWidget(self.label_8)
        self.gridLayout.addLayout(self.horizontalLayout_11, 2, 1, 1, 1)
        self.ethernet_use_auth = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        self.ethernet_use_auth.setObjectName("ethernet_use_auth")
        self.gridLayout.addWidget(self.ethernet_use_auth, 3, 1, 1, 1)
        self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_12.setObjectName("horizontalLayout_12")
        self.ethernet_secret = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
        self.ethernet_secret.setMaxLength(64)
        self.ethernet_secret.setObjectName("ethernet_secret")
        self.horizontalLayout_12.addWidget(self.ethernet_secret)
        self.ethernet_show_characters = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
        self.ethernet_show_characters.setObjectName("ethernet_show_characters")
        self.horizontalLayout_12.addWidget(self.ethernet_show_characters)
        self.gridLayout.addLayout(self.horizontalLayout_12, 4, 1, 1, 1)
        self.ethernet_secret_label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_secret_label.setObjectName("ethernet_secret_label")
        self.gridLayout.addWidget(self.ethernet_secret_label, 4, 0, 1, 1)
        self.label_7 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_7.sizePolicy().hasHeightForWidth())
        self.label_7.setSizePolicy(sizePolicy)
        self.label_7.setObjectName("label_7")
        self.gridLayout.addWidget(self.label_7, 6, 0, 1, 1)
        self.ethernet_connection = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
        self.ethernet_connection.setObjectName("ethernet_connection")
        self.ethernet_connection.addItem("")
        self.ethernet_connection.addItem("")
        self.gridLayout.addWidget(self.ethernet_connection, 6, 1, 1, 1)
        self.ethernet_ip_label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_ip_label.setObjectName("ethernet_ip_label")
        self.gridLayout.addWidget(self.ethernet_ip_label, 7, 0, 1, 1)
        self.ethernet_sub_label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_sub_label.setObjectName("ethernet_sub_label")
        self.gridLayout.addWidget(self.ethernet_sub_label, 8, 0, 1, 1)
        self.ethernet_gw_label = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_gw_label.setObjectName("ethernet_gw_label")
        self.gridLayout.addWidget(self.ethernet_gw_label, 9, 0, 1, 1)
        self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_13.setObjectName("horizontalLayout_13")
        self.ethernet_ip4 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_ip4.sizePolicy().hasHeightForWidth())
        self.ethernet_ip4.setSizePolicy(sizePolicy)
        self.ethernet_ip4.setMaximum(255)
        self.ethernet_ip4.setObjectName("ethernet_ip4")
        self.horizontalLayout_13.addWidget(self.ethernet_ip4)
        self.ethernet_dot1 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_dot1.sizePolicy().hasHeightForWidth())
        self.ethernet_dot1.setSizePolicy(sizePolicy)
        self.ethernet_dot1.setObjectName("ethernet_dot1")
        self.horizontalLayout_13.addWidget(self.ethernet_dot1)
        self.ethernet_ip3 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_ip3.sizePolicy().hasHeightForWidth())
        self.ethernet_ip3.setSizePolicy(sizePolicy)
        self.ethernet_ip3.setMaximum(255)
        self.ethernet_ip3.setObjectName("ethernet_ip3")
        self.horizontalLayout_13.addWidget(self.ethernet_ip3)
        self.ethernet_dot2 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_dot2.sizePolicy().hasHeightForWidth())
        self.ethernet_dot2.setSizePolicy(sizePolicy)
        self.ethernet_dot2.setObjectName("ethernet_dot2")
        self.horizontalLayout_13.addWidget(self.ethernet_dot2)
        self.ethernet_ip2 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_ip2.sizePolicy().hasHeightForWidth())
        self.ethernet_ip2.setSizePolicy(sizePolicy)
        self.ethernet_ip2.setMaximum(255)
        self.ethernet_ip2.setObjectName("ethernet_ip2")
        self.horizontalLayout_13.addWidget(self.ethernet_ip2)
        self.ethernet_dot3 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_dot3.sizePolicy().hasHeightForWidth())
        self.ethernet_dot3.setSizePolicy(sizePolicy)
        self.ethernet_dot3.setObjectName("ethernet_dot3")
        self.horizontalLayout_13.addWidget(self.ethernet_dot3)
        self.ethernet_ip1 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_ip1.sizePolicy().hasHeightForWidth())
        self.ethernet_ip1.setSizePolicy(sizePolicy)
        self.ethernet_ip1.setMaximum(255)
        self.ethernet_ip1.setObjectName("ethernet_ip1")
        self.horizontalLayout_13.addWidget(self.ethernet_ip1)
        self.gridLayout.addLayout(self.horizontalLayout_13, 7, 1, 1, 1)
        self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_14.setObjectName("horizontalLayout_14")
        self.ethernet_sub4 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_sub4.sizePolicy().hasHeightForWidth())
        self.ethernet_sub4.setSizePolicy(sizePolicy)
        self.ethernet_sub4.setMaximum(255)
        self.ethernet_sub4.setObjectName("ethernet_sub4")
        self.horizontalLayout_14.addWidget(self.ethernet_sub4)
        self.ethernet_dot4 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_dot4.setObjectName("ethernet_dot4")
        self.horizontalLayout_14.addWidget(self.ethernet_dot4)
        self.ethernet_sub3 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_sub3.sizePolicy().hasHeightForWidth())
        self.ethernet_sub3.setSizePolicy(sizePolicy)
        self.ethernet_sub3.setMaximum(255)
        self.ethernet_sub3.setObjectName("ethernet_sub3")
        self.horizontalLayout_14.addWidget(self.ethernet_sub3)
        self.ethernet_dot5 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_dot5.setObjectName("ethernet_dot5")
        self.horizontalLayout_14.addWidget(self.ethernet_dot5)
        self.ethernet_sub2 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_sub2.sizePolicy().hasHeightForWidth())
        self.ethernet_sub2.setSizePolicy(sizePolicy)
        self.ethernet_sub2.setMaximum(255)
        self.ethernet_sub2.setObjectName("ethernet_sub2")
        self.horizontalLayout_14.addWidget(self.ethernet_sub2)
        self.ethernet_dot6 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_dot6.setObjectName("ethernet_dot6")
        self.horizontalLayout_14.addWidget(self.ethernet_dot6)
        self.ethernet_sub1 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_sub1.sizePolicy().hasHeightForWidth())
        self.ethernet_sub1.setSizePolicy(sizePolicy)
        self.ethernet_sub1.setMaximum(255)
        self.ethernet_sub1.setObjectName("ethernet_sub1")
        self.horizontalLayout_14.addWidget(self.ethernet_sub1)
        self.gridLayout.addLayout(self.horizontalLayout_14, 8, 1, 1, 1)
        self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_16.setObjectName("horizontalLayout_16")
        self.ethernet_gw4 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_gw4.sizePolicy().hasHeightForWidth())
        self.ethernet_gw4.setSizePolicy(sizePolicy)
        self.ethernet_gw4.setMaximum(255)
        self.ethernet_gw4.setObjectName("ethernet_gw4")
        self.horizontalLayout_16.addWidget(self.ethernet_gw4)
        self.ethernet_dot7 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_dot7.setObjectName("ethernet_dot7")
        self.horizontalLayout_16.addWidget(self.ethernet_dot7)
        self.ethernet_gw3 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_gw3.sizePolicy().hasHeightForWidth())
        self.ethernet_gw3.setSizePolicy(sizePolicy)
        self.ethernet_gw3.setMaximum(255)
        self.ethernet_gw3.setObjectName("ethernet_gw3")
        self.horizontalLayout_16.addWidget(self.ethernet_gw3)
        self.ethernet_dot8 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_dot8.setObjectName("ethernet_dot8")
        self.horizontalLayout_16.addWidget(self.ethernet_dot8)
        self.ethernet_gw2 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_gw2.sizePolicy().hasHeightForWidth())
        self.ethernet_gw2.setSizePolicy(sizePolicy)
        self.ethernet_gw2.setMaximum(255)
        self.ethernet_gw2.setObjectName("ethernet_gw2")
        self.horizontalLayout_16.addWidget(self.ethernet_gw2)
        self.ethernet_dot9 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_dot9.setObjectName("ethernet_dot9")
        self.horizontalLayout_16.addWidget(self.ethernet_dot9)
        self.ethernet_gw1 = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_gw1.sizePolicy().hasHeightForWidth())
        self.ethernet_gw1.setSizePolicy(sizePolicy)
        self.ethernet_gw1.setMaximum(255)
        self.ethernet_gw1.setObjectName("ethernet_gw1")
        self.horizontalLayout_16.addWidget(self.ethernet_gw1)
        self.gridLayout.addLayout(self.horizontalLayout_16, 9, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 11, 0, 1, 1)
        self.mac_layout = QtWidgets.QHBoxLayout()
        self.mac_layout.setObjectName("mac_layout")
        self.ethernet_mac6 = SpinBoxHex(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_mac6.sizePolicy().hasHeightForWidth())
        self.ethernet_mac6.setSizePolicy(sizePolicy)
        self.ethernet_mac6.setMaximum(255)
        self.ethernet_mac6.setObjectName("ethernet_mac6")
        self.mac_layout.addWidget(self.ethernet_mac6)
        self.label_11 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_11.setObjectName("label_11")
        self.mac_layout.addWidget(self.label_11)
        self.ethernet_mac5 = SpinBoxHex(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_mac5.sizePolicy().hasHeightForWidth())
        self.ethernet_mac5.setSizePolicy(sizePolicy)
        self.ethernet_mac5.setMaximum(255)
        self.ethernet_mac5.setObjectName("ethernet_mac5")
        self.mac_layout.addWidget(self.ethernet_mac5)
        self.label_12 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_12.setObjectName("label_12")
        self.mac_layout.addWidget(self.label_12)
        self.ethernet_mac4 = SpinBoxHex(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_mac4.sizePolicy().hasHeightForWidth())
        self.ethernet_mac4.setSizePolicy(sizePolicy)
        self.ethernet_mac4.setMaximum(255)
        self.ethernet_mac4.setObjectName("ethernet_mac4")
        self.mac_layout.addWidget(self.ethernet_mac4)
        self.label_13 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_13.setObjectName("label_13")
        self.mac_layout.addWidget(self.label_13)
        self.ethernet_mac3 = SpinBoxHex(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_mac3.sizePolicy().hasHeightForWidth())
        self.ethernet_mac3.setSizePolicy(sizePolicy)
        self.ethernet_mac3.setMaximum(255)
        self.ethernet_mac3.setObjectName("ethernet_mac3")
        self.mac_layout.addWidget(self.ethernet_mac3)
        self.label_14 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_14.setObjectName("label_14")
        self.mac_layout.addWidget(self.label_14)
        self.ethernet_mac2 = SpinBoxHex(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_mac2.sizePolicy().hasHeightForWidth())
        self.ethernet_mac2.setSizePolicy(sizePolicy)
        self.ethernet_mac2.setMaximum(255)
        self.ethernet_mac2.setObjectName("ethernet_mac2")
        self.mac_layout.addWidget(self.ethernet_mac2)
        self.label_15 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_15.setObjectName("label_15")
        self.mac_layout.addWidget(self.label_15)
        self.ethernet_mac1 = SpinBoxHex(self.scrollAreaWidgetContents)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ethernet_mac1.sizePolicy().hasHeightForWidth())
        self.ethernet_mac1.setSizePolicy(sizePolicy)
        self.ethernet_mac1.setMaximum(255)
        self.ethernet_mac1.setObjectName("ethernet_mac1")
        self.mac_layout.addWidget(self.ethernet_mac1)
        self.gridLayout.addLayout(self.mac_layout, 11, 1, 1, 1)
        self.line_3 = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.gridLayout.addWidget(self.line_3, 5, 0, 1, 2)
        self.line = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridLayout.addWidget(self.line, 10, 0, 1, 2)
        self.line_2 = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridLayout.addWidget(self.line_2, 12, 0, 1, 2)
        self.ethernet_save = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
        self.ethernet_save.setObjectName("ethernet_save")
        self.gridLayout.addWidget(self.ethernet_save, 16, 0, 1, 2)
        self.line_5 = QtWidgets.QFrame(self.scrollAreaWidgetContents)
        self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.gridLayout.addWidget(self.line_5, 15, 0, 1, 2)
        self.label_9 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_9.setObjectName("label_9")
        self.gridLayout.addWidget(self.label_9, 13, 0, 1, 1)
        self.ethernet_count_rx = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_count_rx.setObjectName("ethernet_count_rx")
        self.gridLayout.addWidget(self.ethernet_count_rx, 13, 1, 1, 1)
        self.label_10 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.label_10.setObjectName("label_10")
        self.gridLayout.addWidget(self.label_10, 14, 0, 1, 1)
        self.ethernet_count_tx = QtWidgets.QLabel(self.scrollAreaWidgetContents)
        self.ethernet_count_tx.setObjectName("ethernet_count_tx")
        self.gridLayout.addWidget(self.ethernet_count_tx, 14, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        spacerItem = QtWidgets.QSpacerItem(20, 0, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.ethernet_hostname_label.setBuddy(self.ethernet_hostname)
        self.label.setBuddy(self.ethernet_port)
        self.label_4.setBuddy(self.ethernet_socket_connections)
        self.ethernet_secret_label.setBuddy(self.ethernet_secret)
        self.label_7.setBuddy(self.ethernet_connection)
        self.ethernet_ip_label.setBuddy(self.ethernet_ip4)
        self.ethernet_sub_label.setBuddy(self.ethernet_sub4)
        self.ethernet_gw_label.setBuddy(self.ethernet_gw4)
        self.label_2.setBuddy(self.ethernet_mac6)

        self.retranslateUi(Ethernet)
        QtCore.QMetaObject.connectSlotsByName(Ethernet)
        Ethernet.setTabOrder(self.scrollArea, self.ethernet_hostname)
        Ethernet.setTabOrder(self.ethernet_hostname, self.ethernet_port)
        Ethernet.setTabOrder(self.ethernet_port, self.ethernet_websocket_port)
        Ethernet.setTabOrder(self.ethernet_websocket_port, self.ethernet_socket_connections)
        Ethernet.setTabOrder(self.ethernet_socket_connections, self.ethernet_websocket_connections)
        Ethernet.setTabOrder(self.ethernet_websocket_connections, self.ethernet_use_auth)
        Ethernet.setTabOrder(self.ethernet_use_auth, self.ethernet_secret)
        Ethernet.setTabOrder(self.ethernet_secret, self.ethernet_show_characters)
        Ethernet.setTabOrder(self.ethernet_show_characters, self.ethernet_connection)
        Ethernet.setTabOrder(self.ethernet_connection, self.ethernet_ip4)
        Ethernet.setTabOrder(self.ethernet_ip4, self.ethernet_ip3)
        Ethernet.setTabOrder(self.ethernet_ip3, self.ethernet_ip2)
        Ethernet.setTabOrder(self.ethernet_ip2, self.ethernet_ip1)
        Ethernet.setTabOrder(self.ethernet_ip1, self.ethernet_sub4)
        Ethernet.setTabOrder(self.ethernet_sub4, self.ethernet_sub3)
        Ethernet.setTabOrder(self.ethernet_sub3, self.ethernet_sub2)
        Ethernet.setTabOrder(self.ethernet_sub2, self.ethernet_sub1)
        Ethernet.setTabOrder(self.ethernet_sub1, self.ethernet_gw4)
        Ethernet.setTabOrder(self.ethernet_gw4, self.ethernet_gw3)
        Ethernet.setTabOrder(self.ethernet_gw3, self.ethernet_gw2)
        Ethernet.setTabOrder(self.ethernet_gw2, self.ethernet_gw1)
        Ethernet.setTabOrder(self.ethernet_gw1, self.ethernet_mac6)
        Ethernet.setTabOrder(self.ethernet_mac6, self.ethernet_mac5)
        Ethernet.setTabOrder(self.ethernet_mac5, self.ethernet_mac4)
        Ethernet.setTabOrder(self.ethernet_mac4, self.ethernet_mac3)
        Ethernet.setTabOrder(self.ethernet_mac3, self.ethernet_mac2)
        Ethernet.setTabOrder(self.ethernet_mac2, self.ethernet_mac1)
        Ethernet.setTabOrder(self.ethernet_mac1, self.ethernet_save)

    def retranslateUi(self, Ethernet):
        _translate = QtCore.QCoreApplication.translate
        Ethernet.setWindowTitle(_translate("Ethernet", "Form"))
        self.ethernet_hostname_label.setText(_translate("Ethernet", "Hostname:"))
        self.label.setText(_translate("Ethernet", "Socket Port:"))
        self.label_6.setText(_translate("Ethernet", "(Plain) /"))
        self.label_3.setText(_translate("Ethernet", "(Web)"))
        self.label_4.setText(_translate("Ethernet", "Max Connections:"))
        self.label_5.setText(_translate("Ethernet", "(Plain) /"))
        self.label_8.setText(_translate("Ethernet", "(Web)"))
        self.ethernet_use_auth.setText(_translate("Ethernet", "Use Authentication"))
        self.ethernet_show_characters.setText(_translate("Ethernet", "Show Characters"))
        self.ethernet_secret_label.setText(_translate("Ethernet", "Secret:"))
        self.label_7.setText(_translate("Ethernet", "Address:"))
        self.ethernet_connection.setItemText(0, _translate("Ethernet", "DHCP"))
        self.ethernet_connection.setItemText(1, _translate("Ethernet", "Static IP"))
        self.ethernet_ip_label.setText(_translate("Ethernet", "IP:"))
        self.ethernet_sub_label.setText(_translate("Ethernet", "Subnet Mask:"))
        self.ethernet_gw_label.setText(_translate("Ethernet", "Gateway:"))
        self.ethernet_dot1.setText(_translate("Ethernet", "."))
        self.ethernet_dot2.setText(_translate("Ethernet", "."))
        self.ethernet_dot3.setText(_translate("Ethernet", "."))
        self.ethernet_dot4.setText(_translate("Ethernet", "."))
        self.ethernet_dot5.setText(_translate("Ethernet", "."))
        self.ethernet_dot6.setText(_translate("Ethernet", "."))
        self.ethernet_dot7.setText(_translate("Ethernet", "."))
        self.ethernet_dot8.setText(_translate("Ethernet", "."))
        self.ethernet_dot9.setText(_translate("Ethernet", "."))
        self.label_2.setText(_translate("Ethernet", "MAC Address:"))
        self.label_11.setText(_translate("Ethernet", ":"))
        self.label_12.setText(_translate("Ethernet", ":"))
        self.label_13.setText(_translate("Ethernet", ":"))
        self.label_14.setText(_translate("Ethernet", ":"))
        self.label_15.setText(_translate("Ethernet", ":"))
        self.ethernet_save.setText(_translate("Ethernet", "Save Ethernet Configuration"))
        self.label_9.setText(_translate("Ethernet", "RX Count:"))
        self.ethernet_count_rx.setText(_translate("Ethernet", "0"))
        self.label_10.setText(_translate("Ethernet", "TX Count:"))
        self.ethernet_count_tx.setText(_translate("Ethernet", "0"))
from brickv.spin_box_hex import SpinBoxHex
