# Form implementation generated from reading ui file 'addloaclip.ui'
#
# Created by: PyQt6 UI code generator 6.5.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again.  Do not edit this file unless you know what you are doing.


import base64

from PyQt6 import QtCore , QtWidgets
from PyQt6.QtCore import QByteArray
from PyQt6.QtGui import QIcon , QPixmap


class Ui_Addloacalip(object):
    def setupUi(self, Addloacalip):
        icon_base64 = """
        [encoded data, 360532 characters]

        """

        # 从Base64创建图标
        icon_data = base64.b64decode(icon_base64)
        pixmap = QPixmap()
        pixmap.loadFromData(QByteArray(icon_data))
        icon = QIcon(pixmap)
        Addloacalip.setObjectName("Addloacalip")
        Addloacalip.resize(360, 140)
        Addloacalip.setWindowIcon(icon)
        Addloacalip.setMinimumSize(QtCore.QSize(360, 140))
        Addloacalip.setMaximumSize(QtCore.QSize(360, 160))
        self.gridLayout = QtWidgets.QGridLayout(Addloacalip)
        self.gridLayout.setObjectName("gridLayout")
        self.pushButton = QtWidgets.QPushButton(parent=Addloacalip)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout.addWidget(self.pushButton, 3, 0, 1, 1)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtWidgets.QLabel(parent=Addloacalip)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.lineEditIP = QtWidgets.QLineEdit(parent=Addloacalip)
        self.lineEditIP.setObjectName("lineEditIP")
        self.horizontalLayout.addWidget(self.lineEditIP)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.label_2 = QtWidgets.QLabel(parent=Addloacalip)
        self.label_2.setMaximumSize(QtCore.QSize(16777215, 20))
        self.label_2.setStyleSheet("color: rgb(255, 0, 0);\n"
                                   "font: 9pt \"黑体\";")
        self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.gridLayout.addLayout(self.verticalLayout, 2, 0, 1, 1)
        self.retranslateUi(Addloacalip)
        QtCore.QMetaObject.connectSlotsByName(Addloacalip)

    def retranslateUi(self, Addloacalip):
        _translate = QtCore.QCoreApplication.translate
        Addloacalip.setWindowTitle(_translate("Addloacalip", "添加本地IP电话地址"))
        self.label.setText(_translate("Addloacalip", "IP地址"))
        self.pushButton.setText(_translate("Addloacalip", "提交"))
        self.label_2.setText(_translate("Addloacalip", "注意：若IP地址通过缓存获取，请在提交前确认IP电话地址"))