set_image_mode.py 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. ## Form generated from reading UI file 'set_image_mode.ui'
  4. ##
  5. ## Created by: Qt User Interface Compiler version 6.7.2
  6. ##
  7. ## WARNING! All changes made in this file will be lost when recompiling UI file!
  8. ################################################################################
  9. from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
  10. QMetaObject, QObject, QPoint, QRect,
  11. QSize, QTime, QUrl, Qt)
  12. from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
  13. QFont, QFontDatabase, QGradient, QIcon,
  14. QImage, QKeySequence, QLinearGradient, QPainter,
  15. QPalette, QPixmap, QRadialGradient, QTransform)
  16. from PySide6.QtWidgets import (QApplication, QLabel, QLineEdit, QPushButton,
  17. QSizePolicy, QWidget)
  18. class Ui_Form(object):
  19. def setupUi(self, Form):
  20. if not Form.objectName():
  21. Form.setObjectName(u"Form")
  22. Form.resize(410, 275)
  23. sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Ignored)
  24. sizePolicy.setHorizontalStretch(0)
  25. sizePolicy.setVerticalStretch(0)
  26. sizePolicy.setHeightForWidth(Form.sizePolicy().hasHeightForWidth())
  27. Form.setSizePolicy(sizePolicy)
  28. Form.setStyleSheet(u"background-color: rgb(255, 255, 255);")
  29. self.pushButton = QPushButton(Form)
  30. self.pushButton.setObjectName(u"pushButton")
  31. self.pushButton.setGeometry(QRect(120, 200, 161, 31))
  32. self.pushButton.setStyleSheet(u"background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 137, 27, 255), stop:1 rgba(255, 93, 1, 255));\n"
  33. "color: rgb(255, 255, 255);\n"
  34. "border-radius: 5px; border: 2px groove gray;\n"
  35. "border:0px;")
  36. self.label_7 = QLabel(Form)
  37. self.label_7.setObjectName(u"label_7")
  38. self.label_7.setGeometry(QRect(10, 35, 91, 21))
  39. self.lineEdit = QLineEdit(Form)
  40. self.lineEdit.setObjectName(u"lineEdit")
  41. self.lineEdit.setGeometry(QRect(100, 35, 271, 20))
  42. self.label = QLabel(Form)
  43. self.label.setObjectName(u"label")
  44. self.label.setGeometry(QRect(90, 60, 281, 16))
  45. self.label_2 = QLabel(Form)
  46. self.label_2.setObjectName(u"label_2")
  47. self.label_2.setGeometry(QRect(90, 125, 281, 16))
  48. self.label_8 = QLabel(Form)
  49. self.label_8.setObjectName(u"label_8")
  50. self.label_8.setGeometry(QRect(10, 100, 91, 21))
  51. self.lineEdit_2 = QLineEdit(Form)
  52. self.lineEdit_2.setObjectName(u"lineEdit_2")
  53. self.lineEdit_2.setGeometry(QRect(100, 100, 271, 20))
  54. self.retranslateUi(Form)
  55. QMetaObject.connectSlotsByName(Form)
  56. # setupUi
  57. def retranslateUi(self, Form):
  58. Form.setWindowTitle(QCoreApplication.translate("Form", u"\u8bbe\u7f6e", None))
  59. self.pushButton.setText(QCoreApplication.translate("Form", u"\u4fdd\u5b58", None))
  60. self.label_7.setText(QCoreApplication.translate("Form", u"\u4e0d\u6263\u56fe\u7684\u6587\u4ef6\u5939", None))
  61. self.lineEdit.setText(QCoreApplication.translate("Form", u"\u5df2\u6263\u56fe\uff0c", None))
  62. self.label.setText(QCoreApplication.translate("Form", u"\u542b\u4ee5\u4e0a\u5173\u952e\u8bcd\u7684\u4e0d\u8fdb\u884c\u62a0\u56fe\uff0c\u591a\u4e2a\u6587\u4ef6\u5939\u4f7f\u7528\u9017\u53f7\u5206\u9694", None))
  63. self.label_2.setText(QCoreApplication.translate("Form", u"\u542b\u4ee5\u4e0a\u5173\u952e\u8bcd\u7684\u4e0d\u8fdb\u884c\u62a0\u56fe\uff0c\u591a\u4e2a\u6587\u4ef6\u5939\u4f7f\u7528\u9017\u53f7\u5206\u9694", None))
  64. self.label_8.setText(QCoreApplication.translate("Form", u"\u4e0d\u6263\u56fe\u7684\u6587\u4ef6", None))
  65. self.lineEdit_2.setText(QCoreApplication.translate("Form", u"\u5df2\u6263\u56fe\uff0c", None))
  66. # retranslateUi