main_ui.py 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. ## Form generated from reading UI file 'main_ui.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 (QAction, QBrush, QColor, QConicalGradient,
  13. QCursor, QFont, QFontDatabase, QGradient,
  14. QIcon, QImage, QKeySequence, QLinearGradient,
  15. QPainter, QPalette, QPixmap, QRadialGradient,
  16. QTransform)
  17. from PySide6.QtWidgets import (QApplication, QLabel, QMainWindow, QMenu,
  18. QMenuBar, QProgressBar, QPushButton, QScrollArea,
  19. QSizePolicy, QStatusBar, QWidget)
  20. class Ui_MainWindow(object):
  21. def setupUi(self, MainWindow):
  22. if not MainWindow.objectName():
  23. MainWindow.setObjectName(u"MainWindow")
  24. MainWindow.resize(571, 365)
  25. MainWindow.setStyleSheet(u"background-color: #ebf1f7;")
  26. self.action = QAction(MainWindow)
  27. self.action.setObjectName(u"action")
  28. self.action_2 = QAction(MainWindow)
  29. self.action_2.setObjectName(u"action_2")
  30. self.action_3 = QAction(MainWindow)
  31. self.action_3.setObjectName(u"action_3")
  32. self.action_4 = QAction(MainWindow)
  33. self.action_4.setObjectName(u"action_4")
  34. self.action_5 = QAction(MainWindow)
  35. self.action_5.setObjectName(u"action_5")
  36. self.action_6 = QAction(MainWindow)
  37. self.action_6.setObjectName(u"action_6")
  38. self.action_7 = QAction(MainWindow)
  39. self.action_7.setObjectName(u"action_7")
  40. self.action_8 = QAction(MainWindow)
  41. self.action_8.setObjectName(u"action_8")
  42. self.action_9 = QAction(MainWindow)
  43. self.action_9.setObjectName(u"action_9")
  44. self.action_10 = QAction(MainWindow)
  45. self.action_10.setObjectName(u"action_10")
  46. self.action_11 = QAction(MainWindow)
  47. self.action_11.setObjectName(u"action_11")
  48. self.centralwidget = QWidget(MainWindow)
  49. self.centralwidget.setObjectName(u"centralwidget")
  50. self.widget = QWidget(self.centralwidget)
  51. self.widget.setObjectName(u"widget")
  52. self.widget.setGeometry(QRect(10, 10, 391, 41))
  53. self.widget.setStyleSheet(u"background-color: #f7fcfd;\n"
  54. "border-radius: 5px;\n"
  55. "border: 2px groove gray;\n"
  56. "border:0px;")
  57. self.progressBar = QProgressBar(self.widget)
  58. self.progressBar.setObjectName(u"progressBar")
  59. self.progressBar.setGeometry(QRect(10, 20, 371, 16))
  60. self.progressBar.setStyleSheet(u"QProgressBar {\n"
  61. " border: 0px solid grey;\n"
  62. " color:rgb(255,255,255);\n"
  63. " border-radius: 10px;\n"
  64. " text-align: center;\n"
  65. " border: 2px groove gray;\n"
  66. " border:0px;\n"
  67. " background-color: #6272a4;\n"
  68. " }\n"
  69. "QProgressBar::chunk {\n"
  70. " border-radius: 10px;\n"
  71. " background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop: 0 #fa78c9, stop: 1 #b058fb);\n"
  72. " }")
  73. self.progressBar.setValue(24)
  74. self.label = QLabel(self.widget)
  75. self.label.setObjectName(u"label")
  76. self.label.setGeometry(QRect(10, 0, 371, 16))
  77. self.label.setStyleSheet(u"font: 10pt \"Adobe \u9ed1\u4f53 Std R\";")
  78. self.label_2 = QLabel(self.centralwidget)
  79. self.label_2.setObjectName(u"label_2")
  80. self.label_2.setGeometry(QRect(420, 10, 91, 31))
  81. self.label_2.setStyleSheet(u"background-color: #f7fcfd;\n"
  82. "border-radius: 5px;\n"
  83. "border: 2px groove gray;\n"
  84. "border:0px;")
  85. self.label_2.setAlignment(Qt.AlignCenter)
  86. self.label_3 = QLabel(self.centralwidget)
  87. self.label_3.setObjectName(u"label_3")
  88. self.label_3.setGeometry(QRect(520, 10, 31, 31))
  89. self.label_3.setStyleSheet(u"background-color: #f7fcfd;\n"
  90. "border-radius: 5px;\n"
  91. "border: 2px groove gray;\n"
  92. "border:0px;")
  93. self.label_3.setAlignment(Qt.AlignCenter)
  94. self.pushButton_6 = QPushButton(self.centralwidget)
  95. self.pushButton_6.setObjectName(u"pushButton_6")
  96. self.pushButton_6.setGeometry(QRect(420, 270, 131, 31))
  97. self.pushButton_6.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"
  98. "color: rgb(255, 255, 255);\n"
  99. "border-radius: 5px; border: 2px groove gray;\n"
  100. "border:0px;")
  101. self.pushButton = QPushButton(self.centralwidget)
  102. self.pushButton.setObjectName(u"pushButton")
  103. self.pushButton.setGeometry(QRect(420, 250, 131, 31))
  104. 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"
  105. "color: rgb(255, 255, 255);\n"
  106. "border-radius: 5px; border: 2px groove gray;\n"
  107. "border:0px;")
  108. self.label_7 = QLabel(self.centralwidget)
  109. self.label_7.setObjectName(u"label_7")
  110. self.label_7.setGeometry(QRect(420, 45, 131, 21))
  111. self.label_7.setStyleSheet(u"background-color: #f7fcfd;\n"
  112. "border-radius: 5px;\n"
  113. "border: 2px groove gray;\n"
  114. "border:0px;")
  115. self.label_7.setAlignment(Qt.AlignCenter)
  116. self.label_10 = QLabel(self.centralwidget)
  117. self.label_10.setObjectName(u"label_10")
  118. self.label_10.setGeometry(QRect(420, 70, 131, 71))
  119. self.label_10.setStyleSheet(u"background-color: #f7fcfd;\n"
  120. "border-radius: 5px;\n"
  121. "border: 2px groove gray;\n"
  122. "border:0px;")
  123. self.label_10.setAlignment(Qt.AlignCenter)
  124. self.label_9 = QLabel(self.centralwidget)
  125. self.label_9.setObjectName(u"label_9")
  126. self.label_9.setGeometry(QRect(430, 80, 41, 16))
  127. self.label_9.setStyleSheet(u"background-color: rgb(255, 255, 255,0);\n"
  128. "font: 7pt \"Adobe Arabic\";")
  129. self.label_9.setAlignment(Qt.AlignCenter)
  130. self.label_11 = QLabel(self.centralwidget)
  131. self.label_11.setObjectName(u"label_11")
  132. self.label_11.setGeometry(QRect(430, 100, 41, 20))
  133. self.label_11.setStyleSheet(u"background-color: rgb(255, 255, 255,0);\n"
  134. "font: 15pt \"Adobe \u9ed1\u4f53 Std R\";")
  135. self.label_11.setAlignment(Qt.AlignCenter)
  136. self.label_12 = QLabel(self.centralwidget)
  137. self.label_12.setObjectName(u"label_12")
  138. self.label_12.setGeometry(QRect(500, 80, 41, 16))
  139. self.label_12.setStyleSheet(u"background-color: rgb(255, 255, 255,0);\n"
  140. "font: 7pt \"Adobe Arabic\";")
  141. self.label_12.setAlignment(Qt.AlignCenter)
  142. self.label_13 = QLabel(self.centralwidget)
  143. self.label_13.setObjectName(u"label_13")
  144. self.label_13.setGeometry(QRect(500, 100, 41, 20))
  145. self.label_13.setStyleSheet(u"background-color: rgb(255, 255, 255,0);\n"
  146. "font: 15pt \"Adobe \u9ed1\u4f53 Std R\";")
  147. self.label_13.setAlignment(Qt.AlignCenter)
  148. self.scrollArea = QScrollArea(self.centralwidget)
  149. self.scrollArea.setObjectName(u"scrollArea")
  150. self.scrollArea.setGeometry(QRect(10, 60, 391, 261))
  151. self.scrollArea.setStyleSheet(u"background-color: #f7fcfd;\n"
  152. "border-radius: 5px;\n"
  153. "border: 2px groove gray;\n"
  154. "border:0px;")
  155. self.scrollArea.setWidgetResizable(True)
  156. self.scrollAreaWidgetContents = QWidget()
  157. self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
  158. self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 378, 8000))
  159. self.scrollAreaWidgetContents.setMinimumSize(QSize(0, 8000))
  160. self.widget_2 = QWidget(self.scrollAreaWidgetContents)
  161. self.widget_2.setObjectName(u"widget_2")
  162. self.widget_2.setGeometry(QRect(10, 10, 351, 200))
  163. sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred)
  164. sizePolicy.setHorizontalStretch(0)
  165. sizePolicy.setVerticalStretch(0)
  166. sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
  167. self.widget_2.setSizePolicy(sizePolicy)
  168. self.label_5 = QLabel(self.widget_2)
  169. self.label_5.setObjectName(u"label_5")
  170. self.label_5.setGeometry(QRect(50, 90, 271, 21))
  171. self.label_5.setStyleSheet(u"font: 10pt \"Adobe \u9ed1\u4f53 Std R\";")
  172. self.label_5.setAlignment(Qt.AlignCenter)
  173. self.scrollArea.setWidget(self.scrollAreaWidgetContents)
  174. self.label_14 = QLabel(self.centralwidget)
  175. self.label_14.setObjectName(u"label_14")
  176. self.label_14.setGeometry(QRect(430, 120, 41, 16))
  177. self.label_14.setStyleSheet(u"background-color: rgb(255, 255, 255,0);\n"
  178. "font: 7pt \"Adobe Arabic\";\n"
  179. "color: rgb(0, 85, 255);")
  180. self.label_14.setAlignment(Qt.AlignCenter)
  181. self.widget_3 = QWidget(self.centralwidget)
  182. self.widget_3.setObjectName(u"widget_3")
  183. self.widget_3.setGeometry(QRect(10, 330, 391, 41))
  184. self.widget_3.setStyleSheet(u"background-color: #f7fcfd;\n"
  185. "border-radius: 5px;\n"
  186. "border: 2px groove gray;\n"
  187. "border:0px;")
  188. self.label_4 = QLabel(self.widget_3)
  189. self.label_4.setObjectName(u"label_4")
  190. self.label_4.setGeometry(QRect(10, 10, 241, 21))
  191. self.label_4.setStyleSheet(u"font: 10pt \"Adobe \u9ed1\u4f53 Std R\";")
  192. self.label_8 = QLabel(self.widget_3)
  193. self.label_8.setObjectName(u"label_8")
  194. self.label_8.setGeometry(QRect(270, 10, 51, 21))
  195. self.label_8.setStyleSheet(u"font: 10pt \"Adobe \u9ed1\u4f53 Std R\";")
  196. self.label_15 = QLabel(self.widget_3)
  197. self.label_15.setObjectName(u"label_15")
  198. self.label_15.setGeometry(QRect(330, 10, 51, 21))
  199. self.label_15.setStyleSheet(u"font: 10pt \"Adobe \u9ed1\u4f53 Std R\";")
  200. MainWindow.setCentralWidget(self.centralwidget)
  201. self.menubar = QMenuBar(MainWindow)
  202. self.menubar.setObjectName(u"menubar")
  203. self.menubar.setGeometry(QRect(0, 0, 571, 18))
  204. self.menubar.setStyleSheet(u"background-color: #ebf1f7;\n"
  205. "color: rgb(102, 102, 102);\n"
  206. "border-radius: 0px;\n"
  207. "border: none;")
  208. self.menu = QMenu(self.menubar)
  209. self.menu.setObjectName(u"menu")
  210. self.menu_2 = QMenu(self.menubar)
  211. self.menu_2.setObjectName(u"menu_2")
  212. self.menu_3 = QMenu(self.menubar)
  213. self.menu_3.setObjectName(u"menu_3")
  214. MainWindow.setMenuBar(self.menubar)
  215. self.statusbar = QStatusBar(MainWindow)
  216. self.statusbar.setObjectName(u"statusbar")
  217. MainWindow.setStatusBar(self.statusbar)
  218. self.menubar.addAction(self.menu.menuAction())
  219. self.menubar.addAction(self.menu_2.menuAction())
  220. self.menubar.addAction(self.menu_3.menuAction())
  221. self.menu.addAction(self.action_2)
  222. self.menu_2.addAction(self.action_5)
  223. self.menu_3.addAction(self.action_10)
  224. self.menu_3.addAction(self.action_11)
  225. self.retranslateUi(MainWindow)
  226. QMetaObject.connectSlotsByName(MainWindow)
  227. # setupUi
  228. def retranslateUi(self, MainWindow):
  229. MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
  230. self.action.setText(QCoreApplication.translate("MainWindow", u"\u5408\u5e76\u8868\u683c", None))
  231. self.action_2.setText(QCoreApplication.translate("MainWindow", u"\u56fe\u7247\u538b\u7f29", None))
  232. self.action_3.setText(QCoreApplication.translate("MainWindow", u"\u4e0b\u8f7d\u8868\u683c\u56fe\u7247", None))
  233. self.action_4.setText(QCoreApplication.translate("MainWindow", u"\u62cd\u7167\u547d\u540d", None))
  234. self.action_5.setText(QCoreApplication.translate("MainWindow", u"\u56fe\u7247\u79fb\u52a8", None))
  235. self.action_6.setText(QCoreApplication.translate("MainWindow", u"\u4e0b\u8f7d\u8d27\u53f7\u56fe\u5230\u6587\u4ef6\u5939", None))
  236. self.action_7.setText(QCoreApplication.translate("MainWindow", u"\u8868\u683c\u56fe\u7247\u7f29\u653e\u8bbe\u7f6e", None))
  237. self.action_8.setText(QCoreApplication.translate("MainWindow", u"\u8bbe\u7f6e", None))
  238. self.action_9.setText(QCoreApplication.translate("MainWindow", u"\u8868\u683c\u83b7\u53d6\u5546\u54c1\u521b\u5efa\u4eba", None))
  239. self.action_10.setText(QCoreApplication.translate("MainWindow", u"\u8bbe\u7f6e", None))
  240. self.action_11.setText(QCoreApplication.translate("MainWindow", u"\u8054\u7cfb\u6211\u4eec", None))
  241. self.label.setText(QCoreApplication.translate("MainWindow", u"\u603b\u6761\u6570\uff1a100 \u5904\u7406\u4e2d10\u6761 \u5df2\u5b8c\u621010\u6761 \u5931\u8d2510\u6761", None))
  242. self.label_2.setText(QCoreApplication.translate("MainWindow", u"\u64cd\u4f5c\u4eba \u5f20\u4e09", None))
  243. self.label_3.setText(QCoreApplication.translate("MainWindow", u"\u9000\u51fa", None))
  244. self.pushButton_6.setText(QCoreApplication.translate("MainWindow", u"\u7ec8\u6b62\u7a0b\u5e8f", None))
  245. self.pushButton.setText(QCoreApplication.translate("MainWindow", u"\u5f00\u59cb\u62a0\u56fe", None))
  246. self.label_7.setText(QCoreApplication.translate("MainWindow", u"\u6d59\u6c5f\u7ea2\u873b\u8713\u80a1\u4efd\u6709\u9650\u516c\u53f8", None))
  247. self.label_10.setText("")
  248. self.label_9.setText(QCoreApplication.translate("MainWindow", u"\u5269\u4f59\u70b9\u6570", None))
  249. self.label_11.setText(QCoreApplication.translate("MainWindow", u"80000", None))
  250. self.label_12.setText(QCoreApplication.translate("MainWindow", u"\u672c\u6b21\u4f7f\u7528", None))
  251. self.label_13.setText(QCoreApplication.translate("MainWindow", u"80000", None))
  252. self.label_5.setText(QCoreApplication.translate("MainWindow", u"\u70b9\u51fb\u9009\u62e9\u6587\u4ef6\u5939/\u9009\u62e9\u56fe\u7247", None))
  253. self.label_14.setText(QCoreApplication.translate("MainWindow", u"\u5237\u65b0", None))
  254. self.label_4.setText(QCoreApplication.translate("MainWindow", u"\u5df2\u9009:", None))
  255. self.label_8.setText(QCoreApplication.translate("MainWindow", u"\u91cd\u65b0\u9009\u62e9", None))
  256. self.label_15.setText(QCoreApplication.translate("MainWindow", u"\u6253\u5f00\u6587\u4ef6\u5939", None))
  257. self.menu.setTitle(QCoreApplication.translate("MainWindow", u"\u83dc\u5355", None))
  258. self.menu_2.setTitle(QCoreApplication.translate("MainWindow", u"\u5176\u4ed6", None))
  259. self.menu_3.setTitle(QCoreApplication.translate("MainWindow", u"\u8bbe\u7f6e", None))
  260. # retranslateUi