控制网复测平面基准归算程序(包含控制网复测平面基准计算,平面控制网稳定性计算,水准测段高差稳定计算三个程序功能)
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

ui_main.py 104KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044
  1. # -*- coding: utf-8 -*-
  2. ################################################################################
  3. ## Form generated from reading UI file 'main.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. import sys
  10. sys.path.append("../..")
  11. import sqlite3
  12. import os
  13. from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
  14. QMetaObject, QObject, QPoint, QRect,
  15. QSize, QTime, QUrl, Qt)
  16. from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
  17. QFont, QFontDatabase, QGradient, QIcon,
  18. QImage, QKeySequence, QLinearGradient, QPainter,
  19. QPalette, QPixmap, QRadialGradient, QTransform, QStandardItem, QStandardItemModel)
  20. from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QFormLayout,
  21. QFrame, QGridLayout, QHBoxLayout, QHeaderView,
  22. QLabel, QLineEdit, QListView, QMainWindow,
  23. QPushButton, QSizePolicy, QStackedWidget, QTabWidget,
  24. QTableView, QTextEdit, QVBoxLayout, QWidget, QMessageBox, QTreeWidget)
  25. from Back.Program_Run.data_show import Arrange_Data, Arrange_Data1, Arrange_Data2, Data_in_Cell, Data_in_Cell1, \
  26. Data_in_Cell2
  27. from Back.Program_Run.database_operations import create_database_and_tables
  28. from Back.Program_Run.file_system_watching import ComboBoxUpdater
  29. from watchdog.observers import Observer
  30. from .resources_rc import *
  31. class Ui_MainWindow(object):
  32. # UI界面
  33. def setupUi(self, MainWindow):
  34. self.main_window = MainWindow
  35. if not MainWindow.objectName():
  36. MainWindow.setObjectName(u"MainWindow")
  37. MainWindow.resize(940, 620)
  38. MainWindow.setMinimumSize(QSize(940, 620))
  39. self.styleSheet = QWidget(MainWindow)
  40. self.styleSheet.setObjectName(u"styleSheet")
  41. font = QFont()
  42. font.setFamilies([u"Segoe UI"])
  43. font.setPointSize(10)
  44. font.setBold(False)
  45. font.setItalic(False)
  46. self.styleSheet.setFont(font)
  47. self.styleSheet.setStyleSheet(
  48. u"/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  49. "\n"
  50. "SET APP STYLESHEET - FULL STYLES HERE\n"
  51. "DARK THEME - DRACULA COLOR BASED\n"
  52. "\n"
  53. "///////////////////////////////////////////////////////////////////////////////////////////////// */\n"
  54. "\n"
  55. "QWidget{\n"
  56. " color: rgb(221, 221, 221);\n"
  57. " font: 10pt \"Segoe UI\";\n"
  58. "}\n"
  59. "\n"
  60. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  61. "Tooltip */\n"
  62. "QToolTip {\n"
  63. " color: #ffffff;\n"
  64. " background-color: rgba(33, 37, 43, 180);\n"
  65. " border: 1px solid rgb(44, 49, 58);\n"
  66. " background-image: none;\n"
  67. " background-position: left center;\n"
  68. " background-repeat: no-repeat;\n"
  69. " border: none;\n"
  70. " border-left: 2px solid rgb(255, 121, 198);\n"
  71. " text-align: left;\n"
  72. " padding-left: 8px;\n"
  73. " margin: 0px;\n"
  74. "}\n"
  75. "\n"
  76. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  77. "Bg App */\n"
  78. "#bgApp { \n"
  79. " background"
  80. "-color: rgb(40, 44, 52);\n"
  81. " border: 1px solid rgb(44, 49, 58);\n"
  82. "}\n"
  83. "\n"
  84. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  85. "Left Menu */\n"
  86. "#leftMenuBg { \n"
  87. " background-color: rgb(33, 37, 43);\n"
  88. "}\n"
  89. "#topLogo {\n"
  90. " background-color: rgb(33, 37, 43);\n"
  91. " background-image: url(:/images/images/images/PyDracula.png);\n"
  92. " background-position: centered;\n"
  93. " background-repeat: no-repeat;\n"
  94. "}\n"
  95. "#titleLeftApp { font: 63 12pt \"Segoe UI Semibold\"; }\n"
  96. "#titleLeftDescription { font: 8pt \"Segoe UI\"; color: rgb(189, 147, 249); }\n"
  97. "\n"
  98. "/* MENUS */\n"
  99. "#topMenu .QPushButton { \n"
  100. " background-position: left center;\n"
  101. " background-repeat: no-repeat;\n"
  102. " border: none;\n"
  103. " border-left: 22px solid transparent;\n"
  104. " background-color: transparent;\n"
  105. " text-align: left;\n"
  106. " padding-left: 44px;\n"
  107. "}\n"
  108. "#topMenu .QPushButton:hover {\n"
  109. " background-color: rgb(40, 44, 52);\n"
  110. "}\n"
  111. "#topMenu .QPushButton:pressed { \n"
  112. " background-color: rgb(18"
  113. "9, 147, 249);\n"
  114. " color: rgb(255, 255, 255);\n"
  115. "}\n"
  116. "#bottomMenu .QPushButton { \n"
  117. " background-position: left center;\n"
  118. " background-repeat: no-repeat;\n"
  119. " border: none;\n"
  120. " border-left: 20px solid transparent;\n"
  121. " background-color:transparent;\n"
  122. " text-align: left;\n"
  123. " padding-left: 44px;\n"
  124. "}\n"
  125. "#bottomMenu .QPushButton:hover {\n"
  126. " background-color: rgb(40, 44, 52);\n"
  127. "}\n"
  128. "#bottomMenu .QPushButton:pressed { \n"
  129. " background-color: rgb(189, 147, 249);\n"
  130. " color: rgb(255, 255, 255);\n"
  131. "}\n"
  132. "#leftMenuFrame{\n"
  133. " border-top: 3px solid rgb(44, 49, 58);\n"
  134. "}\n"
  135. "\n"
  136. "/* Toggle Button */\n"
  137. "#toggleButton {\n"
  138. " background-position: left center;\n"
  139. " background-repeat: no-repeat;\n"
  140. " border: none;\n"
  141. " border-left: 20px solid transparent;\n"
  142. " background-color: rgb(37, 41, 48);\n"
  143. " text-align: left;\n"
  144. " padding-left: 44px;\n"
  145. " color: rgb(113, 126, 149);\n"
  146. "}\n"
  147. "#toggleButton:hover {\n"
  148. " background-color: rgb(40, 44, 52);\n"
  149. "}\n"
  150. "#toggleButton:pressed {\n"
  151. " background-color: rgb("
  152. "189, 147, 249);\n"
  153. "}\n"
  154. "\n"
  155. "/* Title Menu */\n"
  156. "#titleRightInfo { padding-left: 10px; }\n"
  157. "\n"
  158. "\n"
  159. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  160. "Extra Tab */\n"
  161. "#extraLeftBox { \n"
  162. " background-color: rgb(44, 49, 58);\n"
  163. "}\n"
  164. "#extraTopBg{ \n"
  165. " background-color: rgb(189, 147, 249)\n"
  166. "}\n"
  167. "\n"
  168. "/* Icon */\n"
  169. "#extraIcon {\n"
  170. " background-position: center;\n"
  171. " background-repeat: no-repeat;\n"
  172. " background-image: url(:/icons/images/icons/icon_settings.png);\n"
  173. "}\n"
  174. "\n"
  175. "/* Label */\n"
  176. "#extraLabel { color: rgb(255, 255, 255); }\n"
  177. "\n"
  178. "/* Btn Close */\n"
  179. "#extraCloseColumnBtn { background-color: rgba(255, 255, 255, 0); border: none; border-radius: 5px; }\n"
  180. "#extraCloseColumnBtn:hover { background-color: rgb(196, 161, 249); border-style: solid; border-radius: 4px; }\n"
  181. "#extraCloseColumnBtn:pressed { background-color: rgb(180, 141, 238); border-style: solid; border-radius: 4px; }\n"
  182. "\n"
  183. "/* Extra Content */\n"
  184. "#extraContent{\n"
  185. " border"
  186. "-top: 3px solid rgb(40, 44, 52);\n"
  187. "}\n"
  188. "\n"
  189. "/* Extra Top Menus */\n"
  190. "#extraTopMenu .QPushButton {\n"
  191. "background-position: left center;\n"
  192. " background-repeat: no-repeat;\n"
  193. " border: none;\n"
  194. " border-left: 22px solid transparent;\n"
  195. " background-color:transparent;\n"
  196. " text-align: left;\n"
  197. " padding-left: 44px;\n"
  198. "}\n"
  199. "#extraTopMenu .QPushButton:hover {\n"
  200. " background-color: rgb(40, 44, 52);\n"
  201. "}\n"
  202. "#extraTopMenu .QPushButton:pressed { \n"
  203. " background-color: rgb(189, 147, 249);\n"
  204. " color: rgb(255, 255, 255);\n"
  205. "}\n"
  206. "\n"
  207. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  208. "Content App */\n"
  209. "#contentTopBg{ \n"
  210. " background-color: rgb(33, 37, 43);\n"
  211. "}\n"
  212. "#contentBottom{\n"
  213. " border-top: 3px solid rgb(44, 49, 58);\n"
  214. "}\n"
  215. "\n"
  216. "/* Top Buttons */\n"
  217. "#rightButtons .QPushButton { background-color: rgba(255, 255, 255, 0); border: none; border-radius: 5px; }\n"
  218. "#rightButtons .QPushButton:hover { background-color: rgb(44, 49, 57); border-sty"
  219. "le: solid; border-radius: 4px; }\n"
  220. "#rightButtons .QPushButton:pressed { background-color: rgb(23, 26, 30); border-style: solid; border-radius: 4px; }\n"
  221. "\n"
  222. "/* Theme Settings */\n"
  223. "#extraRightBox { background-color: rgb(44, 49, 58); }\n"
  224. "#themeSettingsTopDetail { background-color: rgb(189, 147, 249); }\n"
  225. "\n"
  226. "/* Bottom Bar */\n"
  227. "#bottomBar { background-color: rgb(44, 49, 58); }\n"
  228. "#bottomBar QLabel { font-size: 11px; color: rgb(113, 126, 149); padding-left: 10px; padding-right: 10px; padding-bottom: 2px; }\n"
  229. "\n"
  230. "/* CONTENT SETTINGS */\n"
  231. "/* MENUS */\n"
  232. "#contentSettings .QPushButton { \n"
  233. " background-position: left center;\n"
  234. " background-repeat: no-repeat;\n"
  235. " border: none;\n"
  236. " border-left: 22px solid transparent;\n"
  237. " background-color:transparent;\n"
  238. " text-align: left;\n"
  239. " padding-left: 44px;\n"
  240. "}\n"
  241. "#contentSettings .QPushButton:hover {\n"
  242. " background-color: rgb(40, 44, 52);\n"
  243. "}\n"
  244. "#contentSettings .QPushButton:pressed { \n"
  245. " background-color: rgb(189, 147, 249);\n"
  246. " color: rgb"
  247. "(255, 255, 255);\n"
  248. "}\n"
  249. "\n"
  250. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  251. "QTableWidget */\n"
  252. "QTableWidget { \n"
  253. " background-color: transparent;\n"
  254. " padding: 10px;\n"
  255. " border-radius: 5px;\n"
  256. " gridline-color: rgb(44, 49, 58);\n"
  257. " border-bottom: 1px solid rgb(44, 49, 60);\n"
  258. "}\n"
  259. "QTableWidget::item{\n"
  260. " border-color: rgb(44, 49, 60);\n"
  261. " padding-left: 5px;\n"
  262. " padding-right: 5px;\n"
  263. " gridline-color: rgb(44, 49, 60);\n"
  264. "}\n"
  265. "QTableWidget::item:selected{\n"
  266. " background-color: rgb(189, 147, 249);\n"
  267. "}\n"
  268. "QHeaderView::section{\n"
  269. " background-color: rgb(33, 37, 43);\n"
  270. " max-width: 30px;\n"
  271. " border: 1px solid rgb(44, 49, 58);\n"
  272. " border-style: none;\n"
  273. " border-bottom: 1px solid rgb(44, 49, 60);\n"
  274. " border-right: 1px solid rgb(44, 49, 60);\n"
  275. "}\n"
  276. "QTableWidget::horizontalHeader { \n"
  277. " background-color: rgb(33, 37, 43);\n"
  278. "}\n"
  279. "QHeaderView::section:horizontal\n"
  280. "{\n"
  281. " border: 1px solid rgb(33, 37, 43);\n"
  282. " background-co"
  283. "lor: rgb(33, 37, 43);\n"
  284. " padding: 3px;\n"
  285. " border-top-left-radius: 7px;\n"
  286. " border-top-right-radius: 7px;\n"
  287. "}\n"
  288. "QHeaderView::section:vertical\n"
  289. "{\n"
  290. " border: 1px solid rgb(44, 49, 60);\n"
  291. "}\n"
  292. "\n"
  293. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  294. "LineEdit */\n"
  295. "QLineEdit {\n"
  296. " background-color: rgb(33, 37, 43);\n"
  297. " border-radius: 5px;\n"
  298. " border: 2px solid rgb(33, 37, 43);\n"
  299. " padding-left: 10px;\n"
  300. " selection-color: rgb(255, 255, 255);\n"
  301. " selection-background-color: rgb(255, 121, 198);\n"
  302. "}\n"
  303. "QLineEdit:hover {\n"
  304. " border: 2px solid rgb(64, 71, 88);\n"
  305. "}\n"
  306. "QLineEdit:focus {\n"
  307. " border: 2px solid rgb(91, 101, 124);\n"
  308. "}\n"
  309. "\n"
  310. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  311. "PlainTextEdit */\n"
  312. "QPlainTextEdit {\n"
  313. " background-color: rgb(27, 29, 35);\n"
  314. " border-radius: 5px;\n"
  315. " padding: 10px;\n"
  316. " selection-color: rgb(255, 255, 255);\n"
  317. " selection-background-c"
  318. "olor: rgb(255, 121, 198);\n"
  319. "}\n"
  320. "QPlainTextEdit QScrollBar:vertical {\n"
  321. " width: 8px;\n"
  322. " }\n"
  323. "QPlainTextEdit QScrollBar:horizontal {\n"
  324. " height: 8px;\n"
  325. " }\n"
  326. "QPlainTextEdit:hover {\n"
  327. " border: 2px solid rgb(64, 71, 88);\n"
  328. "}\n"
  329. "QPlainTextEdit:focus {\n"
  330. " border: 2px solid rgb(91, 101, 124);\n"
  331. "}\n"
  332. "\n"
  333. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  334. "ScrollBars */\n"
  335. "QScrollBar:horizontal {\n"
  336. " border: none;\n"
  337. " background: rgb(52, 59, 72);\n"
  338. " height: 8px;\n"
  339. " margin: 0px 21px 0 21px;\n"
  340. " border-radius: 0px;\n"
  341. "}\n"
  342. "QScrollBar::handle:horizontal {\n"
  343. " background: rgb(189, 147, 249);\n"
  344. " min-width: 25px;\n"
  345. " border-radius: 4px\n"
  346. "}\n"
  347. "QScrollBar::add-line:horizontal {\n"
  348. " border: none;\n"
  349. " background: rgb(55, 63, 77);\n"
  350. " width: 20px;\n"
  351. " border-top-right-radius: 4px;\n"
  352. " border-bottom-right-radius: 4px;\n"
  353. " subcontrol-position: right;\n"
  354. " subcontrol-origin: margin;\n"
  355. "}\n"
  356. ""
  357. "QScrollBar::sub-line:horizontal {\n"
  358. " border: none;\n"
  359. " background: rgb(55, 63, 77);\n"
  360. " width: 20px;\n"
  361. " border-top-left-radius: 4px;\n"
  362. " border-bottom-left-radius: 4px;\n"
  363. " subcontrol-position: left;\n"
  364. " subcontrol-origin: margin;\n"
  365. "}\n"
  366. "QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal\n"
  367. "{\n"
  368. " background: none;\n"
  369. "}\n"
  370. "QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal\n"
  371. "{\n"
  372. " background: none;\n"
  373. "}\n"
  374. " QScrollBar:vertical {\n"
  375. " border: none;\n"
  376. " background: rgb(52, 59, 72);\n"
  377. " width: 8px;\n"
  378. " margin: 21px 0 21px 0;\n"
  379. " border-radius: 0px;\n"
  380. " }\n"
  381. " QScrollBar::handle:vertical { \n"
  382. " background: rgb(189, 147, 249);\n"
  383. " min-height: 25px;\n"
  384. " border-radius: 4px\n"
  385. " }\n"
  386. " QScrollBar::add-line:vertical {\n"
  387. " border: none;\n"
  388. " background: rgb(55, 63, 77);\n"
  389. " height: 20px;\n"
  390. " border-bottom-left-radius: 4px;\n"
  391. " border-bottom-right-radius: 4px;\n"
  392. " subcontrol-position: bottom;\n"
  393. " su"
  394. "bcontrol-origin: margin;\n"
  395. " }\n"
  396. " QScrollBar::sub-line:vertical {\n"
  397. " border: none;\n"
  398. " background: rgb(55, 63, 77);\n"
  399. " height: 20px;\n"
  400. " border-top-left-radius: 4px;\n"
  401. " border-top-right-radius: 4px;\n"
  402. " subcontrol-position: top;\n"
  403. " subcontrol-origin: margin;\n"
  404. " }\n"
  405. " QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {\n"
  406. " background: none;\n"
  407. " }\n"
  408. "\n"
  409. " QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {\n"
  410. " background: none;\n"
  411. " }\n"
  412. "\n"
  413. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  414. "CheckBox */\n"
  415. "QCheckBox::indicator {\n"
  416. " border: 3px solid rgb(52, 59, 72);\n"
  417. " width: 15px;\n"
  418. " height: 15px;\n"
  419. " border-radius: 10px;\n"
  420. " background: rgb(44, 49, 60);\n"
  421. "}\n"
  422. "QCheckBox::indicator:hover {\n"
  423. " border: 3px solid rgb(58, 66, 81);\n"
  424. "}\n"
  425. "QCheckBox::indicator:checked {\n"
  426. " background: 3px solid rgb(52, 59, 72);\n"
  427. " border: 3px solid rgb(52, 59, 72); \n"
  428. " back"
  429. "ground-image: url(:/icons/images/icons/cil-check-alt.png);\n"
  430. "}\n"
  431. "\n"
  432. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  433. "RadioButton */\n"
  434. "QRadioButton::indicator {\n"
  435. " border: 3px solid rgb(52, 59, 72);\n"
  436. " width: 15px;\n"
  437. " height: 15px;\n"
  438. " border-radius: 10px;\n"
  439. " background: rgb(44, 49, 60);\n"
  440. "}\n"
  441. "QRadioButton::indicator:hover {\n"
  442. " border: 3px solid rgb(58, 66, 81);\n"
  443. "}\n"
  444. "QRadioButton::indicator:checked {\n"
  445. " background: 3px solid rgb(94, 106, 130);\n"
  446. " border: 3px solid rgb(52, 59, 72); \n"
  447. "}\n"
  448. "\n"
  449. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  450. "ComboBox */\n"
  451. "QComboBox{\n"
  452. " background-color: rgb(27, 29, 35);\n"
  453. " border-radius: 5px;\n"
  454. " border: 2px solid rgb(33, 37, 43);\n"
  455. " padding: 5px;\n"
  456. " padding-left: 10px;\n"
  457. "}\n"
  458. "QComboBox:hover{\n"
  459. " border: 2px solid rgb(64, 71, 88);\n"
  460. "}\n"
  461. "QComboBox::drop-down {\n"
  462. " subcontrol-origin: padding;\n"
  463. " subco"
  464. "ntrol-position: top right;\n"
  465. " width: 25px; \n"
  466. " border-left-width: 3px;\n"
  467. " border-left-color: rgba(39, 44, 54, 150);\n"
  468. " border-left-style: solid;\n"
  469. " border-top-right-radius: 3px;\n"
  470. " border-bottom-right-radius: 3px; \n"
  471. " background-image: url(:/icons/images/icons/cil-arrow-bottom.png);\n"
  472. " background-position: center;\n"
  473. " background-repeat: no-reperat;\n"
  474. " }\n"
  475. "QComboBox QAbstractItemView {\n"
  476. " color: rgb(255, 121, 198); \n"
  477. " background-color: rgb(33, 37, 43);\n"
  478. " padding: 10px;\n"
  479. " selection-background-color: rgb(39, 44, 54);\n"
  480. "}\n"
  481. "\n"
  482. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  483. "Sliders */\n"
  484. "QSlider::groove:horizontal {\n"
  485. " border-radius: 5px;\n"
  486. " height: 10px;\n"
  487. " margin: 0px;\n"
  488. " background-color: rgb(52, 59, 72);\n"
  489. "}\n"
  490. "QSlider::groove:horizontal:hover {\n"
  491. " background-color: rgb(55, 62, 76);\n"
  492. "}\n"
  493. "QSlider::handle:horizontal {\n"
  494. " background-color: rgb(189, 147, 249);\n"
  495. " border: none;\n"
  496. " h"
  497. "eight: 10px;\n"
  498. " width: 10px;\n"
  499. " margin: 0px;\n"
  500. " border-radius: 5px;\n"
  501. "}\n"
  502. "QSlider::handle:horizontal:hover {\n"
  503. " background-color: rgb(195, 155, 255);\n"
  504. "}\n"
  505. "QSlider::handle:horizontal:pressed {\n"
  506. " background-color: rgb(255, 121, 198);\n"
  507. "}\n"
  508. "\n"
  509. "QSlider::groove:vertical {\n"
  510. " border-radius: 5px;\n"
  511. " width: 10px;\n"
  512. " margin: 0px;\n"
  513. " background-color: rgb(52, 59, 72);\n"
  514. "}\n"
  515. "QSlider::groove:vertical:hover {\n"
  516. " background-color: rgb(55, 62, 76);\n"
  517. "}\n"
  518. "QSlider::handle:vertical {\n"
  519. " background-color: rgb(189, 147, 249);\n"
  520. " border: none;\n"
  521. " height: 10px;\n"
  522. " width: 10px;\n"
  523. " margin: 0px;\n"
  524. " border-radius: 5px;\n"
  525. "}\n"
  526. "QSlider::handle:vertical:hover {\n"
  527. " background-color: rgb(195, 155, 255);\n"
  528. "}\n"
  529. "QSlider::handle:vertical:pressed {\n"
  530. " background-color: rgb(255, 121, 198);\n"
  531. "}\n"
  532. "\n"
  533. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  534. "CommandLinkButton */\n"
  535. "QCommandLi"
  536. "nkButton { \n"
  537. " color: rgb(255, 121, 198);\n"
  538. " border-radius: 5px;\n"
  539. " padding: 5px;\n"
  540. " color: rgb(255, 170, 255);\n"
  541. "}\n"
  542. "QCommandLinkButton:hover { \n"
  543. " color: rgb(255, 170, 255);\n"
  544. " background-color: rgb(44, 49, 60);\n"
  545. "}\n"
  546. "QCommandLinkButton:pressed { \n"
  547. " color: rgb(189, 147, 249);\n"
  548. " background-color: rgb(52, 58, 71);\n"
  549. "}\n"
  550. "\n"
  551. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  552. "Button */\n"
  553. "#pagesContainer QPushButton {\n"
  554. " border: 2px solid rgb(52, 59, 72);\n"
  555. " border-radius: 5px; \n"
  556. " background-color: rgb(52, 59, 72);\n"
  557. "}\n"
  558. "#pagesContainer QPushButton:hover {\n"
  559. " background-color: rgb(57, 65, 80);\n"
  560. " border: 2px solid rgb(61, 70, 86);\n"
  561. "}\n"
  562. "#pagesContainer QPushButton:pressed { \n"
  563. " background-color: rgb(35, 40, 49);\n"
  564. " border: 2px solid rgb(43, 50, 61);\n"
  565. "}\n"
  566. "\n"
  567. "")
  568. self.appMargins = QVBoxLayout(self.styleSheet)
  569. self.appMargins.setSpacing(0)
  570. self.appMargins.setObjectName(u"appMargins")
  571. self.appMargins.setContentsMargins(10, 10, 10, 10)
  572. self.bgApp = QFrame(self.styleSheet)
  573. self.bgApp.setObjectName(u"bgApp")
  574. self.bgApp.setStyleSheet(u"")
  575. self.bgApp.setFrameShape(QFrame.Shape.NoFrame)
  576. self.bgApp.setFrameShadow(QFrame.Shadow.Raised)
  577. self.appLayout = QHBoxLayout(self.bgApp)
  578. self.appLayout.setSpacing(0)
  579. self.appLayout.setObjectName(u"appLayout")
  580. self.appLayout.setContentsMargins(0, 0, 0, 0)
  581. self.leftMenuBg = QFrame(self.bgApp)
  582. self.leftMenuBg.setObjectName(u"leftMenuBg")
  583. self.leftMenuBg.setMinimumSize(QSize(60, 0))
  584. self.leftMenuBg.setMaximumSize(QSize(60, 16777215))
  585. self.leftMenuBg.setFrameShape(QFrame.Shape.NoFrame)
  586. self.leftMenuBg.setFrameShadow(QFrame.Shadow.Raised)
  587. self.verticalLayout_3 = QVBoxLayout(self.leftMenuBg)
  588. self.verticalLayout_3.setSpacing(0)
  589. self.verticalLayout_3.setObjectName(u"verticalLayout_3")
  590. self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
  591. self.topLogoInfo = QFrame(self.leftMenuBg)
  592. self.topLogoInfo.setObjectName(u"topLogoInfo")
  593. self.topLogoInfo.setMinimumSize(QSize(0, 50))
  594. self.topLogoInfo.setMaximumSize(QSize(16777215, 50))
  595. self.topLogoInfo.setFrameShape(QFrame.Shape.NoFrame)
  596. self.topLogoInfo.setFrameShadow(QFrame.Shadow.Raised)
  597. self.topLogo = QFrame(self.topLogoInfo)
  598. self.topLogo.setObjectName(u"topLogo")
  599. self.topLogo.setGeometry(QRect(10, 5, 42, 42))
  600. self.topLogo.setMinimumSize(QSize(42, 42))
  601. self.topLogo.setMaximumSize(QSize(42, 42))
  602. self.topLogo.setStyleSheet(u"background-image: url(:/images/images/images/logo.png);")
  603. self.topLogo.setFrameShape(QFrame.Shape.NoFrame)
  604. self.topLogo.setFrameShadow(QFrame.Shadow.Raised)
  605. self.titleLeftApp = QLabel(self.topLogoInfo)
  606. self.titleLeftApp.setObjectName(u"titleLeftApp")
  607. self.titleLeftApp.setGeometry(QRect(70, 8, 160, 20))
  608. font1 = QFont()
  609. font1.setFamilies([u"Segoe UI Semibold"])
  610. font1.setPointSize(12)
  611. # font1.setWeight(QFont.)
  612. font1.setItalic(False)
  613. self.titleLeftApp.setFont(font1)
  614. self.titleLeftApp.setAlignment(
  615. Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)
  616. self.titleLeftDescription = QLabel(self.topLogoInfo)
  617. self.titleLeftDescription.setObjectName(u"titleLeftDescription")
  618. self.titleLeftDescription.setGeometry(QRect(70, 27, 160, 16))
  619. self.titleLeftDescription.setMaximumSize(QSize(16777215, 16))
  620. font2 = QFont()
  621. font2.setFamilies([u"Segoe UI"])
  622. font2.setPointSize(8)
  623. font2.setBold(False)
  624. font2.setItalic(False)
  625. self.titleLeftDescription.setFont(font2)
  626. self.titleLeftDescription.setAlignment(
  627. Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)
  628. self.verticalLayout_3.addWidget(self.topLogoInfo)
  629. self.leftMenuFrame = QFrame(self.leftMenuBg)
  630. self.leftMenuFrame.setObjectName(u"leftMenuFrame")
  631. self.leftMenuFrame.setFrameShape(QFrame.Shape.NoFrame)
  632. self.leftMenuFrame.setFrameShadow(QFrame.Shadow.Raised)
  633. self.verticalMenuLayout = QVBoxLayout(self.leftMenuFrame)
  634. self.verticalMenuLayout.setSpacing(0)
  635. self.verticalMenuLayout.setObjectName(u"verticalMenuLayout")
  636. self.verticalMenuLayout.setContentsMargins(0, 0, 0, 0)
  637. self.toggleBox = QFrame(self.leftMenuFrame)
  638. self.toggleBox.setObjectName(u"toggleBox")
  639. self.toggleBox.setMaximumSize(QSize(16777215, 45))
  640. self.toggleBox.setFrameShape(QFrame.Shape.NoFrame)
  641. self.toggleBox.setFrameShadow(QFrame.Shadow.Raised)
  642. self.verticalLayout_4 = QVBoxLayout(self.toggleBox)
  643. self.verticalLayout_4.setSpacing(0)
  644. self.verticalLayout_4.setObjectName(u"verticalLayout_4")
  645. self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
  646. self.toggleButton = QPushButton(self.toggleBox)
  647. self.toggleButton.setObjectName(u"toggleButton")
  648. sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed)
  649. sizePolicy.setHorizontalStretch(0)
  650. sizePolicy.setVerticalStretch(0)
  651. sizePolicy.setHeightForWidth(self.toggleButton.sizePolicy().hasHeightForWidth())
  652. self.toggleButton.setSizePolicy(sizePolicy)
  653. self.toggleButton.setMinimumSize(QSize(0, 45))
  654. self.toggleButton.setFont(font)
  655. self.toggleButton.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  656. self.toggleButton.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  657. self.toggleButton.setStyleSheet(u"background-image: url(:/icons/images/icons/icon_menu.png);")
  658. self.verticalLayout_4.addWidget(self.toggleButton)
  659. self.verticalMenuLayout.addWidget(self.toggleBox)
  660. self.topMenu = QFrame(self.leftMenuFrame)
  661. self.topMenu.setObjectName(u"topMenu")
  662. self.topMenu.setFrameShape(QFrame.Shape.NoFrame)
  663. self.topMenu.setFrameShadow(QFrame.Shadow.Raised)
  664. self.verticalLayout_8 = QVBoxLayout(self.topMenu)
  665. self.verticalLayout_8.setSpacing(0)
  666. self.verticalLayout_8.setObjectName(u"verticalLayout_8")
  667. self.verticalLayout_8.setContentsMargins(0, 0, 0, 0)
  668. self.btn_home = QPushButton(self.topMenu)
  669. self.btn_home.setObjectName(u"btn_home")
  670. sizePolicy.setHeightForWidth(self.btn_home.sizePolicy().hasHeightForWidth())
  671. self.btn_home.setSizePolicy(sizePolicy)
  672. self.btn_home.setMinimumSize(QSize(0, 45))
  673. self.btn_home.setFont(font)
  674. self.btn_home.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  675. self.btn_home.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  676. self.btn_home.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-home.png);")
  677. self.verticalLayout_8.addWidget(self.btn_home)
  678. self.btn_widgets = QPushButton(self.topMenu)
  679. self.btn_widgets.setObjectName(u"btn_widgets")
  680. sizePolicy.setHeightForWidth(self.btn_widgets.sizePolicy().hasHeightForWidth())
  681. self.btn_widgets.setSizePolicy(sizePolicy)
  682. self.btn_widgets.setMinimumSize(QSize(0, 45))
  683. self.btn_widgets.setFont(font)
  684. self.btn_widgets.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  685. self.btn_widgets.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  686. self.btn_widgets.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-chart.png);")
  687. self.verticalLayout_8.addWidget(self.btn_widgets)
  688. self.btn_new = QPushButton(self.topMenu)
  689. self.btn_new.setObjectName(u"btn_new")
  690. sizePolicy.setHeightForWidth(self.btn_new.sizePolicy().hasHeightForWidth())
  691. self.btn_new.setSizePolicy(sizePolicy)
  692. self.btn_new.setMinimumSize(QSize(0, 45))
  693. self.btn_new.setFont(font)
  694. self.btn_new.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  695. self.btn_new.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  696. self.btn_new.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-laptop.png);")
  697. self.verticalLayout_8.addWidget(self.btn_new)
  698. self.btn_data = QPushButton(self.topMenu)
  699. self.btn_data.setObjectName(u"btn_data")
  700. sizePolicy.setHeightForWidth(self.btn_data.sizePolicy().hasHeightForWidth())
  701. self.btn_data.setSizePolicy(sizePolicy)
  702. self.btn_data.setMinimumSize(QSize(0, 45))
  703. self.btn_data.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  704. self.btn_data.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-library.png);")
  705. self.verticalLayout_8.addWidget(self.btn_data)
  706. self.verticalMenuLayout.addWidget(self.topMenu, 0, Qt.AlignmentFlag.AlignTop)
  707. self.bottomMenu = QFrame(self.leftMenuFrame)
  708. self.bottomMenu.setObjectName(u"bottomMenu")
  709. self.bottomMenu.setFrameShape(QFrame.Shape.NoFrame)
  710. self.bottomMenu.setFrameShadow(QFrame.Shadow.Raised)
  711. self.verticalLayout_9 = QVBoxLayout(self.bottomMenu)
  712. self.verticalLayout_9.setSpacing(0)
  713. self.verticalLayout_9.setObjectName(u"verticalLayout_9")
  714. self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
  715. self.verticalMenuLayout.addWidget(self.bottomMenu, 0, Qt.AlignmentFlag.AlignBottom)
  716. self.verticalLayout_3.addWidget(self.leftMenuFrame)
  717. self.appLayout.addWidget(self.leftMenuBg)
  718. self.extraLeftBox = QFrame(self.bgApp)
  719. self.extraLeftBox.setObjectName(u"extraLeftBox")
  720. self.extraLeftBox.setMinimumSize(QSize(0, 0))
  721. self.extraLeftBox.setMaximumSize(QSize(0, 16777215))
  722. self.extraLeftBox.setFrameShape(QFrame.Shape.NoFrame)
  723. self.extraLeftBox.setFrameShadow(QFrame.Shadow.Raised)
  724. self.extraColumLayout = QVBoxLayout(self.extraLeftBox)
  725. self.extraColumLayout.setSpacing(0)
  726. self.extraColumLayout.setObjectName(u"extraColumLayout")
  727. self.extraColumLayout.setContentsMargins(0, 0, 0, 0)
  728. self.extraTopBg = QFrame(self.extraLeftBox)
  729. self.extraTopBg.setObjectName(u"extraTopBg")
  730. self.extraTopBg.setMinimumSize(QSize(0, 50))
  731. self.extraTopBg.setMaximumSize(QSize(16777215, 50))
  732. self.extraTopBg.setFrameShape(QFrame.Shape.NoFrame)
  733. self.extraTopBg.setFrameShadow(QFrame.Shadow.Raised)
  734. self.verticalLayout_5 = QVBoxLayout(self.extraTopBg)
  735. self.verticalLayout_5.setSpacing(0)
  736. self.verticalLayout_5.setObjectName(u"verticalLayout_5")
  737. self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
  738. self.extraTopLayout = QGridLayout()
  739. self.extraTopLayout.setObjectName(u"extraTopLayout")
  740. self.extraTopLayout.setHorizontalSpacing(10)
  741. self.extraTopLayout.setVerticalSpacing(0)
  742. self.extraTopLayout.setContentsMargins(10, -1, 10, -1)
  743. self.extraIcon = QFrame(self.extraTopBg)
  744. self.extraIcon.setObjectName(u"extraIcon")
  745. self.extraIcon.setMinimumSize(QSize(20, 0))
  746. self.extraIcon.setMaximumSize(QSize(20, 20))
  747. self.extraIcon.setFrameShape(QFrame.Shape.NoFrame)
  748. self.extraIcon.setFrameShadow(QFrame.Shadow.Raised)
  749. self.extraTopLayout.addWidget(self.extraIcon, 0, 0, 1, 1)
  750. self.extraLabel = QLabel(self.extraTopBg)
  751. self.extraLabel.setObjectName(u"extraLabel")
  752. self.extraLabel.setMinimumSize(QSize(150, 0))
  753. self.extraTopLayout.addWidget(self.extraLabel, 0, 1, 1, 1)
  754. self.extraCloseColumnBtn = QPushButton(self.extraTopBg)
  755. self.extraCloseColumnBtn.setObjectName(u"extraCloseColumnBtn")
  756. self.extraCloseColumnBtn.setMinimumSize(QSize(28, 28))
  757. self.extraCloseColumnBtn.setMaximumSize(QSize(28, 28))
  758. self.extraCloseColumnBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  759. icon = QIcon()
  760. icon.addFile(u":/icons/images/icons/icon_close.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  761. self.extraCloseColumnBtn.setIcon(icon)
  762. self.extraCloseColumnBtn.setIconSize(QSize(20, 20))
  763. self.extraTopLayout.addWidget(self.extraCloseColumnBtn, 0, 2, 1, 1)
  764. self.verticalLayout_5.addLayout(self.extraTopLayout)
  765. self.extraColumLayout.addWidget(self.extraTopBg)
  766. self.extraContent = QFrame(self.extraLeftBox)
  767. self.extraContent.setObjectName(u"extraContent")
  768. self.extraContent.setFrameShape(QFrame.Shape.NoFrame)
  769. self.extraContent.setFrameShadow(QFrame.Shadow.Raised)
  770. self.verticalLayout_12 = QVBoxLayout(self.extraContent)
  771. self.verticalLayout_12.setSpacing(0)
  772. self.verticalLayout_12.setObjectName(u"verticalLayout_12")
  773. self.verticalLayout_12.setContentsMargins(0, 0, 0, 0)
  774. self.extraTopMenu = QFrame(self.extraContent)
  775. self.extraTopMenu.setObjectName(u"extraTopMenu")
  776. self.extraTopMenu.setFrameShape(QFrame.Shape.NoFrame)
  777. self.extraTopMenu.setFrameShadow(QFrame.Shadow.Raised)
  778. self.verticalLayout_11 = QVBoxLayout(self.extraTopMenu)
  779. self.verticalLayout_11.setSpacing(0)
  780. self.verticalLayout_11.setObjectName(u"verticalLayout_11")
  781. self.verticalLayout_11.setContentsMargins(0, 0, 0, 0)
  782. self.btn_share = QPushButton(self.extraTopMenu)
  783. self.btn_share.setObjectName(u"btn_share")
  784. sizePolicy.setHeightForWidth(self.btn_share.sizePolicy().hasHeightForWidth())
  785. self.btn_share.setSizePolicy(sizePolicy)
  786. self.btn_share.setMinimumSize(QSize(0, 45))
  787. self.btn_share.setFont(font)
  788. self.btn_share.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  789. self.btn_share.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  790. self.btn_share.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-share-boxed.png);")
  791. self.verticalLayout_11.addWidget(self.btn_share)
  792. self.btn_adjustments = QPushButton(self.extraTopMenu)
  793. self.btn_adjustments.setObjectName(u"btn_adjustments")
  794. sizePolicy.setHeightForWidth(self.btn_adjustments.sizePolicy().hasHeightForWidth())
  795. self.btn_adjustments.setSizePolicy(sizePolicy)
  796. self.btn_adjustments.setMinimumSize(QSize(0, 45))
  797. self.btn_adjustments.setFont(font)
  798. self.btn_adjustments.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  799. self.btn_adjustments.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  800. self.btn_adjustments.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-equalizer.png);")
  801. self.verticalLayout_11.addWidget(self.btn_adjustments)
  802. self.btn_more = QPushButton(self.extraTopMenu)
  803. self.btn_more.setObjectName(u"btn_more")
  804. sizePolicy.setHeightForWidth(self.btn_more.sizePolicy().hasHeightForWidth())
  805. self.btn_more.setSizePolicy(sizePolicy)
  806. self.btn_more.setMinimumSize(QSize(0, 45))
  807. self.btn_more.setFont(font)
  808. self.btn_more.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  809. self.btn_more.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  810. self.btn_more.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-layers.png);")
  811. self.verticalLayout_11.addWidget(self.btn_more)
  812. self.verticalLayout_12.addWidget(self.extraTopMenu, 0, Qt.AlignmentFlag.AlignTop)
  813. self.extraCenter = QFrame(self.extraContent)
  814. self.extraCenter.setObjectName(u"extraCenter")
  815. self.extraCenter.setFrameShape(QFrame.Shape.NoFrame)
  816. self.extraCenter.setFrameShadow(QFrame.Shadow.Raised)
  817. self.verticalLayout_10 = QVBoxLayout(self.extraCenter)
  818. self.verticalLayout_10.setObjectName(u"verticalLayout_10")
  819. self.textEdit = QTextEdit(self.extraCenter)
  820. self.textEdit.setObjectName(u"textEdit")
  821. self.textEdit.setMinimumSize(QSize(222, 0))
  822. self.textEdit.setStyleSheet(u"background: transparent;")
  823. self.textEdit.setFrameShape(QFrame.Shape.NoFrame)
  824. self.textEdit.setReadOnly(True)
  825. self.verticalLayout_10.addWidget(self.textEdit)
  826. self.verticalLayout_12.addWidget(self.extraCenter)
  827. self.extraBottom = QFrame(self.extraContent)
  828. self.extraBottom.setObjectName(u"extraBottom")
  829. self.extraBottom.setFrameShape(QFrame.Shape.NoFrame)
  830. self.extraBottom.setFrameShadow(QFrame.Shadow.Raised)
  831. self.verticalLayout_12.addWidget(self.extraBottom)
  832. self.extraColumLayout.addWidget(self.extraContent)
  833. self.appLayout.addWidget(self.extraLeftBox)
  834. self.contentBox = QFrame(self.bgApp)
  835. self.contentBox.setObjectName(u"contentBox")
  836. self.contentBox.setFrameShape(QFrame.Shape.NoFrame)
  837. self.contentBox.setFrameShadow(QFrame.Shadow.Raised)
  838. self.verticalLayout_2 = QVBoxLayout(self.contentBox)
  839. self.verticalLayout_2.setSpacing(0)
  840. self.verticalLayout_2.setObjectName(u"verticalLayout_2")
  841. self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
  842. self.contentTopBg = QFrame(self.contentBox)
  843. self.contentTopBg.setObjectName(u"contentTopBg")
  844. self.contentTopBg.setMinimumSize(QSize(0, 50))
  845. self.contentTopBg.setMaximumSize(QSize(16777215, 50))
  846. self.contentTopBg.setFrameShape(QFrame.Shape.NoFrame)
  847. self.contentTopBg.setFrameShadow(QFrame.Shadow.Raised)
  848. self.horizontalLayout = QHBoxLayout(self.contentTopBg)
  849. self.horizontalLayout.setSpacing(0)
  850. self.horizontalLayout.setObjectName(u"horizontalLayout")
  851. self.horizontalLayout.setContentsMargins(0, 0, 10, 0)
  852. self.leftBox = QFrame(self.contentTopBg)
  853. self.leftBox.setObjectName(u"leftBox")
  854. sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred)
  855. sizePolicy1.setHorizontalStretch(0)
  856. sizePolicy1.setVerticalStretch(0)
  857. sizePolicy1.setHeightForWidth(self.leftBox.sizePolicy().hasHeightForWidth())
  858. self.leftBox.setSizePolicy(sizePolicy1)
  859. self.leftBox.setFrameShape(QFrame.Shape.NoFrame)
  860. self.leftBox.setFrameShadow(QFrame.Shadow.Raised)
  861. self.horizontalLayout_3 = QHBoxLayout(self.leftBox)
  862. self.horizontalLayout_3.setSpacing(0)
  863. self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
  864. self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
  865. self.titleRightInfo = QLabel(self.leftBox)
  866. self.titleRightInfo.setObjectName(u"titleRightInfo")
  867. sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Expanding)
  868. sizePolicy2.setHorizontalStretch(0)
  869. sizePolicy2.setVerticalStretch(0)
  870. sizePolicy2.setHeightForWidth(self.titleRightInfo.sizePolicy().hasHeightForWidth())
  871. self.titleRightInfo.setSizePolicy(sizePolicy2)
  872. self.titleRightInfo.setMaximumSize(QSize(16777215, 45))
  873. self.titleRightInfo.setFont(font)
  874. self.titleRightInfo.setAlignment(
  875. Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignVCenter)
  876. self.horizontalLayout_3.addWidget(self.titleRightInfo)
  877. self.horizontalLayout.addWidget(self.leftBox)
  878. self.rightButtons = QFrame(self.contentTopBg)
  879. self.rightButtons.setObjectName(u"rightButtons")
  880. self.rightButtons.setMinimumSize(QSize(0, 28))
  881. self.rightButtons.setFrameShape(QFrame.Shape.NoFrame)
  882. self.rightButtons.setFrameShadow(QFrame.Shadow.Raised)
  883. self.horizontalLayout_2 = QHBoxLayout(self.rightButtons)
  884. self.horizontalLayout_2.setSpacing(5)
  885. self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
  886. self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
  887. self.settingsTopBtn = QPushButton(self.rightButtons)
  888. self.settingsTopBtn.setObjectName(u"settingsTopBtn")
  889. self.settingsTopBtn.setMinimumSize(QSize(28, 28))
  890. self.settingsTopBtn.setMaximumSize(QSize(28, 28))
  891. self.settingsTopBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  892. icon1 = QIcon()
  893. icon1.addFile(u":/icons/images/icons/icon_settings.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  894. self.settingsTopBtn.setIcon(icon1)
  895. self.settingsTopBtn.setIconSize(QSize(20, 20))
  896. self.horizontalLayout_2.addWidget(self.settingsTopBtn)
  897. self.minimizeAppBtn = QPushButton(self.rightButtons)
  898. self.minimizeAppBtn.setObjectName(u"minimizeAppBtn")
  899. self.minimizeAppBtn.setMinimumSize(QSize(28, 28))
  900. self.minimizeAppBtn.setMaximumSize(QSize(28, 28))
  901. self.minimizeAppBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  902. icon2 = QIcon()
  903. icon2.addFile(u":/icons/images/icons/icon_minimize.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  904. self.minimizeAppBtn.setIcon(icon2)
  905. self.minimizeAppBtn.setIconSize(QSize(20, 20))
  906. self.horizontalLayout_2.addWidget(self.minimizeAppBtn)
  907. self.maximizeRestoreAppBtn = QPushButton(self.rightButtons)
  908. self.maximizeRestoreAppBtn.setObjectName(u"maximizeRestoreAppBtn")
  909. self.maximizeRestoreAppBtn.setMinimumSize(QSize(28, 28))
  910. self.maximizeRestoreAppBtn.setMaximumSize(QSize(28, 28))
  911. font3 = QFont()
  912. font3.setFamilies([u"Segoe UI"])
  913. font3.setPointSize(10)
  914. font3.setBold(False)
  915. font3.setItalic(False)
  916. font3.setStyleStrategy(QFont.PreferDefault)
  917. self.maximizeRestoreAppBtn.setFont(font3)
  918. self.maximizeRestoreAppBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  919. icon3 = QIcon()
  920. icon3.addFile(u":/icons/images/icons/icon_maximize.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  921. self.maximizeRestoreAppBtn.setIcon(icon3)
  922. self.maximizeRestoreAppBtn.setIconSize(QSize(20, 20))
  923. self.horizontalLayout_2.addWidget(self.maximizeRestoreAppBtn)
  924. self.closeAppBtn = QPushButton(self.rightButtons)
  925. self.closeAppBtn.setObjectName(u"closeAppBtn")
  926. self.closeAppBtn.setMinimumSize(QSize(28, 28))
  927. self.closeAppBtn.setMaximumSize(QSize(28, 28))
  928. self.closeAppBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  929. self.closeAppBtn.setIcon(icon)
  930. self.closeAppBtn.setIconSize(QSize(20, 20))
  931. self.horizontalLayout_2.addWidget(self.closeAppBtn)
  932. self.horizontalLayout.addWidget(self.rightButtons, 0, Qt.AlignmentFlag.AlignRight)
  933. self.verticalLayout_2.addWidget(self.contentTopBg)
  934. self.contentBottom = QFrame(self.contentBox)
  935. self.contentBottom.setObjectName(u"contentBottom")
  936. self.contentBottom.setFrameShape(QFrame.Shape.NoFrame)
  937. self.contentBottom.setFrameShadow(QFrame.Shadow.Raised)
  938. self.verticalLayout_6 = QVBoxLayout(self.contentBottom)
  939. self.verticalLayout_6.setSpacing(0)
  940. self.verticalLayout_6.setObjectName(u"verticalLayout_6")
  941. self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
  942. self.content = QFrame(self.contentBottom)
  943. self.content.setObjectName(u"content")
  944. self.content.setFrameShape(QFrame.Shape.NoFrame)
  945. self.content.setFrameShadow(QFrame.Shadow.Raised)
  946. self.horizontalLayout_4 = QHBoxLayout(self.content)
  947. self.horizontalLayout_4.setSpacing(0)
  948. self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
  949. self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
  950. self.pagesContainer = QFrame(self.content)
  951. self.pagesContainer.setObjectName(u"pagesContainer")
  952. self.pagesContainer.setStyleSheet(u"")
  953. self.pagesContainer.setFrameShape(QFrame.Shape.NoFrame)
  954. self.pagesContainer.setFrameShadow(QFrame.Shadow.Raised)
  955. self.gridLayout_3 = QGridLayout(self.pagesContainer)
  956. self.gridLayout_3.setObjectName(u"gridLayout_3")
  957. self.gridLayout_3.setContentsMargins(10, 10, 10, 10)
  958. self.stackedWidget = QStackedWidget(self.pagesContainer)
  959. self.stackedWidget.setObjectName(u"stackedWidget")
  960. sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
  961. sizePolicy3.setHorizontalStretch(0)
  962. sizePolicy3.setVerticalStretch(0)
  963. sizePolicy3.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth())
  964. self.stackedWidget.setSizePolicy(sizePolicy3)
  965. self.stackedWidget.setStyleSheet(u"background: transparent;")
  966. self.stackedWidget.setFrameShadow(QFrame.Shadow.Plain)
  967. self.stackedWidget.setLineWidth(1)
  968. self.home = QWidget()
  969. self.home.setObjectName(u"home")
  970. self.home.setStyleSheet(u"")
  971. self.verticalLayout_15 = QVBoxLayout(self.home)
  972. self.verticalLayout_15.setObjectName(u"verticalLayout_15")
  973. self.verticalLayout_21 = QVBoxLayout()
  974. self.verticalLayout_21.setObjectName(u"verticalLayout_21")
  975. self.title_func = QLabel(self.home)
  976. self.title_func.setObjectName(u"title_func")
  977. self.title_func.setMaximumSize(QSize(16777215, 35))
  978. self.title_func.setFont(font)
  979. self.verticalLayout_21.addWidget(self.title_func)
  980. self.horizontalLayout_13 = QHBoxLayout()
  981. self.horizontalLayout_13.setSpacing(60)
  982. self.horizontalLayout_13.setObjectName(u"horizontalLayout_13")
  983. self.process_1 = QVBoxLayout()
  984. self.process_1.setObjectName(u"process_1")
  985. self.frame = QFrame(self.home)
  986. self.frame.setObjectName(u"frame")
  987. self.frame.setFrameShape(QFrame.Shape.StyledPanel)
  988. self.frame.setFrameShadow(QFrame.Shadow.Plain)
  989. self.frame.setLineWidth(1)
  990. self.layoutWidget = QWidget(self.frame)
  991. self.layoutWidget.setObjectName(u"layoutWidget")
  992. self.layoutWidget.setGeometry(QRect(0, 0, 161, 41))
  993. self.horizontalLayout_6 = QHBoxLayout(self.layoutWidget)
  994. self.horizontalLayout_6.setSpacing(10)
  995. self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
  996. self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
  997. self.num_1 = QLabel(self.layoutWidget)
  998. self.num_1.setObjectName(u"num_1")
  999. self.num_1.setMaximumSize(QSize(25, 25))
  1000. self.num_1.setStyleSheet(u"background-image: url(:/icons/images/icons/No1.png);\n"
  1001. "background-repeat:no-repeat")
  1002. self.horizontalLayout_6.addWidget(self.num_1)
  1003. self.text_1 = QLabel(self.layoutWidget)
  1004. self.text_1.setObjectName(u"text_1")
  1005. self.text_1.setMaximumSize(QSize(60, 27))
  1006. self.horizontalLayout_6.addWidget(self.text_1)
  1007. self.description1 = QLabel(self.frame)
  1008. self.description1.setObjectName(u"description1")
  1009. self.description1.setGeometry(QRect(35, 145, 91, 36))
  1010. self.description1.setAlignment(Qt.AlignmentFlag.AlignCenter)
  1011. self.description1.setWordWrap(True)
  1012. self.img_1 = QLabel(self.frame)
  1013. self.img_1.setObjectName(u"img_1")
  1014. self.img_1.setGeometry(QRect(45, 50, 71, 81))
  1015. self.img_1.setStyleSheet(u"background-image: url(:/icons/images/icons/excel.png);\n"
  1016. "background-repeat:no-repeat;\n"
  1017. "")
  1018. self.process_1.addWidget(self.frame)
  1019. self.horizontalLayout_13.addLayout(self.process_1)
  1020. self.process_2 = QVBoxLayout()
  1021. self.process_2.setObjectName(u"process_2")
  1022. self.frame_2 = QFrame(self.home)
  1023. self.frame_2.setObjectName(u"frame_2")
  1024. self.frame_2.setFrameShape(QFrame.Shape.StyledPanel)
  1025. self.frame_2.setFrameShadow(QFrame.Shadow.Plain)
  1026. self.layoutWidget_3 = QWidget(self.frame_2)
  1027. self.layoutWidget_3.setObjectName(u"layoutWidget_3")
  1028. self.layoutWidget_3.setGeometry(QRect(0, 0, 161, 41))
  1029. self.horizontalLayout_7 = QHBoxLayout(self.layoutWidget_3)
  1030. self.horizontalLayout_7.setSpacing(10)
  1031. self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
  1032. self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0)
  1033. self.num_2 = QLabel(self.layoutWidget_3)
  1034. self.num_2.setObjectName(u"num_2")
  1035. self.num_2.setMaximumSize(QSize(25, 25))
  1036. self.num_2.setStyleSheet(u"background-image: url(:/icons/images/icons/No2.png);\n"
  1037. "background-repeat:no-repeat")
  1038. self.horizontalLayout_7.addWidget(self.num_2)
  1039. self.text_2 = QLabel(self.layoutWidget_3)
  1040. self.text_2.setObjectName(u"text_2")
  1041. self.text_2.setMaximumSize(QSize(60, 27))
  1042. self.horizontalLayout_7.addWidget(self.text_2)
  1043. self.description1_2 = QLabel(self.frame_2)
  1044. self.description1_2.setObjectName(u"description1_2")
  1045. self.description1_2.setGeometry(QRect(25, 140, 111, 61))
  1046. self.description1_2.setAlignment(Qt.AlignmentFlag.AlignCenter)
  1047. self.description1_2.setWordWrap(True)
  1048. self.img_2 = QLabel(self.frame_2)
  1049. self.img_2.setObjectName(u"img_2")
  1050. self.img_2.setGeometry(QRect(45, 50, 81, 71))
  1051. self.img_2.setStyleSheet(u"background-image: url(:/icons/images/icons/view.png);\n"
  1052. "background-repeat:no-repeat;")
  1053. self.process_2.addWidget(self.frame_2)
  1054. self.horizontalLayout_13.addLayout(self.process_2)
  1055. self.process_3 = QVBoxLayout()
  1056. self.process_3.setObjectName(u"process_3")
  1057. self.frame_3 = QFrame(self.home)
  1058. self.frame_3.setObjectName(u"frame_3")
  1059. self.frame_3.setFrameShape(QFrame.Shape.StyledPanel)
  1060. self.frame_3.setFrameShadow(QFrame.Shadow.Plain)
  1061. self.layoutWidget_5 = QWidget(self.frame_3)
  1062. self.layoutWidget_5.setObjectName(u"layoutWidget_5")
  1063. self.layoutWidget_5.setGeometry(QRect(0, 0, 161, 41))
  1064. self.horizontalLayout_8 = QHBoxLayout(self.layoutWidget_5)
  1065. self.horizontalLayout_8.setSpacing(10)
  1066. self.horizontalLayout_8.setObjectName(u"horizontalLayout_8")
  1067. self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
  1068. self.num_3 = QLabel(self.layoutWidget_5)
  1069. self.num_3.setObjectName(u"num_3")
  1070. self.num_3.setMaximumSize(QSize(25, 25))
  1071. self.num_3.setStyleSheet(u"background-image: url(:/icons/images/icons/No3.png);\n"
  1072. "background-repeat:no-repeat")
  1073. self.horizontalLayout_8.addWidget(self.num_3)
  1074. self.text_3 = QLabel(self.layoutWidget_5)
  1075. self.text_3.setObjectName(u"text_3")
  1076. self.text_3.setMaximumSize(QSize(60, 27))
  1077. self.horizontalLayout_8.addWidget(self.text_3)
  1078. self.description1_3 = QLabel(self.frame_3)
  1079. self.description1_3.setObjectName(u"description1_3")
  1080. self.description1_3.setGeometry(QRect(20, 139, 121, 61))
  1081. self.description1_3.setAlignment(Qt.AlignmentFlag.AlignCenter)
  1082. self.description1_3.setWordWrap(True)
  1083. self.img_3 = QLabel(self.frame_3)
  1084. self.img_3.setObjectName(u"img_3")
  1085. self.img_3.setGeometry(QRect(45, 50, 71, 81))
  1086. self.img_3.setStyleSheet(u"background-image: url(:/icons/images/icons/data.png);\n"
  1087. "background-repeat:no-repeat;")
  1088. self.process_3.addWidget(self.frame_3)
  1089. self.horizontalLayout_13.addLayout(self.process_3)
  1090. self.process_4 = QVBoxLayout()
  1091. self.process_4.setObjectName(u"process_4")
  1092. self.frame_4 = QFrame(self.home)
  1093. self.frame_4.setObjectName(u"frame_4")
  1094. self.frame_4.setFrameShape(QFrame.Shape.StyledPanel)
  1095. self.frame_4.setFrameShadow(QFrame.Shadow.Plain)
  1096. self.layoutWidget_7 = QWidget(self.frame_4)
  1097. self.layoutWidget_7.setObjectName(u"layoutWidget_7")
  1098. self.layoutWidget_7.setGeometry(QRect(0, 0, 161, 41))
  1099. self.horizontalLayout_10 = QHBoxLayout(self.layoutWidget_7)
  1100. self.horizontalLayout_10.setSpacing(10)
  1101. self.horizontalLayout_10.setObjectName(u"horizontalLayout_10")
  1102. self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0)
  1103. self.num_4 = QLabel(self.layoutWidget_7)
  1104. self.num_4.setObjectName(u"num_4")
  1105. self.num_4.setMaximumSize(QSize(25, 25))
  1106. self.num_4.setStyleSheet(u"background-image: url(:/icons/images/icons/No4.png);\n"
  1107. "background-repeat:no-repeat")
  1108. self.horizontalLayout_10.addWidget(self.num_4)
  1109. self.text_4 = QLabel(self.layoutWidget_7)
  1110. self.text_4.setObjectName(u"text_4")
  1111. self.text_4.setMaximumSize(QSize(60, 27))
  1112. self.horizontalLayout_10.addWidget(self.text_4)
  1113. self.description1_4 = QLabel(self.frame_4)
  1114. self.description1_4.setObjectName(u"description1_4")
  1115. self.description1_4.setGeometry(QRect(23, 138, 111, 61))
  1116. self.description1_4.setAlignment(Qt.AlignmentFlag.AlignCenter)
  1117. self.description1_4.setWordWrap(True)
  1118. self.img_4 = QLabel(self.frame_4)
  1119. self.img_4.setObjectName(u"img_4")
  1120. self.img_4.setGeometry(QRect(40, 50, 71, 81))
  1121. self.img_4.setStyleSheet(u"background-image: url(:/icons/images/icons/save.png);\n"
  1122. "background-repeat:no-repeat;")
  1123. self.process_4.addWidget(self.frame_4)
  1124. self.horizontalLayout_13.addLayout(self.process_4)
  1125. self.verticalLayout_21.addLayout(self.horizontalLayout_13)
  1126. self.frame_5 = QFrame(self.home)
  1127. self.frame_5.setObjectName(u"frame_5")
  1128. self.frame_5.setFrameShape(QFrame.Shape.StyledPanel)
  1129. self.frame_5.setFrameShadow(QFrame.Shadow.Sunken)
  1130. self.frame_5.setLineWidth(1)
  1131. self.frame_5.setMidLineWidth(0)
  1132. self.label_2 = QLabel(self.frame_5)
  1133. self.label_2.setObjectName(u"label_2")
  1134. self.label_2.setGeometry(QRect(10, 10, 61, 21))
  1135. self.label_3 = QLabel(self.frame_5)
  1136. self.label_3.setObjectName(u"label_3")
  1137. self.label_3.setGeometry(QRect(13, 35, 761, 181))
  1138. self.label_3.setWordWrap(True)
  1139. self.verticalLayout_21.addWidget(self.frame_5)
  1140. self.verticalLayout_15.addLayout(self.verticalLayout_21)
  1141. self.stackedWidget.addWidget(self.home)
  1142. self.widgets = QWidget()
  1143. self.widgets.setObjectName(u"widgets")
  1144. self.widgets.setStyleSheet(u"b")
  1145. self.verticalLayout = QVBoxLayout(self.widgets)
  1146. self.verticalLayout.setSpacing(20)
  1147. self.verticalLayout.setObjectName(u"verticalLayout")
  1148. self.verticalLayout.setContentsMargins(10, 10, 10, 10)
  1149. self.row_1 = QFrame(self.widgets)
  1150. self.row_1.setObjectName(u"row_1")
  1151. self.row_1.setMinimumSize(QSize(0, 0))
  1152. self.row_1.setMaximumSize(QSize(16777215, 113))
  1153. self.row_1.setFrameShape(QFrame.Shape.StyledPanel)
  1154. self.row_1.setFrameShadow(QFrame.Shadow.Raised)
  1155. self.verticalLayout_16 = QVBoxLayout(self.row_1)
  1156. self.verticalLayout_16.setSpacing(0)
  1157. self.verticalLayout_16.setObjectName(u"verticalLayout_16")
  1158. self.verticalLayout_16.setContentsMargins(0, 0, 0, 0)
  1159. self.frame_div_content_1 = QFrame(self.row_1)
  1160. self.frame_div_content_1.setObjectName(u"frame_div_content_1")
  1161. self.frame_div_content_1.setMinimumSize(QSize(0, 110))
  1162. self.frame_div_content_1.setMaximumSize(QSize(16777215, 110))
  1163. self.frame_div_content_1.setFrameShape(QFrame.Shape.NoFrame)
  1164. self.frame_div_content_1.setFrameShadow(QFrame.Shadow.Raised)
  1165. self.verticalLayout_17 = QVBoxLayout(self.frame_div_content_1)
  1166. self.verticalLayout_17.setSpacing(0)
  1167. self.verticalLayout_17.setObjectName(u"verticalLayout_17")
  1168. self.verticalLayout_17.setContentsMargins(0, 0, 0, 0)
  1169. self.frame_title_wid_1 = QFrame(self.frame_div_content_1)
  1170. self.frame_title_wid_1.setObjectName(u"frame_title_wid_1")
  1171. self.frame_title_wid_1.setMaximumSize(QSize(16777215, 34))
  1172. self.frame_title_wid_1.setFrameShape(QFrame.Shape.NoFrame)
  1173. self.frame_title_wid_1.setFrameShadow(QFrame.Shadow.Raised)
  1174. self.verticalLayout_18 = QVBoxLayout(self.frame_title_wid_1)
  1175. self.verticalLayout_18.setObjectName(u"verticalLayout_18")
  1176. self.labelBoxBlenderInstalation = QLabel(self.frame_title_wid_1)
  1177. self.labelBoxBlenderInstalation.setObjectName(u"labelBoxBlenderInstalation")
  1178. self.labelBoxBlenderInstalation.setFont(font)
  1179. self.labelBoxBlenderInstalation.setStyleSheet(u"")
  1180. self.verticalLayout_18.addWidget(self.labelBoxBlenderInstalation)
  1181. self.verticalLayout_17.addWidget(self.frame_title_wid_1)
  1182. self.frame_content_wid_1 = QFrame(self.frame_div_content_1)
  1183. self.frame_content_wid_1.setObjectName(u"frame_content_wid_1")
  1184. self.frame_content_wid_1.setMinimumSize(QSize(0, 65))
  1185. self.frame_content_wid_1.setMaximumSize(QSize(16777215, 300))
  1186. self.frame_content_wid_1.setFrameShape(QFrame.Shape.NoFrame)
  1187. self.frame_content_wid_1.setFrameShadow(QFrame.Shadow.Raised)
  1188. self.horizontalLayout_9 = QHBoxLayout(self.frame_content_wid_1)
  1189. self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
  1190. self.gridLayout = QGridLayout()
  1191. self.gridLayout.setObjectName(u"gridLayout")
  1192. self.gridLayout.setHorizontalSpacing(7)
  1193. self.gridLayout.setVerticalSpacing(4)
  1194. self.gridLayout.setContentsMargins(-1, -1, -1, 0)
  1195. self.label = QLabel(self.frame_content_wid_1)
  1196. self.label.setObjectName(u"label")
  1197. self.label.setMaximumSize(QSize(60, 16777215))
  1198. self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
  1199. self.comboBox = QComboBox(self.frame_content_wid_1)
  1200. self.comboBox.setObjectName(u"comboBox")
  1201. self.comboBox.setMaximumSize(QSize(350, 16777215))
  1202. self.comboBox.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1203. self.comboBox.setStyleSheet(u"QComboBox QAbstractItemView {\n"
  1204. " border: 2px solid #282c34;\n"
  1205. " background-color: rgba(40, 44, 52,.7);\n"
  1206. " border-radius-bottom: 15px;\n"
  1207. " padding: 1px 2px 1px 2px; \n"
  1208. " min-width: 9em; \n"
  1209. "}\n"
  1210. "")
  1211. # 获取当前脚本所在的目录
  1212. current_dir = os.path.dirname(os.path.abspath(__file__))
  1213. # 构建 SQL 文件夹的相对路径(上一级的上一级中的 SQL 文件夹)
  1214. sql_folder = os.path.join(current_dir, '..', '..', 'SQL')
  1215. # 将相对路径转换为绝对路径
  1216. sql_folder = os.path.abspath(sql_folder)
  1217. # 确保 SQL 文件夹存在
  1218. if not os.path.exists(sql_folder):
  1219. QMessageBox.critical(MainWindow, "错误", "项目文件夹不存在")
  1220. return
  1221. # 初始化 ComboBoxUpdater
  1222. self.updater = ComboBoxUpdater(self.comboBox, sql_folder)
  1223. self.observer = Observer()
  1224. self.observer.schedule(self.updater, path=sql_folder, recursive=False)
  1225. self.observer.start()
  1226. # 更新 comboBox 的初始内容
  1227. self.updater.update_combo_box()
  1228. self.gridLayout.addWidget(self.comboBox, 0, 1, 1, 1)
  1229. self.lineEdit = QLineEdit(self.frame_content_wid_1)
  1230. self.lineEdit.setObjectName(u"lineEdit")
  1231. self.lineEdit.setMinimumSize(QSize(0, 25))
  1232. self.lineEdit.setMaximumSize(QSize(250, 35))
  1233. self.lineEdit.setStyleSheet(u"background-color: rgb(33, 37, 43);")
  1234. self.gridLayout.addWidget(self.lineEdit, 0, 2, 1, 1)
  1235. self.createFile = QPushButton(self.frame_content_wid_1)
  1236. self.createFile.setObjectName(u"createFile")
  1237. self.createFile.setMinimumSize(QSize(150, 26))
  1238. self.createFile.setMaximumSize(QSize(60, 16777215))
  1239. self.createFile.setFont(font)
  1240. self.createFile.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1241. self.createFile.setStyleSheet(u"background-color: rgb(52, 59, 72);")
  1242. # 将 createFile 按钮的点击事件与 自身的create_database_and_tables 函数关联,用于创建数据库
  1243. # self.createFile.clicked.connect(create_database_and_tables)
  1244. icon4 = QIcon()
  1245. icon4.addFile(u":/icons/images/icons/cil-folder-open.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1246. self.createFile.setIcon(icon4)
  1247. self.gridLayout.addWidget(self.createFile, 0, 3, 1, 1)
  1248. self.label_4 = QLabel(self.frame_content_wid_1)
  1249. self.label_4.setObjectName(u"label_4")
  1250. self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
  1251. self.comboBox_2 = QComboBox(self.frame_content_wid_1)
  1252. self.comboBox_2.addItem("")
  1253. self.comboBox_2.addItem("")
  1254. self.comboBox_2.addItem("")
  1255. self.comboBox_2.setObjectName(u"comboBox_2")
  1256. # self.comboBox_2.currentTextChanged.connect(lambda: print(self.comboBox_2.currentText())) # 确定下拉框选择
  1257. self.comboBox_2.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1258. self.comboBox_2.setStyleSheet(u"QComboBox QAbstractItemView {\n"
  1259. " border: 2px solid #282c34;\n"
  1260. " background-color: rgba(40, 44, 52,.7);\n"
  1261. " border-radius-bottom: 15px;\n"
  1262. " padding: 1px 2px 1px 2px; \n"
  1263. " min-width: 9em; \n"
  1264. "}")
  1265. self.gridLayout.addWidget(self.comboBox_2, 1, 1, 1, 1)
  1266. self.horizontalLayout_9.addLayout(self.gridLayout)
  1267. self.verticalLayout_17.addWidget(self.frame_content_wid_1)
  1268. self.verticalLayout_16.addWidget(self.frame_div_content_1)
  1269. self.verticalLayout.addWidget(self.row_1)
  1270. self.row_2 = QFrame(self.widgets)
  1271. self.row_2.setObjectName(u"row_2")
  1272. self.row_2.setMinimumSize(QSize(0, 150))
  1273. self.row_2.setMaximumSize(QSize(16777215, 150))
  1274. self.row_2.setFrameShape(QFrame.Shape.StyledPanel)
  1275. self.row_2.setFrameShadow(QFrame.Shadow.Raised)
  1276. self.formLayout = QFormLayout(self.row_2)
  1277. self.formLayout.setObjectName(u"formLayout")
  1278. self.upload = QPushButton(self.row_2)
  1279. self.upload.setObjectName(u"upload")
  1280. sizePolicy2.setHeightForWidth(self.upload.sizePolicy().hasHeightForWidth())
  1281. self.upload.setSizePolicy(sizePolicy2)
  1282. self.upload.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1283. self.upload.setStyleSheet(u"color: rgb(178, 138, 234);\n"
  1284. "")
  1285. # self.upload.clicked.connect(self.execute_script_based_on_selection)
  1286. self.formLayout.setWidget(0, QFormLayout.SpanningRole, self.upload)
  1287. self.compute = QPushButton(self.row_2)
  1288. self.compute.setObjectName(u"compute")
  1289. self.compute.setMinimumSize(QSize(65, 25))
  1290. self.compute.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1291. self.formLayout.setWidget(1, QFormLayout.LabelRole, self.compute)
  1292. self.verticalLayout.addWidget(self.row_2)
  1293. self.row_3 = QFrame(self.widgets)
  1294. self.row_3.setObjectName(u"row_3")
  1295. self.row_3.setMinimumSize(QSize(0, 0))
  1296. self.row_3.setMaximumSize(QSize(16777215, 180))
  1297. self.row_3.setFrameShape(QFrame.Shape.StyledPanel)
  1298. self.row_3.setFrameShadow(QFrame.Shadow.Raised)
  1299. self.row_3.setLineWidth(1)
  1300. self.formLayout_2 = QFormLayout(self.row_3)
  1301. self.formLayout_2.setObjectName(u"formLayout_2")
  1302. self.formLayout_2.setHorizontalSpacing(6)
  1303. self.formLayout_2.setVerticalSpacing(6)
  1304. self.formLayout_2.setContentsMargins(-1, 27, -1, -1)
  1305. self.gridLayout_2 = QGridLayout()
  1306. self.gridLayout_2.setObjectName(u"gridLayout_2")
  1307. self.gridLayout_2.setHorizontalSpacing(25)
  1308. self.verticalLayout_19 = QVBoxLayout()
  1309. self.verticalLayout_19.setSpacing(0)
  1310. self.verticalLayout_19.setObjectName(u"verticalLayout_19")
  1311. self.label_6 = QLabel(self.row_3)
  1312. self.label_6.setObjectName(u"label_6")
  1313. self.verticalLayout_19.addWidget(self.label_6)
  1314. self.label_5 = QLabel(self.row_3)
  1315. self.label_5.setObjectName(u"label_5")
  1316. self.verticalLayout_19.addWidget(self.label_5)
  1317. self.gridLayout_2.addLayout(self.verticalLayout_19, 0, 0, 1, 1)
  1318. self.verticalLayout_22 = QVBoxLayout()
  1319. self.verticalLayout_22.setSpacing(16)
  1320. self.verticalLayout_22.setObjectName(u"verticalLayout_22")
  1321. self.download_1 = QPushButton(self.row_3)
  1322. self.download_1.setObjectName(u"download_1")
  1323. self.verticalLayout_22.addWidget(self.download_1)
  1324. # 下载2
  1325. self.download_2 = QPushButton(self.row_3)
  1326. self.download_2.setObjectName(u"download_2")
  1327. self.verticalLayout_22.addWidget(self.download_2)
  1328. # 下载3
  1329. self.download_3 = QPushButton(self.row_3)
  1330. self.download_3.setObjectName(u"download_3")
  1331. self.verticalLayout_22.addWidget(self.download_3)
  1332. self.gridLayout_2.addLayout(self.verticalLayout_22, 0, 1, 1, 1)
  1333. self.verticalLayout_23 = QVBoxLayout()
  1334. self.verticalLayout_23.setSpacing(3)
  1335. self.verticalLayout_23.setObjectName(u"verticalLayout_23")
  1336. self.label_7 = QLabel(self.row_3)
  1337. self.label_7.setObjectName(u"label_7")
  1338. self.verticalLayout_23.addWidget(self.label_7)
  1339. self.label_8 = QLabel(self.row_3)
  1340. self.label_8.setObjectName(u"label_8")
  1341. self.verticalLayout_23.addWidget(self.label_8)
  1342. self.label_9 = QLabel(self.row_3)
  1343. self.label_9.setObjectName(u"label_9")
  1344. self.verticalLayout_23.addWidget(self.label_9)
  1345. self.gridLayout_2.addLayout(self.verticalLayout_23, 0, 2, 1, 1)
  1346. self.formLayout_2.setLayout(0, QFormLayout.SpanningRole, self.gridLayout_2)
  1347. self.verticalLayout.addWidget(self.row_3)
  1348. self.stackedWidget.addWidget(self.widgets)
  1349. self.new_page = QWidget()
  1350. self.new_page.setObjectName(u"new_page")
  1351. self.verticalLayout_25 = QVBoxLayout(self.new_page)
  1352. self.verticalLayout_25.setObjectName(u"verticalLayout_25")
  1353. self.verticalLayout_20 = QVBoxLayout()
  1354. self.verticalLayout_20.setObjectName(u"verticalLayout_20")
  1355. self.label_10 = QLabel(self.new_page)
  1356. self.label_10.setObjectName(u"label_10")
  1357. self.verticalLayout_20.addWidget(self.label_10)
  1358. self.tabWidget = QTabWidget(self.new_page)
  1359. self.tabWidget.setObjectName(u"tabWidget")
  1360. self.tabWidget.setCursor(QCursor(Qt.CursorShape.ArrowCursor))
  1361. self.tabWidget.setTabPosition(QTabWidget.TabPosition.North)
  1362. self.tabWidget.setTabShape(QTabWidget.TabShape.Rounded)
  1363. self.tabWidget.setElideMode(Qt.TextElideMode.ElideRight)
  1364. self.tabWidget.setTabsClosable(False)
  1365. self.tabWidget.setTabBarAutoHide(False)
  1366. self.resultTable = QWidget()
  1367. self.resultTable.setObjectName(u"resultTable")
  1368. self.verticalLayout_29 = QVBoxLayout(self.resultTable)
  1369. self.verticalLayout_29.setObjectName(u"verticalLayout_29")
  1370. self.resultTableView = QTableView(self.resultTable)
  1371. self.resultTableView.setObjectName(u"resultTableView")
  1372. # 隐藏 resultTableView
  1373. self.resultTableView.hide()
  1374. # 创建一个 QLabel 并设置文本(第三页文本中心默认提醒)
  1375. self.default_remind = QLabel("在上一步计算完成后将显示结果", self.resultTable)
  1376. self.default_remind.setAlignment(Qt.AlignCenter) # 设置文本居中对齐
  1377. # 将 QLabel 添加到布局中
  1378. self.verticalLayout_29.addWidget(self.default_remind)
  1379. # 表格显示
  1380. self.verticalLayout_29.addWidget(self.resultTableView)
  1381. icon5 = QIcon()
  1382. icon5.addFile(u":/icons/images/icons/1.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1383. self.tabWidget.addTab(self.resultTable, icon5, "")
  1384. self.printTable = QWidget()
  1385. self.printTable.setObjectName(u"printTable")
  1386. self.printTable.setMouseTracking(False)
  1387. self.printTable.setTabletTracking(False)
  1388. self.verticalLayout_28 = QVBoxLayout(self.printTable)
  1389. self.verticalLayout_28.setObjectName(u"verticalLayout_28")
  1390. self.printTableView = QTextEdit(self.printTable)
  1391. self.printTableView.setObjectName(u"printTableView")
  1392. self.printTableView.setReadOnly(True)
  1393. self.verticalLayout_28.addWidget(self.printTableView)
  1394. icon6 = QIcon()
  1395. icon6.addFile(u":/icons/images/icons/2.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1396. self.tabWidget.addTab(self.printTable, icon6, "")
  1397. self.reconTable = QWidget()
  1398. self.reconTable.setObjectName(u"reconTable")
  1399. # self.reconTable.setCursor(QCursor(Qt.CursorShape.UpArrowCursor))
  1400. self.reconTable.setMouseTracking(False)
  1401. self.reconTable.setTabletTracking(False)
  1402. self.verticalLayout_26 = QVBoxLayout(self.reconTable)
  1403. self.verticalLayout_26.setObjectName(u"verticalLayout_26")
  1404. self.reconTableView = QTableView(self.reconTable)
  1405. self.reconTableView.setObjectName(u"modelTableView")
  1406. self.verticalLayout_26.addWidget(self.reconTableView)
  1407. icon7 = QIcon()
  1408. icon7.addFile(u":/icons/images/icons/3.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1409. self.tabWidget.addTab(self.reconTable, icon7, "")
  1410. self.verticalLayout_20.addWidget(self.tabWidget)
  1411. self.verticalLayout_25.addLayout(self.verticalLayout_20)
  1412. self.export_2 = QPushButton(self.new_page)
  1413. self.export_2.setObjectName(u"export_2")
  1414. self.export_2.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1415. self.export_2.setStyleSheet(u"background-color: rgb(52, 59, 72);")
  1416. self.verticalLayout_25.addWidget(self.export_2)
  1417. self.stackedWidget.addWidget(self.new_page)
  1418. self.datainfo = QWidget()
  1419. self.datainfo.setObjectName(u"datainfo")
  1420. self.formLayout_3 = QFormLayout(self.datainfo)
  1421. self.formLayout_3.setObjectName(u"formLayout_3")
  1422. self.verticalLayout_24 = QVBoxLayout()
  1423. self.verticalLayout_24.setSpacing(6)
  1424. self.verticalLayout_24.setObjectName(u"verticalLayout_24")
  1425. self.horizontalLayout_12 = QHBoxLayout()
  1426. self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
  1427. self.lineEdit_2 = QLineEdit(self.datainfo)
  1428. self.lineEdit_2.setObjectName(u"lineEdit_2")
  1429. self.lineEdit_2.setStyleSheet(u"background-color: rgb(33, 37, 43);")
  1430. self.horizontalLayout_12.addWidget(self.lineEdit_2)
  1431. # 设置到处结果显示页面(tabWidget)的默认隐藏2.3页
  1432. self.tabWidget.setTabVisible(1, False)
  1433. self.tabWidget.setTabVisible(2, False)
  1434. self.search = QPushButton(self.datainfo)
  1435. self.search.setObjectName(u"search")
  1436. sizePolicy4 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
  1437. sizePolicy4.setHorizontalStretch(0)
  1438. sizePolicy4.setVerticalStretch(0)
  1439. sizePolicy4.setHeightForWidth(self.search.sizePolicy().hasHeightForWidth())
  1440. self.search.setSizePolicy(sizePolicy4)
  1441. self.search.setMinimumSize(QSize(10, 10))
  1442. self.search.setMaximumSize(QSize(30, 24))
  1443. self.search.setStyleSheet(u"")
  1444. icon9 = QIcon()
  1445. icon9.addFile(u":/icons/images/icons/cil-magnifying-glass.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1446. self.search.setIcon(icon9)
  1447. self.horizontalLayout_12.addWidget(self.search)
  1448. self.verticalLayout_24.addLayout(self.horizontalLayout_12)
  1449. self.comboBox_3 = QComboBox(self.datainfo)
  1450. self.comboBox_3.setObjectName(u"comboBox_3")
  1451. self.comboBox_3.setStyleSheet(u"QComboBox QAbstractItemView {\n"
  1452. " border: 2px solid #282c34;\n"
  1453. " background-color: rgba(40, 44, 52,.7);\n"
  1454. " border-radius-bottom: 15px;\n"
  1455. " padding: 1px 2px 1px 2px; \n"
  1456. " min-width: 9em; \n"
  1457. "}")
  1458. self.verticalLayout_24.addWidget(self.comboBox_3)
  1459. self.qureyTreeWidget = QTreeWidget(self.datainfo)
  1460. self.qureyTreeWidget.setObjectName(u"qureyTreeWidget")
  1461. # 在 setupUi 方法中添加 QLabel(显示搜索默认提示)
  1462. self.defaultLabel = QLabel(self.datainfo)
  1463. self.defaultLabel.setObjectName(u"defaultLabel")
  1464. self.defaultLabel.setText("搜索后显示文件")
  1465. self.defaultLabel.setAlignment(Qt.AlignCenter)
  1466. self.defaultLabel.setGeometry(QRect(90, 150, self.qureyTreeWidget.width(), self.qureyTreeWidget.height()))
  1467. self.defaultLabel.setVisible(True) # 默认显示
  1468. self.verticalLayout_24.addWidget(self.qureyTreeWidget)
  1469. self.comboBox_4 = QComboBox(self.datainfo)
  1470. self.comboBox_4.setObjectName(u"comboBox_4")
  1471. self.comboBox_4.setStyleSheet(u"QComboBox QAbstractItemView {\n"
  1472. " border: 2px solid #282c34;\n"
  1473. " background-color: rgba(40, 44, 52,.7);\n"
  1474. " border-radius-bottom: 15px;\n"
  1475. " padding: 1px 2px 1px 2px; \n"
  1476. " min-width: 9em; \n"
  1477. "}")
  1478. self.verticalLayout_24.addWidget(self.comboBox_4)
  1479. self.allTreeWidget = QTreeWidget(self.datainfo)
  1480. self.allTreeWidget.setObjectName(u"allTreeWidget")
  1481. self.verticalLayout_24.addWidget(self.allTreeWidget)
  1482. self.formLayout_3.setLayout(0, QFormLayout.LabelRole, self.verticalLayout_24)
  1483. self.verticalLayout_30 = QVBoxLayout()
  1484. self.verticalLayout_30.setObjectName(u"verticalLayout_30")
  1485. self.horizontalLayout_11 = QHBoxLayout()
  1486. self.horizontalLayout_11.setObjectName(u"horizontalLayout_11")
  1487. # 留个空,什么编辑排序筛选可以放在这儿
  1488. self.edit_button = QPushButton(self.datainfo)
  1489. self.edit_button.setObjectName(u"edit_button")
  1490. sizePolicy4 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
  1491. sizePolicy4.setHorizontalStretch(0)
  1492. sizePolicy4.setVerticalStretch(0)
  1493. sizePolicy4.setHeightForWidth(self.edit_button.sizePolicy().hasHeightForWidth())
  1494. self.edit_button.setSizePolicy(sizePolicy4)
  1495. self.edit_button.setMinimumSize(QSize(10, 10))
  1496. self.edit_button.setMaximumSize(QSize(30, 24))
  1497. self.edit_button.setStyleSheet(u"")
  1498. self.horizontalLayout_11.addWidget(self.edit_button)
  1499. self.verticalLayout_30.addLayout(self.horizontalLayout_11)
  1500. self.horizontalLayout_14 = QHBoxLayout()
  1501. self.horizontalLayout_14.setObjectName(u"horizontalLayout_14")
  1502. self.verticalLayout_30.addLayout(self.horizontalLayout_14)
  1503. self.horizontalLayout_15 = QHBoxLayout()
  1504. self.horizontalLayout_15.setObjectName(u"horizontalLayout_15")
  1505. self.verticalLayout_30.addLayout(self.horizontalLayout_15)
  1506. self.View = QTabWidget(self.datainfo)
  1507. self.View.setObjectName(u"View")
  1508. self.View.setCursor(QCursor(Qt.CursorShape.ArrowCursor))
  1509. self.View.setTabPosition(QTabWidget.TabPosition.North)
  1510. self.View.setTabShape(QTabWidget.TabShape.Rounded)
  1511. self.View.setElideMode(Qt.TextElideMode.ElideRight)
  1512. self.View.setTabsClosable(False)
  1513. self.View.setTabBarAutoHide(False)
  1514. self.verticalLayout_30.addWidget(self.View)
  1515. self.resultTable1 = QWidget()
  1516. self.resultTable1.setObjectName(u"resultTable1")
  1517. self.verticalLayout_34 = QVBoxLayout(self.resultTable1)
  1518. self.verticalLayout_34.setObjectName(u"verticalLayout_34")
  1519. self.resultTableView1 = QTableView(self.resultTable1)
  1520. self.resultTableView1.setObjectName(u"resultTableView1")
  1521. # 隐藏 resultTableView
  1522. self.resultTableView1.hide()
  1523. # 创建一个 QLabel 并设置文本(第三页文本中心默认提醒)
  1524. self.default_remind1 = QLabel("左侧点击具体表即可显示", self.resultTable1)
  1525. self.default_remind1.setAlignment(Qt.AlignCenter) # 设置文本居中对齐
  1526. # 将 QLabel 添加到布局中
  1527. self.verticalLayout_34.addWidget(self.default_remind1)
  1528. # 表格显示
  1529. self.verticalLayout_34.addWidget(self.resultTableView1)
  1530. icon51 = QIcon()
  1531. icon51.addFile(u":/icons/images/icons/1.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1532. self.View.addTab(self.resultTable1, icon51, "")
  1533. self.reconTable1 = QWidget()
  1534. self.reconTable1.setObjectName(u"reconTable1")
  1535. # self.reconTable.setCursor(QCursor(Qt.CursorShape.UpArrowCursor))
  1536. self.reconTable1.setMouseTracking(False)
  1537. self.reconTable1.setTabletTracking(False)
  1538. self.verticalLayout_36 = QVBoxLayout(self.reconTable1)
  1539. self.verticalLayout_36.setObjectName(u"verticalLayout_36")
  1540. self.reconTableView1 = QTableView(self.reconTable1)
  1541. self.reconTableView1.setObjectName(u"modelTableView1")
  1542. self.verticalLayout_36.addWidget(self.reconTableView1)
  1543. icon7 = QIcon()
  1544. icon7.addFile(u":/icons/images/icons/2.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1545. self.View.addTab(self.reconTable1, icon7, "")
  1546. self.printTable1 = QWidget()
  1547. self.printTable1.setObjectName(u"printTable1")
  1548. self.printTable1.setMouseTracking(False)
  1549. self.printTable1.setTabletTracking(False)
  1550. self.verticalLayout_35 = QVBoxLayout(self.printTable1)
  1551. self.verticalLayout_35.setObjectName(u"verticalLayout_35")
  1552. self.printTableView1 = QTextEdit(self.printTable1)
  1553. self.printTableView1.setObjectName(u"printTableView1")
  1554. self.printTableView1.setReadOnly(True)
  1555. self.verticalLayout_35.addWidget(self.printTableView1)
  1556. icon6 = QIcon()
  1557. icon6.addFile(u":/icons/images/icons/3.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1558. self.View.addTab(self.printTable1, icon6, "")
  1559. self.inputTable1 = QWidget()
  1560. self.inputTable1.setObjectName(u"inputTable1")
  1561. # self.inputTable.setCursor(QCursor(Qt.CursorShape.UpArrowCursor))
  1562. self.inputTable1.setMouseTracking(False)
  1563. self.inputTable1.setTabletTracking(False)
  1564. self.verticalLayout_37 = QVBoxLayout(self.inputTable1)
  1565. self.verticalLayout_37.setObjectName(u"verticalLayout_37")
  1566. self.inputTableView1 = QTableView(self.inputTable1)
  1567. self.inputTableView1.setObjectName(u"inputTableView1")
  1568. self.verticalLayout_37.addWidget(self.inputTableView1)
  1569. icon8 = QIcon()
  1570. icon8.addFile(u":/icons/images/icons/4.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1571. self.View.addTab(self.inputTable1, icon8, "")
  1572. # 设置导出结果显示页面(View)的默认隐藏2.3页
  1573. self.View.setTabVisible(1, False)
  1574. self.View.setTabVisible(2, False)
  1575. self.View.setTabVisible(3, False)
  1576. # 设置自动view里所有tableview的自动排序
  1577. self.resultTableView.setSortingEnabled(True)
  1578. self.resultTableView1.setSortingEnabled(True)
  1579. self.reconTableView.setSortingEnabled(True)
  1580. self.reconTableView1.setSortingEnabled(True)
  1581. self.inputTableView1.setSortingEnabled(True)
  1582. self.formLayout_3.setLayout(0, QFormLayout.FieldRole, self.verticalLayout_30)
  1583. self.stackedWidget.addWidget(self.datainfo)
  1584. self.gridLayout_3.addWidget(self.stackedWidget, 0, 0, 1, 1)
  1585. self.horizontalLayout_4.addWidget(self.pagesContainer)
  1586. self.extraRightBox = QFrame(self.content)
  1587. self.extraRightBox.setObjectName(u"extraRightBox")
  1588. self.extraRightBox.setMinimumSize(QSize(0, 0))
  1589. self.extraRightBox.setMaximumSize(QSize(0, 16777215))
  1590. self.extraRightBox.setFrameShape(QFrame.Shape.NoFrame)
  1591. self.extraRightBox.setFrameShadow(QFrame.Shadow.Raised)
  1592. self.verticalLayout_7 = QVBoxLayout(self.extraRightBox)
  1593. self.verticalLayout_7.setSpacing(0)
  1594. self.verticalLayout_7.setObjectName(u"verticalLayout_7")
  1595. self.verticalLayout_7.setContentsMargins(0, 0, 0, 0)
  1596. self.themeSettingsTopDetail = QFrame(self.extraRightBox)
  1597. self.themeSettingsTopDetail.setObjectName(u"themeSettingsTopDetail")
  1598. self.themeSettingsTopDetail.setMaximumSize(QSize(16777215, 3))
  1599. self.themeSettingsTopDetail.setFrameShape(QFrame.Shape.NoFrame)
  1600. self.themeSettingsTopDetail.setFrameShadow(QFrame.Shadow.Raised)
  1601. self.verticalLayout_7.addWidget(self.themeSettingsTopDetail)
  1602. self.contentSettings = QFrame(self.extraRightBox)
  1603. self.contentSettings.setObjectName(u"contentSettings")
  1604. self.contentSettings.setFrameShape(QFrame.Shape.NoFrame)
  1605. self.contentSettings.setFrameShadow(QFrame.Shadow.Raised)
  1606. self.verticalLayout_13 = QVBoxLayout(self.contentSettings)
  1607. self.verticalLayout_13.setSpacing(0)
  1608. self.verticalLayout_13.setObjectName(u"verticalLayout_13")
  1609. self.verticalLayout_13.setContentsMargins(0, 0, 0, 0)
  1610. self.topMenus = QFrame(self.contentSettings)
  1611. self.topMenus.setObjectName(u"topMenus")
  1612. self.topMenus.setFrameShape(QFrame.Shape.NoFrame)
  1613. self.topMenus.setFrameShadow(QFrame.Shadow.Raised)
  1614. self.verticalLayout_14 = QVBoxLayout(self.topMenus)
  1615. self.verticalLayout_14.setSpacing(0)
  1616. self.verticalLayout_14.setObjectName(u"verticalLayout_14")
  1617. self.verticalLayout_14.setContentsMargins(0, 0, 0, 0)
  1618. self.btn_message = QPushButton(self.topMenus)
  1619. self.btn_message.setObjectName(u"btn_message")
  1620. sizePolicy.setHeightForWidth(self.btn_message.sizePolicy().hasHeightForWidth())
  1621. self.btn_message.setSizePolicy(sizePolicy)
  1622. self.btn_message.setMinimumSize(QSize(0, 45))
  1623. self.btn_message.setFont(font)
  1624. self.btn_message.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1625. self.btn_message.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  1626. self.btn_message.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-loop-circular.png);")
  1627. self.verticalLayout_14.addWidget(self.btn_message)
  1628. self.verticalLayout_13.addWidget(self.topMenus, 0, Qt.AlignmentFlag.AlignTop)
  1629. self.verticalLayout_7.addWidget(self.contentSettings)
  1630. self.horizontalLayout_4.addWidget(self.extraRightBox)
  1631. self.verticalLayout_6.addWidget(self.content)
  1632. self.bottomBar = QFrame(self.contentBottom)
  1633. self.bottomBar.setObjectName(u"bottomBar")
  1634. self.bottomBar.setMinimumSize(QSize(0, 22))
  1635. self.bottomBar.setMaximumSize(QSize(16777215, 22))
  1636. self.bottomBar.setFrameShape(QFrame.Shape.NoFrame)
  1637. self.bottomBar.setFrameShadow(QFrame.Shadow.Raised)
  1638. self.horizontalLayout_5 = QHBoxLayout(self.bottomBar)
  1639. self.horizontalLayout_5.setSpacing(0)
  1640. self.horizontalLayout_5.setObjectName(u"horizontalLayout_5")
  1641. self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
  1642. self.creditsLabel = QLabel(self.bottomBar)
  1643. self.creditsLabel.setObjectName(u"creditsLabel")
  1644. self.creditsLabel.setMaximumSize(QSize(16777215, 16))
  1645. font4 = QFont()
  1646. font4.setFamilies([u"Segoe UI"])
  1647. font4.setBold(False)
  1648. font4.setItalic(False)
  1649. self.creditsLabel.setFont(font4)
  1650. self.creditsLabel.setAlignment(
  1651. Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignVCenter)
  1652. self.horizontalLayout_5.addWidget(self.creditsLabel)
  1653. self.version = QLabel(self.bottomBar)
  1654. self.version.setObjectName(u"version")
  1655. self.version.setAlignment(
  1656. Qt.AlignmentFlag.AlignRight | Qt.AlignmentFlag.AlignTrailing | Qt.AlignmentFlag.AlignVCenter)
  1657. self.horizontalLayout_5.addWidget(self.version)
  1658. self.frame_size_grip = QFrame(self.bottomBar)
  1659. self.frame_size_grip.setObjectName(u"frame_size_grip")
  1660. self.frame_size_grip.setMinimumSize(QSize(20, 0))
  1661. self.frame_size_grip.setMaximumSize(QSize(20, 16777215))
  1662. self.frame_size_grip.setFrameShape(QFrame.Shape.NoFrame)
  1663. self.frame_size_grip.setFrameShadow(QFrame.Shadow.Raised)
  1664. self.horizontalLayout_5.addWidget(self.frame_size_grip)
  1665. self.verticalLayout_6.addWidget(self.bottomBar)
  1666. self.verticalLayout_2.addWidget(self.contentBottom)
  1667. self.appLayout.addWidget(self.contentBox)
  1668. self.appMargins.addWidget(self.bgApp)
  1669. MainWindow.setCentralWidget(self.styleSheet)
  1670. self.retranslateUi(MainWindow)
  1671. self.stackedWidget.setCurrentIndex(1)
  1672. self.tabWidget.setCurrentIndex(0)
  1673. # setupUi
  1674. # UI中的文字样式以及文字内容,Unicode编码的形式进行文字编辑的
  1675. def retranslateUi(self, MainWindow):
  1676. MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"MainWindow", None))
  1677. self.titleLeftApp.setText(
  1678. QCoreApplication.translate("MainWindow", u"\u56db\u5ddd\u4e2d\u6c34\u6210\u52d8\u9662", None))
  1679. self.titleLeftDescription.setText(QCoreApplication.translate("MainWindow", u"CMC", None))
  1680. self.toggleButton.setText(QCoreApplication.translate("MainWindow", u"\u83dc\u5355", None))
  1681. self.btn_home.setText(QCoreApplication.translate("MainWindow", u"\u9996\u9875", None))
  1682. self.btn_widgets.setText(QCoreApplication.translate("MainWindow", u"\u8f93\u5165\u8868\u683c", None))
  1683. self.btn_new.setText(QCoreApplication.translate("MainWindow", u"\u6210\u679c\u9884\u89c8", None))
  1684. self.btn_data.setText(QCoreApplication.translate("MainWindow", u"\u6570\u636e\u4e00\u89c8", None))
  1685. self.extraLabel.setText(QCoreApplication.translate("MainWindow", u"Left Box", None))
  1686. # if QT_CONFIG(tooltip)
  1687. self.extraCloseColumnBtn.setToolTip(QCoreApplication.translate("MainWindow", u"Close left box", None))
  1688. # endif // QT_CONFIG(tooltip)
  1689. self.extraCloseColumnBtn.setText("")
  1690. self.btn_share.setText(QCoreApplication.translate("MainWindow", u"Share", None))
  1691. self.btn_adjustments.setText(QCoreApplication.translate("MainWindow", u"Adjustments", None))
  1692. self.btn_more.setText(QCoreApplication.translate("MainWindow", u"More", None))
  1693. self.textEdit.setHtml(QCoreApplication.translate("MainWindow",
  1694. u"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
  1695. "<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
  1696. "p, li { white-space: pre-wrap; }\n"
  1697. "hr { height: 1px; border-width: 0; }\n"
  1698. "li.unchecked::marker { content: \"\\2610\"; }\n"
  1699. "li.checked::marker { content: \"\\2612\"; }\n"
  1700. "</style></head><body style=\" font-family:'Segoe UI'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
  1701. "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt; font-weight:600; color:#ff79c6;\">PyDracula</span></p>\n"
  1702. "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#ffffff;\">An interface created using Python and PySide (support for PyQt), and with colors based on the Dracula theme created by Zen"
  1703. "o Rocha.</span></p>\n"
  1704. "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#ffffff;\">MIT License</span></p>\n"
  1705. "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" color:#bd93f9;\">Created by: Wanderson M. Pimenta</span></p>\n"
  1706. "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:12pt; font-weight:600; color:#ff79c6;\">Convert UI</span></p>\n"
  1707. "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:9pt; color:#ffffff;\">pyside6-uic main.ui &gt; ui_main.py</span></p>\n"
  1708. "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-in"
  1709. "dent:0; text-indent:0px;\"><span style=\" font-size:12pt; font-weight:600; color:#ff79c6;\">Convert QRC</span></p>\n"
  1710. "<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:9pt; color:#ffffff;\">pyside6-rcc resources.qrc -o resources_rc.py</span></p></body></html>",
  1711. None))
  1712. self.titleRightInfo.setText(QCoreApplication.translate("MainWindow",
  1713. u"<html><head/><body><p><span style=\" font-size:20pt;\">\u63a7\u5236\u7f51\u590d\u6d4b\u5e73\u9762\u57fa\u51c6\u5f52\u7b97\u7a0b\u5e8f</span></p></body></html>",
  1714. None))
  1715. # if QT_CONFIG(tooltip)
  1716. self.settingsTopBtn.setToolTip(QCoreApplication.translate("MainWindow", u"Settings", None))
  1717. # endif // QT_CONFIG(tooltip)
  1718. self.settingsTopBtn.setText("")
  1719. # if QT_CONFIG(tooltip)
  1720. self.minimizeAppBtn.setToolTip(QCoreApplication.translate("MainWindow", u"Minimize", None))
  1721. # endif // QT_CONFIG(tooltip)
  1722. self.minimizeAppBtn.setText("")
  1723. # if QT_CONFIG(tooltip)
  1724. self.maximizeRestoreAppBtn.setToolTip(QCoreApplication.translate("MainWindow", u"Maximize", None))
  1725. # endif // QT_CONFIG(tooltip)
  1726. self.maximizeRestoreAppBtn.setText("")
  1727. # if QT_CONFIG(tooltip)
  1728. self.closeAppBtn.setToolTip(QCoreApplication.translate("MainWindow", u"Close", None))
  1729. # endif // QT_CONFIG(tooltip)
  1730. self.closeAppBtn.setText("")
  1731. self.title_func.setText(QCoreApplication.translate("MainWindow",
  1732. u"<html><head/><body><p><span style=\" font-size:18pt;\">\u529f\u80fd\u4e00\u89c8</span></p></body></html>",
  1733. None))
  1734. self.text_1.setText(QCoreApplication.translate("MainWindow", u"\u8f93\u5165\u8868\u683c", None))
  1735. self.description1.setText(
  1736. QCoreApplication.translate("MainWindow", u"\u652f\u6301\u4f7f\u7528Excel\u76f4\u63a5\u5bfc\u5165", None))
  1737. self.img_1.setText(
  1738. QCoreApplication.translate("MainWindow", u"<html><head/><body><p><br/></p></body></html>", None))
  1739. self.text_2.setText(QCoreApplication.translate("MainWindow", u"\u6210\u679c\u9884\u89c8", None))
  1740. self.description1_2.setText(QCoreApplication.translate("MainWindow",
  1741. u"\u901a\u8fc7\u63a7\u5236\u7f51\u590d\u6d4b\u5e73\u9762\u57fa\u51c6\u5f52\u7b97\u7b97\u6cd5\u53d6\u5f97\u5f52\u7b97\u6210\u679c",
  1742. None))
  1743. self.img_2.setText(
  1744. QCoreApplication.translate("MainWindow", u"<html><head/><body><p><br/></p></body></html>", None))
  1745. self.text_3.setText(QCoreApplication.translate("MainWindow", u"\u6570\u636e\u4e00\u89c8", None))
  1746. self.description1_3.setText(QCoreApplication.translate("MainWindow",
  1747. u"\u901a\u8fc7\u7b5b\u9009\uff0c\u5bf9\u5df2\u5b58\u50a8\u6570\u636e\u8fdb\u884c\u67e5\u8be2\uff0c\u4fee\u6539\uff0c\u5220\u9664\u7b49\u64cd\u4f5c",
  1748. None))
  1749. self.img_3.setText(
  1750. QCoreApplication.translate("MainWindow", u"<html><head/><body><p><br/></p></body></html>", None))
  1751. self.text_4.setText(QCoreApplication.translate("MainWindow", u"\u8f93\u5165\u8868\u683c", None))
  1752. self.description1_4.setText(QCoreApplication.translate("MainWindow",
  1753. u"\u5bf9\u8ba1\u7b97\u6570\u636e\u8fdb\u884c\u4fdd\u5b58\uff0c\u5bfc\u51fa\u8ba1\u7b97\u6210\u679c\u6570\u636e",
  1754. None))
  1755. self.img_4.setText(
  1756. QCoreApplication.translate("MainWindow", u"<html><head/><body><p><br/></p></body></html>", None))
  1757. self.label_2.setText(QCoreApplication.translate("MainWindow",
  1758. u"<html><head/><body><p><span style=\" font-size:11pt; font-weight:700;\">\u64cd\u4f5c\u8bf4\u660e</span></p></body></html>",
  1759. None))
  1760. self.label_3.setText(QCoreApplication.translate("MainWindow",
  1761. u"<html><head/><body><p>1.\u5728\u201c\u8f93\u5165\u8868\u683c\u201d\u754c\u9762\uff0c\u5bfc\u5165\u6309\u683c\u5f0f\u7f16\u5199\u597d\u7684\u8f93\u5165\u6570\u636e\uff08\u652f\u6301.xls\u3001.xlsx\u683c\u5f0f\uff09\uff0c\u70b9\u51fb\u201c\u8ba1\u7b97\u201d\u3002</p><p>2.\u81ea\u52a8\u8df3\u8f6c\u201c\u6210\u679c\u9884\u89c8\u201d\u754c\u9762\uff0c\u53ef\u9009\u62e9\u201c\u4fdd\u5b58\u6570\u636e\u201d\u53ca\u201c\u5bfc\u51fa\u6570\u636e\u201d\uff08\u5982\u9700\u4fee\u6539\u8f93\u5165\u503c\uff0c\u8bf7\u5728\u201c\u6570\u636e\u4e00\u89c8\u201d\u5185\u4fee\u6539\uff0c\u65e0\u9700\u518d\u6b21\u4e0a\u4f20Excel\uff09</p><p>3.\u201c\u6570\u636e\u4e00\u89c8\u201d\u754c\u9762\u53ef\u901a\u8fc7\u540d\u79f0/\u5173\u952e\u8bcd\u6a21\u7cca\u67e5\u8be2\u8868\uff0c\u901a\u8fc7\u7b5b\u9009\u6309\u94ae\u53ef\u7b5b\u9009\u7a33\u5b9a\u70b9\u3001\u4f4d\u79fb\u70b9\u3001\u65b0\u5efa\u70b9\u548c\u590d\u5efa\u70b9\u3002</p><p>4.\u201c\u6570\u636e\u4e00\u89c8\u201d\u5de5\u5177\u680f\u4ece\u5de6\u5230\u53f3\u5206\u522b\u5b9e\u73b0\u5168"
  1762. "\u5c4f\u663e\u793a\uff0c\u4e0a\u4e00\u5f20\u8868\uff0c\u4e0b\u4e00\u5f20\u8868\uff0c\u7f16\u8f91\u6570\u636e\uff0c\u4fdd\u5b58\u6570\u636e\uff0c\u5bfc\u51fa\u5f53\u524d\u8868\uff0c\u67e5\u627e\u8868\u5185\u6570\u636e\u64cd\u4f5c\u3002</p><p>5.\u5728\u201c\u6570\u636e\u4e00\u89c8\u201d\u70b9\u51fb\u201c\u7f16\u8f91\u6570\u636e\u201d\u5373\u53ef\u4fee\u6539\u5df2\u5b58\u50a8\u6570\u636e\uff0c\u70b9\u51fb\u201c\u4fdd\u5b58\u6570\u636e\u201d\u5c06\u91cd\u65b0\u8ba1\u7b97\u5e76\u8df3\u8f6c\u201c\u6210\u679c\u9884\u89c8\u201d\u9875\u3002</p><p>6.\u4ec5\u652f\u6301\u5bf9\u57fa\u672c\u6570\u636e\u7684\u4fee\u6539\uff0c\u6210\u679c\u6570\u636e\u8bf7\u5bfc\u51fa\u540e\u81ea\u884c\u4fee\u6539\uff0c\u7cfb\u7edf\u4e0d\u505a\u5b58\u50a8\u3002</p></body></html>",
  1763. None))
  1764. self.labelBoxBlenderInstalation.setText(QCoreApplication.translate("MainWindow",
  1765. u"<html><head/><body><p><span style=\" font-weight:700;\">\u5bfc\u5165Excel\u8868\u683c</span></p></body></html>",
  1766. None))
  1767. self.label.setText(QCoreApplication.translate("MainWindow", u"\u9009\u62e9\u9879\u76ee\uff1a", None))
  1768. self.lineEdit.setText("")
  1769. self.lineEdit.setPlaceholderText(QCoreApplication.translate("MainWindow",
  1770. u"\u6ca1\u6709\u5bf9\u5e94\u9879\u76ee\uff1f\u8bf7\u8f93\u5165\u65b0\u5efa\u7684\u9879\u76ee\u540d",
  1771. None))
  1772. self.createFile.setText(QCoreApplication.translate("MainWindow", u"\u65b0\u5efa", None))
  1773. self.label_4.setText(
  1774. QCoreApplication.translate("MainWindow", u"\u9009\u62e9\u8ba1\u7b97\u65b9\u5f0f\uff1a", None))
  1775. self.comboBox_2.setItemText(0, QCoreApplication.translate("MainWindow",
  1776. u"\u63a7\u5236\u7f51\u590d\u6d4b\u5e73\u9762\u57fa\u51c6\u8ba1\u7b97",
  1777. None))
  1778. self.comboBox_2.setItemText(1, QCoreApplication.translate("MainWindow",
  1779. u"\u5e73\u9762\u63a7\u5236\u7f51\u7a33\u5b9a\u6027\u8ba1\u7b97",
  1780. None))
  1781. self.comboBox_2.setItemText(2, QCoreApplication.translate("MainWindow",
  1782. u"\u6c34\u51c6\u6d4b\u6bb5\u9ad8\u5dee\u7a33\u5b9a\u8ba1\u7b97",
  1783. None))
  1784. self.comboBox_2.setCurrentText(QCoreApplication.translate("MainWindow",
  1785. u"\u63a7\u5236\u7f51\u590d\u6d4b\u5e73\u9762\u57fa\u51c6\u8ba1\u7b97",
  1786. None))
  1787. self.upload.setText(QCoreApplication.translate("MainWindow",
  1788. u"\u9009\u62e9\u8ba1\u7b97\u65b9\u5f0f\u540e\uff0c\u70b9\u51fb\u6b64\u5904\u9009\u62e9\u6587\u4ef6\u8fdb\u884c\u8ba1\u7b97\n"
  1789. "\n"
  1790. "\u652f\u6301Excel\u5355\u4e2a\u6587\u4ef6\u4e0a\u4f20\uff0c\u9ed8\u8ba4\u8bc6\u522b\u7b2c\u4e00\u4e2asheet\u8868\u683c",
  1791. None))
  1792. self.compute.setText(QCoreApplication.translate("MainWindow", u"\u8ba1\u7b97", None))
  1793. self.label_6.setText(QCoreApplication.translate("MainWindow",
  1794. u"<html><head/><body><p><span style=\" font-size:11pt; font-weight:700;\">\u8868\u683c\u793a\u4f8b</span></p></body></html>",
  1795. None))
  1796. self.label_5.setText(QCoreApplication.translate("MainWindow",
  1797. u"<html><head/><body><p><span style=\" font-size:8pt;\">1.\u8bf7\u6309\u5982\u4e0b\u683c\u5f0f\u4fdd\u5b58\u6570\u636e\u8868\uff0c\u53ef\u8bc6\u522bxls\u3001xlsx\u6587\u4ef6\u3002(*\u6c34\u51c6\u6d4b\u6bb5\u9ad8\u5dee\u7a33\u5b9a\u6027\u8ba1\u7b97\u76ee\u524d\u4ec5\u652f\u6301.xlsx\u6587\u4ef6)</span></p><p><span style=\" font-size:8pt;\">2.\u7cfb\u7edf\u5c06\u8bc6\u522b\u7b2c\u4e00\u4e2asheet\u6587\u4ef6\uff0c\u6309\u5bf9\u5e94\u5355\u5143\u683c\u8bfb\u53d6\u6570\u636e\uff08\u5982\u5355\u5143\u683c\u9519\u4f4d\uff0c\u4f1a\u5bfc\u81f4\u7cfb\u7edf\u65e0\u6cd5\u8bc6\u522b\uff09</span></p><p><span style=\" font-size:8pt;\">3.\u6700\u5f31\u8fb9\u8fb9\u957f\u76f8\u5bf9\u4e2d\u8bef\u5dee\u53ef\u8bc6\u522b\u5206\u6570\u5f62\u5f0f\uff0c\u4ec5\u652f\u6301\u82f1\u6587\u72b6\u6001\u4e0b\u201c/\u201d\u4f5c\u4e3a\u5206\u9694\u7b26\u3002</span></p><p><span style=\" font-size:8pt;\">4.\u603b\u8fb9\u6570\u8ba1\u7b97\u65f6\uff0c\u5f80\u8fd4\u7b97\u4e24\u6761\u8fb9\u3002</span></p></body></html>",
  1798. None))
  1799. self.download_1.setText(QCoreApplication.translate("MainWindow", u"\u793a\u4f8b\u4e0b\u8f7d1", None))
  1800. self.download_2.setText(QCoreApplication.translate("MainWindow", u"\u793a\u4f8b\u4e0b\u8f7d2", None))
  1801. self.download_3.setText(QCoreApplication.translate("MainWindow", u"\u793a\u4f8b\u4e0b\u8f7d3", None))
  1802. self.label_7.setText(QCoreApplication.translate("MainWindow",
  1803. u"<html><head/><body><p><span style=\" font-size:8pt;\">\u70b9\u51fb\u4e0b\u8f7d\u5e73\u9762\u63a7\u5236\u7f51\u7a33\u5b9a\u6027\u793a\u4f8b\u8868</span></p></body></html>",
  1804. None))
  1805. self.label_8.setText(QCoreApplication.translate("MainWindow",
  1806. u"<html><head/><body><p><span style=\" font-size:8pt;\">\u70b9\u51fb\u4e0b\u8f7d\u63a7\u5236\u7f51\u590d\u6d4b\u5e73\u9762\u57fa\u51c6\u793a\u4f8b\u8868</span></p></body></html>",
  1807. None))
  1808. self.label_9.setText(QCoreApplication.translate("MainWindow",
  1809. u"<html><head/><body><p><span style=\" font-size:8pt;\">\u70b9\u51fb\u4e0b\u8f7d\u6c34\u51c6\u6d4b\u6bb5\u9ad8\u5dee\u7a33\u5b9a\u793a\u4f8b\u8868</span></p></body></html>",
  1810. None))
  1811. self.label_10.setText(QCoreApplication.translate("MainWindow",
  1812. u"<html><head/><body><p><span style=\" font-size:11pt; font-weight:700;\">\u6210\u679c\u9884\u89c8</span></p></body></html>",
  1813. None))
  1814. self.tabWidget.setTabText(self.tabWidget.indexOf(self.resultTable),
  1815. QCoreApplication.translate("MainWindow", u"\u6210\u679c\u5c55\u793a\u533a", None))
  1816. self.tabWidget.setTabText(self.tabWidget.indexOf(self.reconTable), QCoreApplication.translate("MainWindow",
  1817. u"\u590d\u6d4b\u57fa\u51c6\u5f52\u7b97\u8868",
  1818. None))
  1819. self.tabWidget.setTabText(self.tabWidget.indexOf(self.printTable),
  1820. QCoreApplication.translate("MainWindow", u"\u6a21\u578b\u6253\u5370\u8868", None))
  1821. self.export_2.setText(QCoreApplication.translate("MainWindow", u"\u5bfc\u51fa\u6210\u679c", None))
  1822. self.lineEdit_2.setPlaceholderText(
  1823. QCoreApplication.translate("MainWindow", u"\u8bf7\u8f93\u5165\u540d\u79f0/\u5173\u952e\u5b57", None))
  1824. self.search.setText("")
  1825. self.comboBox_3.setPlaceholderText(
  1826. QCoreApplication.translate("MainWindow", u"\u7b26\u5408\u67e5\u8be2\u8981\u6c42\u7684\u8868", None))
  1827. self.comboBox_4.setPlaceholderText(QCoreApplication.translate("MainWindow", u"\u6240\u6709\u8868", None))
  1828. self.btn_message.setText(QCoreApplication.translate("MainWindow", u"\u5207\u6362\u4e3b\u9898", None))
  1829. self.creditsLabel.setText(QCoreApplication.translate("MainWindow", u"\u7248\u6743\u4fe1\u606f", None))
  1830. self.version.setText(QCoreApplication.translate("MainWindow", u"v1.0.0", None))