addloaclip.py 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. # Form implementation generated from reading ui file 'addloaclip.ui'
  2. #
  3. # Created by: PyQt6 UI code generator 6.5.1
  4. #
  5. # WARNING: Any manual changes made to this file will be lost when pyuic6 is
  6. # run again. Do not edit this file unless you know what you are doing.
  7. from PyQt6 import QtCore, QtWidgets
  8. from PyQt6.QtGui import QIcon
  9. class Ui_Addloacalip(object):
  10. def setupUi(self, Addloacalip):
  11. Addloacalip.setObjectName("Addloacalip")
  12. Addloacalip.resize(360, 140)
  13. Addloacalip.setWindowIcon(QIcon(':/icon/1.ico'))
  14. Addloacalip.setMinimumSize(QtCore.QSize(360, 140))
  15. Addloacalip.setMaximumSize(QtCore.QSize(360, 160))
  16. self.gridLayout = QtWidgets.QGridLayout(Addloacalip)
  17. self.gridLayout.setObjectName("gridLayout")
  18. self.pushButton = QtWidgets.QPushButton(parent=Addloacalip)
  19. self.pushButton.setObjectName("pushButton")
  20. self.gridLayout.addWidget(self.pushButton, 3, 0, 1, 1)
  21. self.verticalLayout = QtWidgets.QVBoxLayout()
  22. self.verticalLayout.setObjectName("verticalLayout")
  23. self.horizontalLayout = QtWidgets.QHBoxLayout()
  24. self.horizontalLayout.setObjectName("horizontalLayout")
  25. self.label = QtWidgets.QLabel(parent=Addloacalip)
  26. self.label.setObjectName("label")
  27. self.horizontalLayout.addWidget(self.label)
  28. self.lineEditIP = QtWidgets.QLineEdit(parent=Addloacalip)
  29. self.lineEditIP.setObjectName("lineEditIP")
  30. self.horizontalLayout.addWidget(self.lineEditIP)
  31. self.verticalLayout.addLayout(self.horizontalLayout)
  32. self.label_2 = QtWidgets.QLabel(parent=Addloacalip)
  33. self.label_2.setMaximumSize(QtCore.QSize(16777215, 20))
  34. self.label_2.setStyleSheet("color: rgb(255, 0, 0);\n"
  35. "font: 9pt \"黑体\";")
  36. self.label_2.setAlignment(QtCore.Qt.AlignmentFlag.AlignCenter)
  37. self.label_2.setObjectName("label_2")
  38. self.verticalLayout.addWidget(self.label_2)
  39. self.gridLayout.addLayout(self.verticalLayout, 2, 0, 1, 1)
  40. self.retranslateUi(Addloacalip)
  41. QtCore.QMetaObject.connectSlotsByName(Addloacalip)
  42. def retranslateUi(self, Addloacalip):
  43. _translate = QtCore.QCoreApplication.translate
  44. Addloacalip.setWindowTitle(_translate("Addloacalip", "添加本地IP电话地址"))
  45. self.label.setText(_translate("Addloacalip", "IP地址"))
  46. self.pushButton.setText(_translate("Addloacalip", "提交"))
  47. self.label_2.setText(_translate("Addloacalip", "注意:若IP地址通过缓存获取,请在提交前确认IP电话地址"))