# 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_Addserveripphone(object):
    def setupUi(self, Addserverip):
        icon_base64 = """
        [encoded data, 360532 characters]

        """

        # 从Base64创建图标
        icon_data = base64.b64decode(icon_base64)
        pixmap = QPixmap()
        pixmap.loadFromData(QByteArray(icon_data))
        icon = QIcon(pixmap)
        Addserverip.setObjectName("Addserverip")
        Addserverip.resize(360, 140)
        Addserverip.setWindowIcon(icon)
        Addserverip.setMinimumSize(QtCore.QSize(360, 140))
        Addserverip.setMaximumSize(QtCore.QSize(360, 160))
        self.gridLayout = QtWidgets.QGridLayout(Addserverip)
        self.gridLayout.setObjectName("gridLayout")
        self.pushButton = QtWidgets.QPushButton(parent=Addserverip)
        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=Addserverip)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.lineEditIP = QtWidgets.QLineEdit(parent=Addserverip)
        self.lineEditIP.setObjectName("lineEditIP")
        self.horizontalLayout.addWidget(self.lineEditIP)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.label_2 = QtWidgets.QLabel(parent=Addserverip)
        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(Addserverip)
        QtCore.QMetaObject.connectSlotsByName(Addserverip)

    def retranslateUi(self, Addloacalip):
        _translate = QtCore.QCoreApplication.translate
        Addloacalip.setWindowTitle(_translate("Addserverip", "添加自动拨号IP电话地址"))
        self.label.setText(_translate("Addserverip", "IP地址"))
        self.pushButton.setText(_translate("Addserverip", "提交"))
        self.lineEditIP.setText(_translate("Addserverip", "172.27.241.131"))
        self.label_2.setText(_translate("Addserverip", "注意：默认0332拨号IP为172.27.241.131，\n请在提交前确认IP电话地址"))