控制网复测平面基准归算程序(包含控制网复测平面基准计算,平面控制网稳定性计算,水准测段高差稳定计算三个程序功能)
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ui_main.py 106KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090
  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 sqlite3
  10. import os
  11. from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
  12. QMetaObject, QObject, QPoint, QRect,
  13. QSize, QTime, QUrl, Qt)
  14. from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
  15. QFont, QFontDatabase, QGradient, QIcon,
  16. QImage, QKeySequence, QLinearGradient, QPainter,
  17. QPalette, QPixmap, QRadialGradient, QTransform, QStandardItem, QStandardItemModel)
  18. from PySide6.QtWidgets import (QApplication, QCheckBox, QComboBox, QFormLayout,
  19. QFrame, QGridLayout, QHBoxLayout, QHeaderView,
  20. QLabel, QLineEdit, QListView, QMainWindow,
  21. QPushButton, QSizePolicy, QStackedWidget, QTabWidget,
  22. QTableView, QTextEdit, QVBoxLayout, QWidget, QMessageBox)
  23. from Back.Program_Run.data_show import Arrange_Data, Arrange_Data1, Arrange_Data2, Data_in_Cell, Data_in_Cell1, Data_in_Cell2
  24. from Back.Program_Run.database_operations import create_database_and_tables
  25. from Back.Program_Run.file_system_watching import ComboBoxUpdater
  26. from watchdog.observers import Observer
  27. from .resources_rc import *
  28. # class ComboBoxUpdater(FileSystemEventHandler):
  29. # def __init__(self, comboBox, sql_folder):
  30. # super().__init__()
  31. # self.comboBox = comboBox
  32. # self.sql_folder = sql_folder
  33. #
  34. # def on_modified(self, event):
  35. # if event.is_directory:
  36. # return
  37. # if event.src_path.endswith('.db'):
  38. # self.update_combo_box()
  39. #
  40. # def on_created(self, event):
  41. # if event.is_directory:
  42. # return
  43. # if event.src_path.endswith('.db'):
  44. # self.update_combo_box()
  45. #
  46. # def on_deleted(self, event):
  47. # if event.is_directory:
  48. # return
  49. # if event.src_path.endswith('.db'):
  50. # self.update_combo_box()
  51. #
  52. # def update_combo_box(self):
  53. # # 清空现有的 comboBox 内容
  54. # self.comboBox.clear()
  55. #
  56. # # 列出 SQL 文件夹中的所有 .db 文件
  57. # db_files = [f for f in os.listdir(self.sql_folder) if f.endswith('.db')]
  58. #
  59. # # 将数据库文件名添加到 comboBox 中
  60. # for db_file in db_files:
  61. # self.comboBox.addItem(QCoreApplication.translate("MainWindow", db_file, None))
  62. #
  63. # # 如果没有找到任何数据库文件,显示提示信息
  64. # if not db_files:
  65. # self.comboBox.addItem(QCoreApplication.translate("MainWindow", "未找到数据库文件", None))
  66. class Ui_MainWindow(object):
  67. # UI界面
  68. def setupUi(self, MainWindow):
  69. self.main_window = MainWindow
  70. if not MainWindow.objectName():
  71. MainWindow.setObjectName(u"MainWindow")
  72. MainWindow.resize(940, 620)
  73. MainWindow.setMinimumSize(QSize(940, 620))
  74. self.styleSheet = QWidget(MainWindow)
  75. self.styleSheet.setObjectName(u"styleSheet")
  76. font = QFont()
  77. font.setFamilies([u"Segoe UI"])
  78. font.setPointSize(10)
  79. font.setBold(False)
  80. font.setItalic(False)
  81. self.styleSheet.setFont(font)
  82. self.styleSheet.setStyleSheet(
  83. u"/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  84. "\n"
  85. "SET APP STYLESHEET - FULL STYLES HERE\n"
  86. "DARK THEME - DRACULA COLOR BASED\n"
  87. "\n"
  88. "///////////////////////////////////////////////////////////////////////////////////////////////// */\n"
  89. "\n"
  90. "QWidget{\n"
  91. " color: rgb(221, 221, 221);\n"
  92. " font: 10pt \"Segoe UI\";\n"
  93. "}\n"
  94. "\n"
  95. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  96. "Tooltip */\n"
  97. "QToolTip {\n"
  98. " color: #ffffff;\n"
  99. " background-color: rgba(33, 37, 43, 180);\n"
  100. " border: 1px solid rgb(44, 49, 58);\n"
  101. " background-image: none;\n"
  102. " background-position: left center;\n"
  103. " background-repeat: no-repeat;\n"
  104. " border: none;\n"
  105. " border-left: 2px solid rgb(255, 121, 198);\n"
  106. " text-align: left;\n"
  107. " padding-left: 8px;\n"
  108. " margin: 0px;\n"
  109. "}\n"
  110. "\n"
  111. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  112. "Bg App */\n"
  113. "#bgApp { \n"
  114. " background"
  115. "-color: rgb(40, 44, 52);\n"
  116. " border: 1px solid rgb(44, 49, 58);\n"
  117. "}\n"
  118. "\n"
  119. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  120. "Left Menu */\n"
  121. "#leftMenuBg { \n"
  122. " background-color: rgb(33, 37, 43);\n"
  123. "}\n"
  124. "#topLogo {\n"
  125. " background-color: rgb(33, 37, 43);\n"
  126. " background-image: url(:/images/images/images/PyDracula.png);\n"
  127. " background-position: centered;\n"
  128. " background-repeat: no-repeat;\n"
  129. "}\n"
  130. "#titleLeftApp { font: 63 12pt \"Segoe UI Semibold\"; }\n"
  131. "#titleLeftDescription { font: 8pt \"Segoe UI\"; color: rgb(189, 147, 249); }\n"
  132. "\n"
  133. "/* MENUS */\n"
  134. "#topMenu .QPushButton { \n"
  135. " background-position: left center;\n"
  136. " background-repeat: no-repeat;\n"
  137. " border: none;\n"
  138. " border-left: 22px solid transparent;\n"
  139. " background-color: transparent;\n"
  140. " text-align: left;\n"
  141. " padding-left: 44px;\n"
  142. "}\n"
  143. "#topMenu .QPushButton:hover {\n"
  144. " background-color: rgb(40, 44, 52);\n"
  145. "}\n"
  146. "#topMenu .QPushButton:pressed { \n"
  147. " background-color: rgb(18"
  148. "9, 147, 249);\n"
  149. " color: rgb(255, 255, 255);\n"
  150. "}\n"
  151. "#bottomMenu .QPushButton { \n"
  152. " background-position: left center;\n"
  153. " background-repeat: no-repeat;\n"
  154. " border: none;\n"
  155. " border-left: 20px solid transparent;\n"
  156. " background-color:transparent;\n"
  157. " text-align: left;\n"
  158. " padding-left: 44px;\n"
  159. "}\n"
  160. "#bottomMenu .QPushButton:hover {\n"
  161. " background-color: rgb(40, 44, 52);\n"
  162. "}\n"
  163. "#bottomMenu .QPushButton:pressed { \n"
  164. " background-color: rgb(189, 147, 249);\n"
  165. " color: rgb(255, 255, 255);\n"
  166. "}\n"
  167. "#leftMenuFrame{\n"
  168. " border-top: 3px solid rgb(44, 49, 58);\n"
  169. "}\n"
  170. "\n"
  171. "/* Toggle Button */\n"
  172. "#toggleButton {\n"
  173. " background-position: left center;\n"
  174. " background-repeat: no-repeat;\n"
  175. " border: none;\n"
  176. " border-left: 20px solid transparent;\n"
  177. " background-color: rgb(37, 41, 48);\n"
  178. " text-align: left;\n"
  179. " padding-left: 44px;\n"
  180. " color: rgb(113, 126, 149);\n"
  181. "}\n"
  182. "#toggleButton:hover {\n"
  183. " background-color: rgb(40, 44, 52);\n"
  184. "}\n"
  185. "#toggleButton:pressed {\n"
  186. " background-color: rgb("
  187. "189, 147, 249);\n"
  188. "}\n"
  189. "\n"
  190. "/* Title Menu */\n"
  191. "#titleRightInfo { padding-left: 10px; }\n"
  192. "\n"
  193. "\n"
  194. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  195. "Extra Tab */\n"
  196. "#extraLeftBox { \n"
  197. " background-color: rgb(44, 49, 58);\n"
  198. "}\n"
  199. "#extraTopBg{ \n"
  200. " background-color: rgb(189, 147, 249)\n"
  201. "}\n"
  202. "\n"
  203. "/* Icon */\n"
  204. "#extraIcon {\n"
  205. " background-position: center;\n"
  206. " background-repeat: no-repeat;\n"
  207. " background-image: url(:/icons/images/icons/icon_settings.png);\n"
  208. "}\n"
  209. "\n"
  210. "/* Label */\n"
  211. "#extraLabel { color: rgb(255, 255, 255); }\n"
  212. "\n"
  213. "/* Btn Close */\n"
  214. "#extraCloseColumnBtn { background-color: rgba(255, 255, 255, 0); border: none; border-radius: 5px; }\n"
  215. "#extraCloseColumnBtn:hover { background-color: rgb(196, 161, 249); border-style: solid; border-radius: 4px; }\n"
  216. "#extraCloseColumnBtn:pressed { background-color: rgb(180, 141, 238); border-style: solid; border-radius: 4px; }\n"
  217. "\n"
  218. "/* Extra Content */\n"
  219. "#extraContent{\n"
  220. " border"
  221. "-top: 3px solid rgb(40, 44, 52);\n"
  222. "}\n"
  223. "\n"
  224. "/* Extra Top Menus */\n"
  225. "#extraTopMenu .QPushButton {\n"
  226. "background-position: left center;\n"
  227. " background-repeat: no-repeat;\n"
  228. " border: none;\n"
  229. " border-left: 22px solid transparent;\n"
  230. " background-color:transparent;\n"
  231. " text-align: left;\n"
  232. " padding-left: 44px;\n"
  233. "}\n"
  234. "#extraTopMenu .QPushButton:hover {\n"
  235. " background-color: rgb(40, 44, 52);\n"
  236. "}\n"
  237. "#extraTopMenu .QPushButton:pressed { \n"
  238. " background-color: rgb(189, 147, 249);\n"
  239. " color: rgb(255, 255, 255);\n"
  240. "}\n"
  241. "\n"
  242. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  243. "Content App */\n"
  244. "#contentTopBg{ \n"
  245. " background-color: rgb(33, 37, 43);\n"
  246. "}\n"
  247. "#contentBottom{\n"
  248. " border-top: 3px solid rgb(44, 49, 58);\n"
  249. "}\n"
  250. "\n"
  251. "/* Top Buttons */\n"
  252. "#rightButtons .QPushButton { background-color: rgba(255, 255, 255, 0); border: none; border-radius: 5px; }\n"
  253. "#rightButtons .QPushButton:hover { background-color: rgb(44, 49, 57); border-sty"
  254. "le: solid; border-radius: 4px; }\n"
  255. "#rightButtons .QPushButton:pressed { background-color: rgb(23, 26, 30); border-style: solid; border-radius: 4px; }\n"
  256. "\n"
  257. "/* Theme Settings */\n"
  258. "#extraRightBox { background-color: rgb(44, 49, 58); }\n"
  259. "#themeSettingsTopDetail { background-color: rgb(189, 147, 249); }\n"
  260. "\n"
  261. "/* Bottom Bar */\n"
  262. "#bottomBar { background-color: rgb(44, 49, 58); }\n"
  263. "#bottomBar QLabel { font-size: 11px; color: rgb(113, 126, 149); padding-left: 10px; padding-right: 10px; padding-bottom: 2px; }\n"
  264. "\n"
  265. "/* CONTENT SETTINGS */\n"
  266. "/* MENUS */\n"
  267. "#contentSettings .QPushButton { \n"
  268. " background-position: left center;\n"
  269. " background-repeat: no-repeat;\n"
  270. " border: none;\n"
  271. " border-left: 22px solid transparent;\n"
  272. " background-color:transparent;\n"
  273. " text-align: left;\n"
  274. " padding-left: 44px;\n"
  275. "}\n"
  276. "#contentSettings .QPushButton:hover {\n"
  277. " background-color: rgb(40, 44, 52);\n"
  278. "}\n"
  279. "#contentSettings .QPushButton:pressed { \n"
  280. " background-color: rgb(189, 147, 249);\n"
  281. " color: rgb"
  282. "(255, 255, 255);\n"
  283. "}\n"
  284. "\n"
  285. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  286. "QTableWidget */\n"
  287. "QTableWidget { \n"
  288. " background-color: transparent;\n"
  289. " padding: 10px;\n"
  290. " border-radius: 5px;\n"
  291. " gridline-color: rgb(44, 49, 58);\n"
  292. " border-bottom: 1px solid rgb(44, 49, 60);\n"
  293. "}\n"
  294. "QTableWidget::item{\n"
  295. " border-color: rgb(44, 49, 60);\n"
  296. " padding-left: 5px;\n"
  297. " padding-right: 5px;\n"
  298. " gridline-color: rgb(44, 49, 60);\n"
  299. "}\n"
  300. "QTableWidget::item:selected{\n"
  301. " background-color: rgb(189, 147, 249);\n"
  302. "}\n"
  303. "QHeaderView::section{\n"
  304. " background-color: rgb(33, 37, 43);\n"
  305. " max-width: 30px;\n"
  306. " border: 1px solid rgb(44, 49, 58);\n"
  307. " border-style: none;\n"
  308. " border-bottom: 1px solid rgb(44, 49, 60);\n"
  309. " border-right: 1px solid rgb(44, 49, 60);\n"
  310. "}\n"
  311. "QTableWidget::horizontalHeader { \n"
  312. " background-color: rgb(33, 37, 43);\n"
  313. "}\n"
  314. "QHeaderView::section:horizontal\n"
  315. "{\n"
  316. " border: 1px solid rgb(33, 37, 43);\n"
  317. " background-co"
  318. "lor: rgb(33, 37, 43);\n"
  319. " padding: 3px;\n"
  320. " border-top-left-radius: 7px;\n"
  321. " border-top-right-radius: 7px;\n"
  322. "}\n"
  323. "QHeaderView::section:vertical\n"
  324. "{\n"
  325. " border: 1px solid rgb(44, 49, 60);\n"
  326. "}\n"
  327. "\n"
  328. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  329. "LineEdit */\n"
  330. "QLineEdit {\n"
  331. " background-color: rgb(33, 37, 43);\n"
  332. " border-radius: 5px;\n"
  333. " border: 2px solid rgb(33, 37, 43);\n"
  334. " padding-left: 10px;\n"
  335. " selection-color: rgb(255, 255, 255);\n"
  336. " selection-background-color: rgb(255, 121, 198);\n"
  337. "}\n"
  338. "QLineEdit:hover {\n"
  339. " border: 2px solid rgb(64, 71, 88);\n"
  340. "}\n"
  341. "QLineEdit:focus {\n"
  342. " border: 2px solid rgb(91, 101, 124);\n"
  343. "}\n"
  344. "\n"
  345. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  346. "PlainTextEdit */\n"
  347. "QPlainTextEdit {\n"
  348. " background-color: rgb(27, 29, 35);\n"
  349. " border-radius: 5px;\n"
  350. " padding: 10px;\n"
  351. " selection-color: rgb(255, 255, 255);\n"
  352. " selection-background-c"
  353. "olor: rgb(255, 121, 198);\n"
  354. "}\n"
  355. "QPlainTextEdit QScrollBar:vertical {\n"
  356. " width: 8px;\n"
  357. " }\n"
  358. "QPlainTextEdit QScrollBar:horizontal {\n"
  359. " height: 8px;\n"
  360. " }\n"
  361. "QPlainTextEdit:hover {\n"
  362. " border: 2px solid rgb(64, 71, 88);\n"
  363. "}\n"
  364. "QPlainTextEdit:focus {\n"
  365. " border: 2px solid rgb(91, 101, 124);\n"
  366. "}\n"
  367. "\n"
  368. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  369. "ScrollBars */\n"
  370. "QScrollBar:horizontal {\n"
  371. " border: none;\n"
  372. " background: rgb(52, 59, 72);\n"
  373. " height: 8px;\n"
  374. " margin: 0px 21px 0 21px;\n"
  375. " border-radius: 0px;\n"
  376. "}\n"
  377. "QScrollBar::handle:horizontal {\n"
  378. " background: rgb(189, 147, 249);\n"
  379. " min-width: 25px;\n"
  380. " border-radius: 4px\n"
  381. "}\n"
  382. "QScrollBar::add-line:horizontal {\n"
  383. " border: none;\n"
  384. " background: rgb(55, 63, 77);\n"
  385. " width: 20px;\n"
  386. " border-top-right-radius: 4px;\n"
  387. " border-bottom-right-radius: 4px;\n"
  388. " subcontrol-position: right;\n"
  389. " subcontrol-origin: margin;\n"
  390. "}\n"
  391. ""
  392. "QScrollBar::sub-line:horizontal {\n"
  393. " border: none;\n"
  394. " background: rgb(55, 63, 77);\n"
  395. " width: 20px;\n"
  396. " border-top-left-radius: 4px;\n"
  397. " border-bottom-left-radius: 4px;\n"
  398. " subcontrol-position: left;\n"
  399. " subcontrol-origin: margin;\n"
  400. "}\n"
  401. "QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal\n"
  402. "{\n"
  403. " background: none;\n"
  404. "}\n"
  405. "QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal\n"
  406. "{\n"
  407. " background: none;\n"
  408. "}\n"
  409. " QScrollBar:vertical {\n"
  410. " border: none;\n"
  411. " background: rgb(52, 59, 72);\n"
  412. " width: 8px;\n"
  413. " margin: 21px 0 21px 0;\n"
  414. " border-radius: 0px;\n"
  415. " }\n"
  416. " QScrollBar::handle:vertical { \n"
  417. " background: rgb(189, 147, 249);\n"
  418. " min-height: 25px;\n"
  419. " border-radius: 4px\n"
  420. " }\n"
  421. " QScrollBar::add-line:vertical {\n"
  422. " border: none;\n"
  423. " background: rgb(55, 63, 77);\n"
  424. " height: 20px;\n"
  425. " border-bottom-left-radius: 4px;\n"
  426. " border-bottom-right-radius: 4px;\n"
  427. " subcontrol-position: bottom;\n"
  428. " su"
  429. "bcontrol-origin: margin;\n"
  430. " }\n"
  431. " QScrollBar::sub-line:vertical {\n"
  432. " border: none;\n"
  433. " background: rgb(55, 63, 77);\n"
  434. " height: 20px;\n"
  435. " border-top-left-radius: 4px;\n"
  436. " border-top-right-radius: 4px;\n"
  437. " subcontrol-position: top;\n"
  438. " subcontrol-origin: margin;\n"
  439. " }\n"
  440. " QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {\n"
  441. " background: none;\n"
  442. " }\n"
  443. "\n"
  444. " QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {\n"
  445. " background: none;\n"
  446. " }\n"
  447. "\n"
  448. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  449. "CheckBox */\n"
  450. "QCheckBox::indicator {\n"
  451. " border: 3px solid rgb(52, 59, 72);\n"
  452. " width: 15px;\n"
  453. " height: 15px;\n"
  454. " border-radius: 10px;\n"
  455. " background: rgb(44, 49, 60);\n"
  456. "}\n"
  457. "QCheckBox::indicator:hover {\n"
  458. " border: 3px solid rgb(58, 66, 81);\n"
  459. "}\n"
  460. "QCheckBox::indicator:checked {\n"
  461. " background: 3px solid rgb(52, 59, 72);\n"
  462. " border: 3px solid rgb(52, 59, 72); \n"
  463. " back"
  464. "ground-image: url(:/icons/images/icons/cil-check-alt.png);\n"
  465. "}\n"
  466. "\n"
  467. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  468. "RadioButton */\n"
  469. "QRadioButton::indicator {\n"
  470. " border: 3px solid rgb(52, 59, 72);\n"
  471. " width: 15px;\n"
  472. " height: 15px;\n"
  473. " border-radius: 10px;\n"
  474. " background: rgb(44, 49, 60);\n"
  475. "}\n"
  476. "QRadioButton::indicator:hover {\n"
  477. " border: 3px solid rgb(58, 66, 81);\n"
  478. "}\n"
  479. "QRadioButton::indicator:checked {\n"
  480. " background: 3px solid rgb(94, 106, 130);\n"
  481. " border: 3px solid rgb(52, 59, 72); \n"
  482. "}\n"
  483. "\n"
  484. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  485. "ComboBox */\n"
  486. "QComboBox{\n"
  487. " background-color: rgb(27, 29, 35);\n"
  488. " border-radius: 5px;\n"
  489. " border: 2px solid rgb(33, 37, 43);\n"
  490. " padding: 5px;\n"
  491. " padding-left: 10px;\n"
  492. "}\n"
  493. "QComboBox:hover{\n"
  494. " border: 2px solid rgb(64, 71, 88);\n"
  495. "}\n"
  496. "QComboBox::drop-down {\n"
  497. " subcontrol-origin: padding;\n"
  498. " subco"
  499. "ntrol-position: top right;\n"
  500. " width: 25px; \n"
  501. " border-left-width: 3px;\n"
  502. " border-left-color: rgba(39, 44, 54, 150);\n"
  503. " border-left-style: solid;\n"
  504. " border-top-right-radius: 3px;\n"
  505. " border-bottom-right-radius: 3px; \n"
  506. " background-image: url(:/icons/images/icons/cil-arrow-bottom.png);\n"
  507. " background-position: center;\n"
  508. " background-repeat: no-reperat;\n"
  509. " }\n"
  510. "QComboBox QAbstractItemView {\n"
  511. " color: rgb(255, 121, 198); \n"
  512. " background-color: rgb(33, 37, 43);\n"
  513. " padding: 10px;\n"
  514. " selection-background-color: rgb(39, 44, 54);\n"
  515. "}\n"
  516. "\n"
  517. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  518. "Sliders */\n"
  519. "QSlider::groove:horizontal {\n"
  520. " border-radius: 5px;\n"
  521. " height: 10px;\n"
  522. " margin: 0px;\n"
  523. " background-color: rgb(52, 59, 72);\n"
  524. "}\n"
  525. "QSlider::groove:horizontal:hover {\n"
  526. " background-color: rgb(55, 62, 76);\n"
  527. "}\n"
  528. "QSlider::handle:horizontal {\n"
  529. " background-color: rgb(189, 147, 249);\n"
  530. " border: none;\n"
  531. " h"
  532. "eight: 10px;\n"
  533. " width: 10px;\n"
  534. " margin: 0px;\n"
  535. " border-radius: 5px;\n"
  536. "}\n"
  537. "QSlider::handle:horizontal:hover {\n"
  538. " background-color: rgb(195, 155, 255);\n"
  539. "}\n"
  540. "QSlider::handle:horizontal:pressed {\n"
  541. " background-color: rgb(255, 121, 198);\n"
  542. "}\n"
  543. "\n"
  544. "QSlider::groove:vertical {\n"
  545. " border-radius: 5px;\n"
  546. " width: 10px;\n"
  547. " margin: 0px;\n"
  548. " background-color: rgb(52, 59, 72);\n"
  549. "}\n"
  550. "QSlider::groove:vertical:hover {\n"
  551. " background-color: rgb(55, 62, 76);\n"
  552. "}\n"
  553. "QSlider::handle:vertical {\n"
  554. " background-color: rgb(189, 147, 249);\n"
  555. " border: none;\n"
  556. " height: 10px;\n"
  557. " width: 10px;\n"
  558. " margin: 0px;\n"
  559. " border-radius: 5px;\n"
  560. "}\n"
  561. "QSlider::handle:vertical:hover {\n"
  562. " background-color: rgb(195, 155, 255);\n"
  563. "}\n"
  564. "QSlider::handle:vertical:pressed {\n"
  565. " background-color: rgb(255, 121, 198);\n"
  566. "}\n"
  567. "\n"
  568. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  569. "CommandLinkButton */\n"
  570. "QCommandLi"
  571. "nkButton { \n"
  572. " color: rgb(255, 121, 198);\n"
  573. " border-radius: 5px;\n"
  574. " padding: 5px;\n"
  575. " color: rgb(255, 170, 255);\n"
  576. "}\n"
  577. "QCommandLinkButton:hover { \n"
  578. " color: rgb(255, 170, 255);\n"
  579. " background-color: rgb(44, 49, 60);\n"
  580. "}\n"
  581. "QCommandLinkButton:pressed { \n"
  582. " color: rgb(189, 147, 249);\n"
  583. " background-color: rgb(52, 58, 71);\n"
  584. "}\n"
  585. "\n"
  586. "/* /////////////////////////////////////////////////////////////////////////////////////////////////\n"
  587. "Button */\n"
  588. "#pagesContainer QPushButton {\n"
  589. " border: 2px solid rgb(52, 59, 72);\n"
  590. " border-radius: 5px; \n"
  591. " background-color: rgb(52, 59, 72);\n"
  592. "}\n"
  593. "#pagesContainer QPushButton:hover {\n"
  594. " background-color: rgb(57, 65, 80);\n"
  595. " border: 2px solid rgb(61, 70, 86);\n"
  596. "}\n"
  597. "#pagesContainer QPushButton:pressed { \n"
  598. " background-color: rgb(35, 40, 49);\n"
  599. " border: 2px solid rgb(43, 50, 61);\n"
  600. "}\n"
  601. "\n"
  602. "")
  603. self.appMargins = QVBoxLayout(self.styleSheet)
  604. self.appMargins.setSpacing(0)
  605. self.appMargins.setObjectName(u"appMargins")
  606. self.appMargins.setContentsMargins(10, 10, 10, 10)
  607. self.bgApp = QFrame(self.styleSheet)
  608. self.bgApp.setObjectName(u"bgApp")
  609. self.bgApp.setStyleSheet(u"")
  610. self.bgApp.setFrameShape(QFrame.Shape.NoFrame)
  611. self.bgApp.setFrameShadow(QFrame.Shadow.Raised)
  612. self.appLayout = QHBoxLayout(self.bgApp)
  613. self.appLayout.setSpacing(0)
  614. self.appLayout.setObjectName(u"appLayout")
  615. self.appLayout.setContentsMargins(0, 0, 0, 0)
  616. self.leftMenuBg = QFrame(self.bgApp)
  617. self.leftMenuBg.setObjectName(u"leftMenuBg")
  618. self.leftMenuBg.setMinimumSize(QSize(60, 0))
  619. self.leftMenuBg.setMaximumSize(QSize(60, 16777215))
  620. self.leftMenuBg.setFrameShape(QFrame.Shape.NoFrame)
  621. self.leftMenuBg.setFrameShadow(QFrame.Shadow.Raised)
  622. self.verticalLayout_3 = QVBoxLayout(self.leftMenuBg)
  623. self.verticalLayout_3.setSpacing(0)
  624. self.verticalLayout_3.setObjectName(u"verticalLayout_3")
  625. self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
  626. self.topLogoInfo = QFrame(self.leftMenuBg)
  627. self.topLogoInfo.setObjectName(u"topLogoInfo")
  628. self.topLogoInfo.setMinimumSize(QSize(0, 50))
  629. self.topLogoInfo.setMaximumSize(QSize(16777215, 50))
  630. self.topLogoInfo.setFrameShape(QFrame.Shape.NoFrame)
  631. self.topLogoInfo.setFrameShadow(QFrame.Shadow.Raised)
  632. self.topLogo = QFrame(self.topLogoInfo)
  633. self.topLogo.setObjectName(u"topLogo")
  634. self.topLogo.setGeometry(QRect(10, 5, 42, 42))
  635. self.topLogo.setMinimumSize(QSize(42, 42))
  636. self.topLogo.setMaximumSize(QSize(42, 42))
  637. self.topLogo.setStyleSheet(u"background-image: url(:/images/images/images/logo.png);")
  638. self.topLogo.setFrameShape(QFrame.Shape.NoFrame)
  639. self.topLogo.setFrameShadow(QFrame.Shadow.Raised)
  640. self.titleLeftApp = QLabel(self.topLogoInfo)
  641. self.titleLeftApp.setObjectName(u"titleLeftApp")
  642. self.titleLeftApp.setGeometry(QRect(70, 8, 160, 20))
  643. font1 = QFont()
  644. font1.setFamilies([u"Segoe UI Semibold"])
  645. font1.setPointSize(12)
  646. # font1.setWeight(QFont.)
  647. font1.setItalic(False)
  648. self.titleLeftApp.setFont(font1)
  649. self.titleLeftApp.setAlignment(
  650. Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)
  651. self.titleLeftDescription = QLabel(self.topLogoInfo)
  652. self.titleLeftDescription.setObjectName(u"titleLeftDescription")
  653. self.titleLeftDescription.setGeometry(QRect(70, 27, 160, 16))
  654. self.titleLeftDescription.setMaximumSize(QSize(16777215, 16))
  655. font2 = QFont()
  656. font2.setFamilies([u"Segoe UI"])
  657. font2.setPointSize(8)
  658. font2.setBold(False)
  659. font2.setItalic(False)
  660. self.titleLeftDescription.setFont(font2)
  661. self.titleLeftDescription.setAlignment(
  662. Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignTop)
  663. self.verticalLayout_3.addWidget(self.topLogoInfo)
  664. self.leftMenuFrame = QFrame(self.leftMenuBg)
  665. self.leftMenuFrame.setObjectName(u"leftMenuFrame")
  666. self.leftMenuFrame.setFrameShape(QFrame.Shape.NoFrame)
  667. self.leftMenuFrame.setFrameShadow(QFrame.Shadow.Raised)
  668. self.verticalMenuLayout = QVBoxLayout(self.leftMenuFrame)
  669. self.verticalMenuLayout.setSpacing(0)
  670. self.verticalMenuLayout.setObjectName(u"verticalMenuLayout")
  671. self.verticalMenuLayout.setContentsMargins(0, 0, 0, 0)
  672. self.toggleBox = QFrame(self.leftMenuFrame)
  673. self.toggleBox.setObjectName(u"toggleBox")
  674. self.toggleBox.setMaximumSize(QSize(16777215, 45))
  675. self.toggleBox.setFrameShape(QFrame.Shape.NoFrame)
  676. self.toggleBox.setFrameShadow(QFrame.Shadow.Raised)
  677. self.verticalLayout_4 = QVBoxLayout(self.toggleBox)
  678. self.verticalLayout_4.setSpacing(0)
  679. self.verticalLayout_4.setObjectName(u"verticalLayout_4")
  680. self.verticalLayout_4.setContentsMargins(0, 0, 0, 0)
  681. self.toggleButton = QPushButton(self.toggleBox)
  682. self.toggleButton.setObjectName(u"toggleButton")
  683. sizePolicy = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Fixed)
  684. sizePolicy.setHorizontalStretch(0)
  685. sizePolicy.setVerticalStretch(0)
  686. sizePolicy.setHeightForWidth(self.toggleButton.sizePolicy().hasHeightForWidth())
  687. self.toggleButton.setSizePolicy(sizePolicy)
  688. self.toggleButton.setMinimumSize(QSize(0, 45))
  689. self.toggleButton.setFont(font)
  690. self.toggleButton.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  691. self.toggleButton.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  692. self.toggleButton.setStyleSheet(u"background-image: url(:/icons/images/icons/icon_menu.png);")
  693. self.verticalLayout_4.addWidget(self.toggleButton)
  694. self.verticalMenuLayout.addWidget(self.toggleBox)
  695. self.topMenu = QFrame(self.leftMenuFrame)
  696. self.topMenu.setObjectName(u"topMenu")
  697. self.topMenu.setFrameShape(QFrame.Shape.NoFrame)
  698. self.topMenu.setFrameShadow(QFrame.Shadow.Raised)
  699. self.verticalLayout_8 = QVBoxLayout(self.topMenu)
  700. self.verticalLayout_8.setSpacing(0)
  701. self.verticalLayout_8.setObjectName(u"verticalLayout_8")
  702. self.verticalLayout_8.setContentsMargins(0, 0, 0, 0)
  703. self.btn_home = QPushButton(self.topMenu)
  704. self.btn_home.setObjectName(u"btn_home")
  705. sizePolicy.setHeightForWidth(self.btn_home.sizePolicy().hasHeightForWidth())
  706. self.btn_home.setSizePolicy(sizePolicy)
  707. self.btn_home.setMinimumSize(QSize(0, 45))
  708. self.btn_home.setFont(font)
  709. self.btn_home.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  710. self.btn_home.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  711. self.btn_home.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-home.png);")
  712. self.verticalLayout_8.addWidget(self.btn_home)
  713. self.btn_widgets = QPushButton(self.topMenu)
  714. self.btn_widgets.setObjectName(u"btn_widgets")
  715. sizePolicy.setHeightForWidth(self.btn_widgets.sizePolicy().hasHeightForWidth())
  716. self.btn_widgets.setSizePolicy(sizePolicy)
  717. self.btn_widgets.setMinimumSize(QSize(0, 45))
  718. self.btn_widgets.setFont(font)
  719. self.btn_widgets.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  720. self.btn_widgets.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  721. self.btn_widgets.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-chart.png);")
  722. self.verticalLayout_8.addWidget(self.btn_widgets)
  723. self.btn_new = QPushButton(self.topMenu)
  724. self.btn_new.setObjectName(u"btn_new")
  725. sizePolicy.setHeightForWidth(self.btn_new.sizePolicy().hasHeightForWidth())
  726. self.btn_new.setSizePolicy(sizePolicy)
  727. self.btn_new.setMinimumSize(QSize(0, 45))
  728. self.btn_new.setFont(font)
  729. self.btn_new.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  730. self.btn_new.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  731. self.btn_new.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-laptop.png);")
  732. self.verticalLayout_8.addWidget(self.btn_new)
  733. self.btn_data = QPushButton(self.topMenu)
  734. self.btn_data.setObjectName(u"btn_data")
  735. sizePolicy.setHeightForWidth(self.btn_data.sizePolicy().hasHeightForWidth())
  736. self.btn_data.setSizePolicy(sizePolicy)
  737. self.btn_data.setMinimumSize(QSize(0, 45))
  738. self.btn_data.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  739. self.btn_data.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-library.png);")
  740. self.verticalLayout_8.addWidget(self.btn_data)
  741. self.verticalMenuLayout.addWidget(self.topMenu, 0, Qt.AlignmentFlag.AlignTop)
  742. self.bottomMenu = QFrame(self.leftMenuFrame)
  743. self.bottomMenu.setObjectName(u"bottomMenu")
  744. self.bottomMenu.setFrameShape(QFrame.Shape.NoFrame)
  745. self.bottomMenu.setFrameShadow(QFrame.Shadow.Raised)
  746. self.verticalLayout_9 = QVBoxLayout(self.bottomMenu)
  747. self.verticalLayout_9.setSpacing(0)
  748. self.verticalLayout_9.setObjectName(u"verticalLayout_9")
  749. self.verticalLayout_9.setContentsMargins(0, 0, 0, 0)
  750. self.verticalMenuLayout.addWidget(self.bottomMenu, 0, Qt.AlignmentFlag.AlignBottom)
  751. self.verticalLayout_3.addWidget(self.leftMenuFrame)
  752. self.appLayout.addWidget(self.leftMenuBg)
  753. self.extraLeftBox = QFrame(self.bgApp)
  754. self.extraLeftBox.setObjectName(u"extraLeftBox")
  755. self.extraLeftBox.setMinimumSize(QSize(0, 0))
  756. self.extraLeftBox.setMaximumSize(QSize(0, 16777215))
  757. self.extraLeftBox.setFrameShape(QFrame.Shape.NoFrame)
  758. self.extraLeftBox.setFrameShadow(QFrame.Shadow.Raised)
  759. self.extraColumLayout = QVBoxLayout(self.extraLeftBox)
  760. self.extraColumLayout.setSpacing(0)
  761. self.extraColumLayout.setObjectName(u"extraColumLayout")
  762. self.extraColumLayout.setContentsMargins(0, 0, 0, 0)
  763. self.extraTopBg = QFrame(self.extraLeftBox)
  764. self.extraTopBg.setObjectName(u"extraTopBg")
  765. self.extraTopBg.setMinimumSize(QSize(0, 50))
  766. self.extraTopBg.setMaximumSize(QSize(16777215, 50))
  767. self.extraTopBg.setFrameShape(QFrame.Shape.NoFrame)
  768. self.extraTopBg.setFrameShadow(QFrame.Shadow.Raised)
  769. self.verticalLayout_5 = QVBoxLayout(self.extraTopBg)
  770. self.verticalLayout_5.setSpacing(0)
  771. self.verticalLayout_5.setObjectName(u"verticalLayout_5")
  772. self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
  773. self.extraTopLayout = QGridLayout()
  774. self.extraTopLayout.setObjectName(u"extraTopLayout")
  775. self.extraTopLayout.setHorizontalSpacing(10)
  776. self.extraTopLayout.setVerticalSpacing(0)
  777. self.extraTopLayout.setContentsMargins(10, -1, 10, -1)
  778. self.extraIcon = QFrame(self.extraTopBg)
  779. self.extraIcon.setObjectName(u"extraIcon")
  780. self.extraIcon.setMinimumSize(QSize(20, 0))
  781. self.extraIcon.setMaximumSize(QSize(20, 20))
  782. self.extraIcon.setFrameShape(QFrame.Shape.NoFrame)
  783. self.extraIcon.setFrameShadow(QFrame.Shadow.Raised)
  784. self.extraTopLayout.addWidget(self.extraIcon, 0, 0, 1, 1)
  785. self.extraLabel = QLabel(self.extraTopBg)
  786. self.extraLabel.setObjectName(u"extraLabel")
  787. self.extraLabel.setMinimumSize(QSize(150, 0))
  788. self.extraTopLayout.addWidget(self.extraLabel, 0, 1, 1, 1)
  789. self.extraCloseColumnBtn = QPushButton(self.extraTopBg)
  790. self.extraCloseColumnBtn.setObjectName(u"extraCloseColumnBtn")
  791. self.extraCloseColumnBtn.setMinimumSize(QSize(28, 28))
  792. self.extraCloseColumnBtn.setMaximumSize(QSize(28, 28))
  793. self.extraCloseColumnBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  794. icon = QIcon()
  795. icon.addFile(u":/icons/images/icons/icon_close.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  796. self.extraCloseColumnBtn.setIcon(icon)
  797. self.extraCloseColumnBtn.setIconSize(QSize(20, 20))
  798. self.extraTopLayout.addWidget(self.extraCloseColumnBtn, 0, 2, 1, 1)
  799. self.verticalLayout_5.addLayout(self.extraTopLayout)
  800. self.extraColumLayout.addWidget(self.extraTopBg)
  801. self.extraContent = QFrame(self.extraLeftBox)
  802. self.extraContent.setObjectName(u"extraContent")
  803. self.extraContent.setFrameShape(QFrame.Shape.NoFrame)
  804. self.extraContent.setFrameShadow(QFrame.Shadow.Raised)
  805. self.verticalLayout_12 = QVBoxLayout(self.extraContent)
  806. self.verticalLayout_12.setSpacing(0)
  807. self.verticalLayout_12.setObjectName(u"verticalLayout_12")
  808. self.verticalLayout_12.setContentsMargins(0, 0, 0, 0)
  809. self.extraTopMenu = QFrame(self.extraContent)
  810. self.extraTopMenu.setObjectName(u"extraTopMenu")
  811. self.extraTopMenu.setFrameShape(QFrame.Shape.NoFrame)
  812. self.extraTopMenu.setFrameShadow(QFrame.Shadow.Raised)
  813. self.verticalLayout_11 = QVBoxLayout(self.extraTopMenu)
  814. self.verticalLayout_11.setSpacing(0)
  815. self.verticalLayout_11.setObjectName(u"verticalLayout_11")
  816. self.verticalLayout_11.setContentsMargins(0, 0, 0, 0)
  817. self.btn_share = QPushButton(self.extraTopMenu)
  818. self.btn_share.setObjectName(u"btn_share")
  819. sizePolicy.setHeightForWidth(self.btn_share.sizePolicy().hasHeightForWidth())
  820. self.btn_share.setSizePolicy(sizePolicy)
  821. self.btn_share.setMinimumSize(QSize(0, 45))
  822. self.btn_share.setFont(font)
  823. self.btn_share.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  824. self.btn_share.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  825. self.btn_share.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-share-boxed.png);")
  826. self.verticalLayout_11.addWidget(self.btn_share)
  827. self.btn_adjustments = QPushButton(self.extraTopMenu)
  828. self.btn_adjustments.setObjectName(u"btn_adjustments")
  829. sizePolicy.setHeightForWidth(self.btn_adjustments.sizePolicy().hasHeightForWidth())
  830. self.btn_adjustments.setSizePolicy(sizePolicy)
  831. self.btn_adjustments.setMinimumSize(QSize(0, 45))
  832. self.btn_adjustments.setFont(font)
  833. self.btn_adjustments.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  834. self.btn_adjustments.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  835. self.btn_adjustments.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-equalizer.png);")
  836. self.verticalLayout_11.addWidget(self.btn_adjustments)
  837. self.btn_more = QPushButton(self.extraTopMenu)
  838. self.btn_more.setObjectName(u"btn_more")
  839. sizePolicy.setHeightForWidth(self.btn_more.sizePolicy().hasHeightForWidth())
  840. self.btn_more.setSizePolicy(sizePolicy)
  841. self.btn_more.setMinimumSize(QSize(0, 45))
  842. self.btn_more.setFont(font)
  843. self.btn_more.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  844. self.btn_more.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
  845. self.btn_more.setStyleSheet(u"background-image: url(:/icons/images/icons/cil-layers.png);")
  846. self.verticalLayout_11.addWidget(self.btn_more)
  847. self.verticalLayout_12.addWidget(self.extraTopMenu, 0, Qt.AlignmentFlag.AlignTop)
  848. self.extraCenter = QFrame(self.extraContent)
  849. self.extraCenter.setObjectName(u"extraCenter")
  850. self.extraCenter.setFrameShape(QFrame.Shape.NoFrame)
  851. self.extraCenter.setFrameShadow(QFrame.Shadow.Raised)
  852. self.verticalLayout_10 = QVBoxLayout(self.extraCenter)
  853. self.verticalLayout_10.setObjectName(u"verticalLayout_10")
  854. self.textEdit = QTextEdit(self.extraCenter)
  855. self.textEdit.setObjectName(u"textEdit")
  856. self.textEdit.setMinimumSize(QSize(222, 0))
  857. self.textEdit.setStyleSheet(u"background: transparent;")
  858. self.textEdit.setFrameShape(QFrame.Shape.NoFrame)
  859. self.textEdit.setReadOnly(True)
  860. self.verticalLayout_10.addWidget(self.textEdit)
  861. self.verticalLayout_12.addWidget(self.extraCenter)
  862. self.extraBottom = QFrame(self.extraContent)
  863. self.extraBottom.setObjectName(u"extraBottom")
  864. self.extraBottom.setFrameShape(QFrame.Shape.NoFrame)
  865. self.extraBottom.setFrameShadow(QFrame.Shadow.Raised)
  866. self.verticalLayout_12.addWidget(self.extraBottom)
  867. self.extraColumLayout.addWidget(self.extraContent)
  868. self.appLayout.addWidget(self.extraLeftBox)
  869. self.contentBox = QFrame(self.bgApp)
  870. self.contentBox.setObjectName(u"contentBox")
  871. self.contentBox.setFrameShape(QFrame.Shape.NoFrame)
  872. self.contentBox.setFrameShadow(QFrame.Shadow.Raised)
  873. self.verticalLayout_2 = QVBoxLayout(self.contentBox)
  874. self.verticalLayout_2.setSpacing(0)
  875. self.verticalLayout_2.setObjectName(u"verticalLayout_2")
  876. self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
  877. self.contentTopBg = QFrame(self.contentBox)
  878. self.contentTopBg.setObjectName(u"contentTopBg")
  879. self.contentTopBg.setMinimumSize(QSize(0, 50))
  880. self.contentTopBg.setMaximumSize(QSize(16777215, 50))
  881. self.contentTopBg.setFrameShape(QFrame.Shape.NoFrame)
  882. self.contentTopBg.setFrameShadow(QFrame.Shadow.Raised)
  883. self.horizontalLayout = QHBoxLayout(self.contentTopBg)
  884. self.horizontalLayout.setSpacing(0)
  885. self.horizontalLayout.setObjectName(u"horizontalLayout")
  886. self.horizontalLayout.setContentsMargins(0, 0, 10, 0)
  887. self.leftBox = QFrame(self.contentTopBg)
  888. self.leftBox.setObjectName(u"leftBox")
  889. sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Preferred)
  890. sizePolicy1.setHorizontalStretch(0)
  891. sizePolicy1.setVerticalStretch(0)
  892. sizePolicy1.setHeightForWidth(self.leftBox.sizePolicy().hasHeightForWidth())
  893. self.leftBox.setSizePolicy(sizePolicy1)
  894. self.leftBox.setFrameShape(QFrame.Shape.NoFrame)
  895. self.leftBox.setFrameShadow(QFrame.Shadow.Raised)
  896. self.horizontalLayout_3 = QHBoxLayout(self.leftBox)
  897. self.horizontalLayout_3.setSpacing(0)
  898. self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
  899. self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
  900. self.titleRightInfo = QLabel(self.leftBox)
  901. self.titleRightInfo.setObjectName(u"titleRightInfo")
  902. sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Expanding)
  903. sizePolicy2.setHorizontalStretch(0)
  904. sizePolicy2.setVerticalStretch(0)
  905. sizePolicy2.setHeightForWidth(self.titleRightInfo.sizePolicy().hasHeightForWidth())
  906. self.titleRightInfo.setSizePolicy(sizePolicy2)
  907. self.titleRightInfo.setMaximumSize(QSize(16777215, 45))
  908. self.titleRightInfo.setFont(font)
  909. self.titleRightInfo.setAlignment(
  910. Qt.AlignmentFlag.AlignLeading | Qt.AlignmentFlag.AlignLeft | Qt.AlignmentFlag.AlignVCenter)
  911. self.horizontalLayout_3.addWidget(self.titleRightInfo)
  912. self.horizontalLayout.addWidget(self.leftBox)
  913. self.rightButtons = QFrame(self.contentTopBg)
  914. self.rightButtons.setObjectName(u"rightButtons")
  915. self.rightButtons.setMinimumSize(QSize(0, 28))
  916. self.rightButtons.setFrameShape(QFrame.Shape.NoFrame)
  917. self.rightButtons.setFrameShadow(QFrame.Shadow.Raised)
  918. self.horizontalLayout_2 = QHBoxLayout(self.rightButtons)
  919. self.horizontalLayout_2.setSpacing(5)
  920. self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
  921. self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0)
  922. self.settingsTopBtn = QPushButton(self.rightButtons)
  923. self.settingsTopBtn.setObjectName(u"settingsTopBtn")
  924. self.settingsTopBtn.setMinimumSize(QSize(28, 28))
  925. self.settingsTopBtn.setMaximumSize(QSize(28, 28))
  926. self.settingsTopBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  927. icon1 = QIcon()
  928. icon1.addFile(u":/icons/images/icons/icon_settings.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  929. self.settingsTopBtn.setIcon(icon1)
  930. self.settingsTopBtn.setIconSize(QSize(20, 20))
  931. self.horizontalLayout_2.addWidget(self.settingsTopBtn)
  932. self.minimizeAppBtn = QPushButton(self.rightButtons)
  933. self.minimizeAppBtn.setObjectName(u"minimizeAppBtn")
  934. self.minimizeAppBtn.setMinimumSize(QSize(28, 28))
  935. self.minimizeAppBtn.setMaximumSize(QSize(28, 28))
  936. self.minimizeAppBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  937. icon2 = QIcon()
  938. icon2.addFile(u":/icons/images/icons/icon_minimize.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  939. self.minimizeAppBtn.setIcon(icon2)
  940. self.minimizeAppBtn.setIconSize(QSize(20, 20))
  941. self.horizontalLayout_2.addWidget(self.minimizeAppBtn)
  942. self.maximizeRestoreAppBtn = QPushButton(self.rightButtons)
  943. self.maximizeRestoreAppBtn.setObjectName(u"maximizeRestoreAppBtn")
  944. self.maximizeRestoreAppBtn.setMinimumSize(QSize(28, 28))
  945. self.maximizeRestoreAppBtn.setMaximumSize(QSize(28, 28))
  946. font3 = QFont()
  947. font3.setFamilies([u"Segoe UI"])
  948. font3.setPointSize(10)
  949. font3.setBold(False)
  950. font3.setItalic(False)
  951. font3.setStyleStrategy(QFont.PreferDefault)
  952. self.maximizeRestoreAppBtn.setFont(font3)
  953. self.maximizeRestoreAppBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  954. icon3 = QIcon()
  955. icon3.addFile(u":/icons/images/icons/icon_maximize.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  956. self.maximizeRestoreAppBtn.setIcon(icon3)
  957. self.maximizeRestoreAppBtn.setIconSize(QSize(20, 20))
  958. self.horizontalLayout_2.addWidget(self.maximizeRestoreAppBtn)
  959. self.closeAppBtn = QPushButton(self.rightButtons)
  960. self.closeAppBtn.setObjectName(u"closeAppBtn")
  961. self.closeAppBtn.setMinimumSize(QSize(28, 28))
  962. self.closeAppBtn.setMaximumSize(QSize(28, 28))
  963. self.closeAppBtn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  964. self.closeAppBtn.setIcon(icon)
  965. self.closeAppBtn.setIconSize(QSize(20, 20))
  966. self.horizontalLayout_2.addWidget(self.closeAppBtn)
  967. self.horizontalLayout.addWidget(self.rightButtons, 0, Qt.AlignmentFlag.AlignRight)
  968. self.verticalLayout_2.addWidget(self.contentTopBg)
  969. self.contentBottom = QFrame(self.contentBox)
  970. self.contentBottom.setObjectName(u"contentBottom")
  971. self.contentBottom.setFrameShape(QFrame.Shape.NoFrame)
  972. self.contentBottom.setFrameShadow(QFrame.Shadow.Raised)
  973. self.verticalLayout_6 = QVBoxLayout(self.contentBottom)
  974. self.verticalLayout_6.setSpacing(0)
  975. self.verticalLayout_6.setObjectName(u"verticalLayout_6")
  976. self.verticalLayout_6.setContentsMargins(0, 0, 0, 0)
  977. self.content = QFrame(self.contentBottom)
  978. self.content.setObjectName(u"content")
  979. self.content.setFrameShape(QFrame.Shape.NoFrame)
  980. self.content.setFrameShadow(QFrame.Shadow.Raised)
  981. self.horizontalLayout_4 = QHBoxLayout(self.content)
  982. self.horizontalLayout_4.setSpacing(0)
  983. self.horizontalLayout_4.setObjectName(u"horizontalLayout_4")
  984. self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0)
  985. self.pagesContainer = QFrame(self.content)
  986. self.pagesContainer.setObjectName(u"pagesContainer")
  987. self.pagesContainer.setStyleSheet(u"")
  988. self.pagesContainer.setFrameShape(QFrame.Shape.NoFrame)
  989. self.pagesContainer.setFrameShadow(QFrame.Shadow.Raised)
  990. self.gridLayout_3 = QGridLayout(self.pagesContainer)
  991. self.gridLayout_3.setObjectName(u"gridLayout_3")
  992. self.gridLayout_3.setContentsMargins(10, 10, 10, 10)
  993. self.stackedWidget = QStackedWidget(self.pagesContainer)
  994. self.stackedWidget.setObjectName(u"stackedWidget")
  995. sizePolicy3 = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
  996. sizePolicy3.setHorizontalStretch(0)
  997. sizePolicy3.setVerticalStretch(0)
  998. sizePolicy3.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth())
  999. self.stackedWidget.setSizePolicy(sizePolicy3)
  1000. self.stackedWidget.setStyleSheet(u"background: transparent;")
  1001. self.stackedWidget.setFrameShadow(QFrame.Shadow.Plain)
  1002. self.stackedWidget.setLineWidth(1)
  1003. self.home = QWidget()
  1004. self.home.setObjectName(u"home")
  1005. self.home.setStyleSheet(u"")
  1006. self.verticalLayout_15 = QVBoxLayout(self.home)
  1007. self.verticalLayout_15.setObjectName(u"verticalLayout_15")
  1008. self.verticalLayout_21 = QVBoxLayout()
  1009. self.verticalLayout_21.setObjectName(u"verticalLayout_21")
  1010. self.title_func = QLabel(self.home)
  1011. self.title_func.setObjectName(u"title_func")
  1012. self.title_func.setMaximumSize(QSize(16777215, 35))
  1013. self.title_func.setFont(font)
  1014. self.verticalLayout_21.addWidget(self.title_func)
  1015. self.horizontalLayout_13 = QHBoxLayout()
  1016. self.horizontalLayout_13.setSpacing(60)
  1017. self.horizontalLayout_13.setObjectName(u"horizontalLayout_13")
  1018. self.process_1 = QVBoxLayout()
  1019. self.process_1.setObjectName(u"process_1")
  1020. self.frame = QFrame(self.home)
  1021. self.frame.setObjectName(u"frame")
  1022. self.frame.setFrameShape(QFrame.Shape.StyledPanel)
  1023. self.frame.setFrameShadow(QFrame.Shadow.Plain)
  1024. self.frame.setLineWidth(1)
  1025. self.layoutWidget = QWidget(self.frame)
  1026. self.layoutWidget.setObjectName(u"layoutWidget")
  1027. self.layoutWidget.setGeometry(QRect(0, 0, 161, 41))
  1028. self.horizontalLayout_6 = QHBoxLayout(self.layoutWidget)
  1029. self.horizontalLayout_6.setSpacing(10)
  1030. self.horizontalLayout_6.setObjectName(u"horizontalLayout_6")
  1031. self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
  1032. self.num_1 = QLabel(self.layoutWidget)
  1033. self.num_1.setObjectName(u"num_1")
  1034. self.num_1.setMaximumSize(QSize(25, 25))
  1035. self.num_1.setStyleSheet(u"background-image: url(:/icons/images/icons/No1.png);\n"
  1036. "background-repeat:no-repeat")
  1037. self.horizontalLayout_6.addWidget(self.num_1)
  1038. self.text_1 = QLabel(self.layoutWidget)
  1039. self.text_1.setObjectName(u"text_1")
  1040. self.text_1.setMaximumSize(QSize(60, 27))
  1041. self.horizontalLayout_6.addWidget(self.text_1)
  1042. self.description1 = QLabel(self.frame)
  1043. self.description1.setObjectName(u"description1")
  1044. self.description1.setGeometry(QRect(35, 145, 91, 36))
  1045. self.description1.setAlignment(Qt.AlignmentFlag.AlignCenter)
  1046. self.description1.setWordWrap(True)
  1047. self.img_1 = QLabel(self.frame)
  1048. self.img_1.setObjectName(u"img_1")
  1049. self.img_1.setGeometry(QRect(45, 50, 71, 81))
  1050. self.img_1.setStyleSheet(u"background-image: url(:/icons/images/icons/excel.png);\n"
  1051. "background-repeat:no-repeat;\n"
  1052. "")
  1053. self.process_1.addWidget(self.frame)
  1054. self.horizontalLayout_13.addLayout(self.process_1)
  1055. self.process_2 = QVBoxLayout()
  1056. self.process_2.setObjectName(u"process_2")
  1057. self.frame_2 = QFrame(self.home)
  1058. self.frame_2.setObjectName(u"frame_2")
  1059. self.frame_2.setFrameShape(QFrame.Shape.StyledPanel)
  1060. self.frame_2.setFrameShadow(QFrame.Shadow.Plain)
  1061. self.layoutWidget_3 = QWidget(self.frame_2)
  1062. self.layoutWidget_3.setObjectName(u"layoutWidget_3")
  1063. self.layoutWidget_3.setGeometry(QRect(0, 0, 161, 41))
  1064. self.horizontalLayout_7 = QHBoxLayout(self.layoutWidget_3)
  1065. self.horizontalLayout_7.setSpacing(10)
  1066. self.horizontalLayout_7.setObjectName(u"horizontalLayout_7")
  1067. self.horizontalLayout_7.setContentsMargins(0, 0, 0, 0)
  1068. self.num_2 = QLabel(self.layoutWidget_3)
  1069. self.num_2.setObjectName(u"num_2")
  1070. self.num_2.setMaximumSize(QSize(25, 25))
  1071. self.num_2.setStyleSheet(u"background-image: url(:/icons/images/icons/No2.png);\n"
  1072. "background-repeat:no-repeat")
  1073. self.horizontalLayout_7.addWidget(self.num_2)
  1074. self.text_2 = QLabel(self.layoutWidget_3)
  1075. self.text_2.setObjectName(u"text_2")
  1076. self.text_2.setMaximumSize(QSize(60, 27))
  1077. self.horizontalLayout_7.addWidget(self.text_2)
  1078. self.description1_2 = QLabel(self.frame_2)
  1079. self.description1_2.setObjectName(u"description1_2")
  1080. self.description1_2.setGeometry(QRect(25, 140, 111, 61))
  1081. self.description1_2.setAlignment(Qt.AlignmentFlag.AlignCenter)
  1082. self.description1_2.setWordWrap(True)
  1083. self.img_2 = QLabel(self.frame_2)
  1084. self.img_2.setObjectName(u"img_2")
  1085. self.img_2.setGeometry(QRect(45, 50, 81, 71))
  1086. self.img_2.setStyleSheet(u"background-image: url(:/icons/images/icons/view.png);\n"
  1087. "background-repeat:no-repeat;")
  1088. self.process_2.addWidget(self.frame_2)
  1089. self.horizontalLayout_13.addLayout(self.process_2)
  1090. self.process_3 = QVBoxLayout()
  1091. self.process_3.setObjectName(u"process_3")
  1092. self.frame_3 = QFrame(self.home)
  1093. self.frame_3.setObjectName(u"frame_3")
  1094. self.frame_3.setFrameShape(QFrame.Shape.StyledPanel)
  1095. self.frame_3.setFrameShadow(QFrame.Shadow.Plain)
  1096. self.layoutWidget_5 = QWidget(self.frame_3)
  1097. self.layoutWidget_5.setObjectName(u"layoutWidget_5")
  1098. self.layoutWidget_5.setGeometry(QRect(0, 0, 161, 41))
  1099. self.horizontalLayout_8 = QHBoxLayout(self.layoutWidget_5)
  1100. self.horizontalLayout_8.setSpacing(10)
  1101. self.horizontalLayout_8.setObjectName(u"horizontalLayout_8")
  1102. self.horizontalLayout_8.setContentsMargins(0, 0, 0, 0)
  1103. self.num_3 = QLabel(self.layoutWidget_5)
  1104. self.num_3.setObjectName(u"num_3")
  1105. self.num_3.setMaximumSize(QSize(25, 25))
  1106. self.num_3.setStyleSheet(u"background-image: url(:/icons/images/icons/No3.png);\n"
  1107. "background-repeat:no-repeat")
  1108. self.horizontalLayout_8.addWidget(self.num_3)
  1109. self.text_3 = QLabel(self.layoutWidget_5)
  1110. self.text_3.setObjectName(u"text_3")
  1111. self.text_3.setMaximumSize(QSize(60, 27))
  1112. self.horizontalLayout_8.addWidget(self.text_3)
  1113. self.description1_3 = QLabel(self.frame_3)
  1114. self.description1_3.setObjectName(u"description1_3")
  1115. self.description1_3.setGeometry(QRect(20, 139, 121, 61))
  1116. self.description1_3.setAlignment(Qt.AlignmentFlag.AlignCenter)
  1117. self.description1_3.setWordWrap(True)
  1118. self.img_3 = QLabel(self.frame_3)
  1119. self.img_3.setObjectName(u"img_3")
  1120. self.img_3.setGeometry(QRect(45, 50, 71, 81))
  1121. self.img_3.setStyleSheet(u"background-image: url(:/icons/images/icons/data.png);\n"
  1122. "background-repeat:no-repeat;")
  1123. self.process_3.addWidget(self.frame_3)
  1124. self.horizontalLayout_13.addLayout(self.process_3)
  1125. self.process_4 = QVBoxLayout()
  1126. self.process_4.setObjectName(u"process_4")
  1127. self.frame_4 = QFrame(self.home)
  1128. self.frame_4.setObjectName(u"frame_4")
  1129. self.frame_4.setFrameShape(QFrame.Shape.StyledPanel)
  1130. self.frame_4.setFrameShadow(QFrame.Shadow.Plain)
  1131. self.layoutWidget_7 = QWidget(self.frame_4)
  1132. self.layoutWidget_7.setObjectName(u"layoutWidget_7")
  1133. self.layoutWidget_7.setGeometry(QRect(0, 0, 161, 41))
  1134. self.horizontalLayout_10 = QHBoxLayout(self.layoutWidget_7)
  1135. self.horizontalLayout_10.setSpacing(10)
  1136. self.horizontalLayout_10.setObjectName(u"horizontalLayout_10")
  1137. self.horizontalLayout_10.setContentsMargins(0, 0, 0, 0)
  1138. self.num_4 = QLabel(self.layoutWidget_7)
  1139. self.num_4.setObjectName(u"num_4")
  1140. self.num_4.setMaximumSize(QSize(25, 25))
  1141. self.num_4.setStyleSheet(u"background-image: url(:/icons/images/icons/No4.png);\n"
  1142. "background-repeat:no-repeat")
  1143. self.horizontalLayout_10.addWidget(self.num_4)
  1144. self.text_4 = QLabel(self.layoutWidget_7)
  1145. self.text_4.setObjectName(u"text_4")
  1146. self.text_4.setMaximumSize(QSize(60, 27))
  1147. self.horizontalLayout_10.addWidget(self.text_4)
  1148. self.description1_4 = QLabel(self.frame_4)
  1149. self.description1_4.setObjectName(u"description1_4")
  1150. self.description1_4.setGeometry(QRect(23, 138, 111, 61))
  1151. self.description1_4.setAlignment(Qt.AlignmentFlag.AlignCenter)
  1152. self.description1_4.setWordWrap(True)
  1153. self.img_4 = QLabel(self.frame_4)
  1154. self.img_4.setObjectName(u"img_4")
  1155. self.img_4.setGeometry(QRect(40, 50, 71, 81))
  1156. self.img_4.setStyleSheet(u"background-image: url(:/icons/images/icons/save.png);\n"
  1157. "background-repeat:no-repeat;")
  1158. self.process_4.addWidget(self.frame_4)
  1159. self.horizontalLayout_13.addLayout(self.process_4)
  1160. self.verticalLayout_21.addLayout(self.horizontalLayout_13)
  1161. self.frame_5 = QFrame(self.home)
  1162. self.frame_5.setObjectName(u"frame_5")
  1163. self.frame_5.setFrameShape(QFrame.Shape.StyledPanel)
  1164. self.frame_5.setFrameShadow(QFrame.Shadow.Sunken)
  1165. self.frame_5.setLineWidth(1)
  1166. self.frame_5.setMidLineWidth(0)
  1167. self.label_2 = QLabel(self.frame_5)
  1168. self.label_2.setObjectName(u"label_2")
  1169. self.label_2.setGeometry(QRect(10, 10, 61, 21))
  1170. self.label_3 = QLabel(self.frame_5)
  1171. self.label_3.setObjectName(u"label_3")
  1172. self.label_3.setGeometry(QRect(13, 35, 761, 181))
  1173. self.label_3.setWordWrap(True)
  1174. self.verticalLayout_21.addWidget(self.frame_5)
  1175. self.verticalLayout_15.addLayout(self.verticalLayout_21)
  1176. self.stackedWidget.addWidget(self.home)
  1177. self.widgets = QWidget()
  1178. self.widgets.setObjectName(u"widgets")
  1179. self.widgets.setStyleSheet(u"b")
  1180. self.verticalLayout = QVBoxLayout(self.widgets)
  1181. self.verticalLayout.setSpacing(20)
  1182. self.verticalLayout.setObjectName(u"verticalLayout")
  1183. self.verticalLayout.setContentsMargins(10, 10, 10, 10)
  1184. self.row_1 = QFrame(self.widgets)
  1185. self.row_1.setObjectName(u"row_1")
  1186. self.row_1.setMinimumSize(QSize(0, 0))
  1187. self.row_1.setMaximumSize(QSize(16777215, 113))
  1188. self.row_1.setFrameShape(QFrame.Shape.StyledPanel)
  1189. self.row_1.setFrameShadow(QFrame.Shadow.Raised)
  1190. self.verticalLayout_16 = QVBoxLayout(self.row_1)
  1191. self.verticalLayout_16.setSpacing(0)
  1192. self.verticalLayout_16.setObjectName(u"verticalLayout_16")
  1193. self.verticalLayout_16.setContentsMargins(0, 0, 0, 0)
  1194. self.frame_div_content_1 = QFrame(self.row_1)
  1195. self.frame_div_content_1.setObjectName(u"frame_div_content_1")
  1196. self.frame_div_content_1.setMinimumSize(QSize(0, 110))
  1197. self.frame_div_content_1.setMaximumSize(QSize(16777215, 110))
  1198. self.frame_div_content_1.setFrameShape(QFrame.Shape.NoFrame)
  1199. self.frame_div_content_1.setFrameShadow(QFrame.Shadow.Raised)
  1200. self.verticalLayout_17 = QVBoxLayout(self.frame_div_content_1)
  1201. self.verticalLayout_17.setSpacing(0)
  1202. self.verticalLayout_17.setObjectName(u"verticalLayout_17")
  1203. self.verticalLayout_17.setContentsMargins(0, 0, 0, 0)
  1204. self.frame_title_wid_1 = QFrame(self.frame_div_content_1)
  1205. self.frame_title_wid_1.setObjectName(u"frame_title_wid_1")
  1206. self.frame_title_wid_1.setMaximumSize(QSize(16777215, 34))
  1207. self.frame_title_wid_1.setFrameShape(QFrame.Shape.NoFrame)
  1208. self.frame_title_wid_1.setFrameShadow(QFrame.Shadow.Raised)
  1209. self.verticalLayout_18 = QVBoxLayout(self.frame_title_wid_1)
  1210. self.verticalLayout_18.setObjectName(u"verticalLayout_18")
  1211. self.labelBoxBlenderInstalation = QLabel(self.frame_title_wid_1)
  1212. self.labelBoxBlenderInstalation.setObjectName(u"labelBoxBlenderInstalation")
  1213. self.labelBoxBlenderInstalation.setFont(font)
  1214. self.labelBoxBlenderInstalation.setStyleSheet(u"")
  1215. self.verticalLayout_18.addWidget(self.labelBoxBlenderInstalation)
  1216. self.verticalLayout_17.addWidget(self.frame_title_wid_1)
  1217. self.frame_content_wid_1 = QFrame(self.frame_div_content_1)
  1218. self.frame_content_wid_1.setObjectName(u"frame_content_wid_1")
  1219. self.frame_content_wid_1.setMinimumSize(QSize(0, 65))
  1220. self.frame_content_wid_1.setMaximumSize(QSize(16777215, 300))
  1221. self.frame_content_wid_1.setFrameShape(QFrame.Shape.NoFrame)
  1222. self.frame_content_wid_1.setFrameShadow(QFrame.Shadow.Raised)
  1223. self.horizontalLayout_9 = QHBoxLayout(self.frame_content_wid_1)
  1224. self.horizontalLayout_9.setObjectName(u"horizontalLayout_9")
  1225. self.gridLayout = QGridLayout()
  1226. self.gridLayout.setObjectName(u"gridLayout")
  1227. self.gridLayout.setHorizontalSpacing(7)
  1228. self.gridLayout.setVerticalSpacing(4)
  1229. self.gridLayout.setContentsMargins(-1, -1, -1, 0)
  1230. self.label = QLabel(self.frame_content_wid_1)
  1231. self.label.setObjectName(u"label")
  1232. self.label.setMaximumSize(QSize(60, 16777215))
  1233. self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
  1234. self.comboBox = QComboBox(self.frame_content_wid_1)
  1235. self.comboBox.setObjectName(u"comboBox")
  1236. self.comboBox.setMaximumSize(QSize(350, 16777215))
  1237. self.comboBox.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1238. self.comboBox.setStyleSheet(u"QComboBox QAbstractItemView {\n"
  1239. " border: 2px solid #282c34;\n"
  1240. " background-color: rgba(40, 44, 52,.7);\n"
  1241. " border-radius-bottom: 15px;\n"
  1242. " padding: 1px 2px 1px 2px; \n"
  1243. " min-width: 9em; \n"
  1244. "}\n"
  1245. "")
  1246. # 获取当前脚本所在的目录
  1247. current_dir = os.path.dirname(os.path.abspath(__file__))
  1248. # 构建 SQL 文件夹的相对路径(上一级的上一级中的 SQL 文件夹)
  1249. sql_folder = os.path.join(current_dir, '..', '..', 'SQL')
  1250. # 将相对路径转换为绝对路径
  1251. sql_folder = os.path.abspath(sql_folder)
  1252. # 确保 SQL 文件夹存在
  1253. if not os.path.exists(sql_folder):
  1254. QMessageBox.critical(MainWindow, "错误", "SQL 文件夹不存在")
  1255. return
  1256. # 初始化 ComboBoxUpdater
  1257. self.updater = ComboBoxUpdater(self.comboBox, sql_folder)
  1258. self.observer = Observer()
  1259. self.observer.schedule(self.updater, path=sql_folder, recursive=False)
  1260. self.observer.start()
  1261. # 更新 comboBox 的初始内容
  1262. self.updater.update_combo_box()
  1263. self.gridLayout.addWidget(self.comboBox, 0, 1, 1, 1)
  1264. self.lineEdit = QLineEdit(self.frame_content_wid_1)
  1265. self.lineEdit.setObjectName(u"lineEdit")
  1266. self.lineEdit.setMinimumSize(QSize(0, 25))
  1267. self.lineEdit.setMaximumSize(QSize(250, 35))
  1268. self.lineEdit.setStyleSheet(u"background-color: rgb(33, 37, 43);")
  1269. self.gridLayout.addWidget(self.lineEdit, 0, 2, 1, 1)
  1270. self.createFile = QPushButton(self.frame_content_wid_1)
  1271. self.createFile.setObjectName(u"createFile")
  1272. self.createFile.setMinimumSize(QSize(150, 26))
  1273. self.createFile.setMaximumSize(QSize(60, 16777215))
  1274. self.createFile.setFont(font)
  1275. self.createFile.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1276. self.createFile.setStyleSheet(u"background-color: rgb(52, 59, 72);")
  1277. # 将 createFile 按钮的点击事件与 自身的create_database_and_tables 函数关联,用于创建数据库
  1278. self.createFile.clicked.connect(create_database_and_tables)
  1279. icon4 = QIcon()
  1280. icon4.addFile(u":/icons/images/icons/cil-folder-open.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1281. self.createFile.setIcon(icon4)
  1282. self.gridLayout.addWidget(self.createFile, 0, 3, 1, 1)
  1283. self.label_4 = QLabel(self.frame_content_wid_1)
  1284. self.label_4.setObjectName(u"label_4")
  1285. self.gridLayout.addWidget(self.label_4, 1, 0, 1, 1)
  1286. self.comboBox_2 = QComboBox(self.frame_content_wid_1)
  1287. self.comboBox_2.addItem("")
  1288. self.comboBox_2.addItem("")
  1289. self.comboBox_2.addItem("")
  1290. self.comboBox_2.setObjectName(u"comboBox_2")
  1291. # self.comboBox_2.currentTextChanged.connect(lambda: print(self.comboBox_2.currentText())) # 确定下拉框选择
  1292. self.comboBox_2.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1293. self.comboBox_2.setStyleSheet(u"QComboBox QAbstractItemView {\n"
  1294. " border: 2px solid #282c34;\n"
  1295. " background-color: rgba(40, 44, 52,.7);\n"
  1296. " border-radius-bottom: 15px;\n"
  1297. " padding: 1px 2px 1px 2px; \n"
  1298. " min-width: 9em; \n"
  1299. "}")
  1300. self.gridLayout.addWidget(self.comboBox_2, 1, 1, 1, 1)
  1301. self.horizontalLayout_9.addLayout(self.gridLayout)
  1302. self.verticalLayout_17.addWidget(self.frame_content_wid_1)
  1303. self.verticalLayout_16.addWidget(self.frame_div_content_1)
  1304. self.verticalLayout.addWidget(self.row_1)
  1305. self.row_2 = QFrame(self.widgets)
  1306. self.row_2.setObjectName(u"row_2")
  1307. self.row_2.setMinimumSize(QSize(0, 150))
  1308. self.row_2.setMaximumSize(QSize(16777215, 150))
  1309. self.row_2.setFrameShape(QFrame.Shape.StyledPanel)
  1310. self.row_2.setFrameShadow(QFrame.Shadow.Raised)
  1311. self.formLayout = QFormLayout(self.row_2)
  1312. self.formLayout.setObjectName(u"formLayout")
  1313. self.upload = QPushButton(self.row_2)
  1314. self.upload.setObjectName(u"upload")
  1315. sizePolicy2.setHeightForWidth(self.upload.sizePolicy().hasHeightForWidth())
  1316. self.upload.setSizePolicy(sizePolicy2)
  1317. self.upload.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1318. self.upload.setStyleSheet(u"color: rgb(178, 138, 234);\n"
  1319. "")
  1320. # self.upload.clicked.connect(self.execute_script_based_on_selection)
  1321. self.formLayout.setWidget(0, QFormLayout.SpanningRole, self.upload)
  1322. self.compute = QPushButton(self.row_2)
  1323. self.compute.setObjectName(u"compute")
  1324. self.compute.setMinimumSize(QSize(65, 25))
  1325. self.compute.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1326. self.formLayout.setWidget(1, QFormLayout.LabelRole, self.compute)
  1327. self.verticalLayout.addWidget(self.row_2)
  1328. self.row_3 = QFrame(self.widgets)
  1329. self.row_3.setObjectName(u"row_3")
  1330. self.row_3.setMinimumSize(QSize(0, 0))
  1331. self.row_3.setMaximumSize(QSize(16777215, 180))
  1332. self.row_3.setFrameShape(QFrame.Shape.StyledPanel)
  1333. self.row_3.setFrameShadow(QFrame.Shadow.Raised)
  1334. self.row_3.setLineWidth(1)
  1335. self.formLayout_2 = QFormLayout(self.row_3)
  1336. self.formLayout_2.setObjectName(u"formLayout_2")
  1337. self.formLayout_2.setHorizontalSpacing(6)
  1338. self.formLayout_2.setVerticalSpacing(6)
  1339. self.formLayout_2.setContentsMargins(-1, 27, -1, -1)
  1340. self.gridLayout_2 = QGridLayout()
  1341. self.gridLayout_2.setObjectName(u"gridLayout_2")
  1342. self.gridLayout_2.setHorizontalSpacing(25)
  1343. self.verticalLayout_19 = QVBoxLayout()
  1344. self.verticalLayout_19.setSpacing(0)
  1345. self.verticalLayout_19.setObjectName(u"verticalLayout_19")
  1346. self.label_6 = QLabel(self.row_3)
  1347. self.label_6.setObjectName(u"label_6")
  1348. self.verticalLayout_19.addWidget(self.label_6)
  1349. self.label_5 = QLabel(self.row_3)
  1350. self.label_5.setObjectName(u"label_5")
  1351. self.verticalLayout_19.addWidget(self.label_5)
  1352. self.gridLayout_2.addLayout(self.verticalLayout_19, 0, 0, 1, 1)
  1353. self.verticalLayout_22 = QVBoxLayout()
  1354. self.verticalLayout_22.setSpacing(16)
  1355. self.verticalLayout_22.setObjectName(u"verticalLayout_22")
  1356. self.download_1 = QPushButton(self.row_3)
  1357. self.download_1.setObjectName(u"download_1")
  1358. self.verticalLayout_22.addWidget(self.download_1)
  1359. # 下载2
  1360. self.download_2 = QPushButton(self.row_3)
  1361. self.download_2.setObjectName(u"download_2")
  1362. self.verticalLayout_22.addWidget(self.download_2)
  1363. # 下载3
  1364. self.download_3 = QPushButton(self.row_3)
  1365. self.download_3.setObjectName(u"download_3")
  1366. self.verticalLayout_22.addWidget(self.download_3)
  1367. self.gridLayout_2.addLayout(self.verticalLayout_22, 0, 1, 1, 1)
  1368. self.verticalLayout_23 = QVBoxLayout()
  1369. self.verticalLayout_23.setSpacing(3)
  1370. self.verticalLayout_23.setObjectName(u"verticalLayout_23")
  1371. self.label_7 = QLabel(self.row_3)
  1372. self.label_7.setObjectName(u"label_7")
  1373. self.verticalLayout_23.addWidget(self.label_7)
  1374. self.label_8 = QLabel(self.row_3)
  1375. self.label_8.setObjectName(u"label_8")
  1376. self.verticalLayout_23.addWidget(self.label_8)
  1377. self.label_9 = QLabel(self.row_3)
  1378. self.label_9.setObjectName(u"label_9")
  1379. self.verticalLayout_23.addWidget(self.label_9)
  1380. self.gridLayout_2.addLayout(self.verticalLayout_23, 0, 2, 1, 1)
  1381. self.formLayout_2.setLayout(0, QFormLayout.SpanningRole, self.gridLayout_2)
  1382. self.verticalLayout.addWidget(self.row_3)
  1383. self.stackedWidget.addWidget(self.widgets)
  1384. self.new_page = QWidget()
  1385. self.new_page.setObjectName(u"new_page")
  1386. self.verticalLayout_25 = QVBoxLayout(self.new_page)
  1387. self.verticalLayout_25.setObjectName(u"verticalLayout_25")
  1388. self.verticalLayout_20 = QVBoxLayout()
  1389. self.verticalLayout_20.setObjectName(u"verticalLayout_20")
  1390. self.label_10 = QLabel(self.new_page)
  1391. self.label_10.setObjectName(u"label_10")
  1392. self.verticalLayout_20.addWidget(self.label_10)
  1393. self.tabWidget = QTabWidget(self.new_page)
  1394. self.tabWidget.setObjectName(u"tabWidget")
  1395. self.tabWidget.setCursor(QCursor(Qt.CursorShape.ArrowCursor))
  1396. self.tabWidget.setTabPosition(QTabWidget.TabPosition.North)
  1397. self.tabWidget.setTabShape(QTabWidget.TabShape.Rounded)
  1398. self.tabWidget.setElideMode(Qt.TextElideMode.ElideRight)
  1399. self.tabWidget.setTabsClosable(False)
  1400. self.tabWidget.setTabBarAutoHide(False)
  1401. self.resultTable = QWidget()
  1402. self.resultTable.setObjectName(u"resultTable")
  1403. self.verticalLayout_29 = QVBoxLayout(self.resultTable)
  1404. self.verticalLayout_29.setObjectName(u"verticalLayout_29")
  1405. self.resultTableView = QTableView(self.resultTable)
  1406. self.resultTableView.setObjectName(u"resultTableView")
  1407. # 隐藏 resultTableView
  1408. self.resultTableView.hide()
  1409. # 创建一个 QLabel 并设置文本(第三页文本中心默认提醒)
  1410. self.default_remind = QLabel("在上一步计算完成后将显示结果", self.resultTable)
  1411. self.default_remind.setAlignment(Qt.AlignCenter) # 设置文本居中对齐
  1412. # 将 QLabel 添加到布局中
  1413. self.verticalLayout_29.addWidget(self.default_remind)
  1414. # 表格显示
  1415. self.verticalLayout_29.addWidget(self.resultTableView)
  1416. icon5 = QIcon()
  1417. icon5.addFile(u":/icons/images/icons/1.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1418. self.tabWidget.addTab(self.resultTable, icon5, "")
  1419. self.printTable = QWidget()
  1420. self.printTable.setObjectName(u"printTable")
  1421. self.printTable.setMouseTracking(False)
  1422. self.printTable.setTabletTracking(False)
  1423. self.verticalLayout_28 = QVBoxLayout(self.printTable)
  1424. self.verticalLayout_28.setObjectName(u"verticalLayout_28")
  1425. self.printTableView = QTextEdit(self.printTable)
  1426. self.printTableView.setObjectName(u"printTableView")
  1427. self.printTableView.setReadOnly(True)
  1428. self.verticalLayout_28.addWidget(self.printTableView)
  1429. icon6 = QIcon()
  1430. icon6.addFile(u":/icons/images/icons/2.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1431. self.tabWidget.addTab(self.printTable, icon6, "")
  1432. self.reconTable = QWidget()
  1433. self.reconTable.setObjectName(u"reconTable")
  1434. self.reconTable.setCursor(QCursor(Qt.CursorShape.UpArrowCursor))
  1435. self.reconTable.setMouseTracking(False)
  1436. self.reconTable.setTabletTracking(False)
  1437. self.verticalLayout_26 = QVBoxLayout(self.reconTable)
  1438. self.verticalLayout_26.setObjectName(u"verticalLayout_26")
  1439. self.reconTableView = QTableView(self.reconTable)
  1440. self.reconTableView.setObjectName(u"modelTableView")
  1441. self.verticalLayout_26.addWidget(self.reconTableView)
  1442. icon7 = QIcon()
  1443. icon7.addFile(u":/icons/images/icons/3.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1444. self.tabWidget.addTab(self.reconTable, icon7, "")
  1445. self.verticalLayout_20.addWidget(self.tabWidget)
  1446. self.verticalLayout_25.addLayout(self.verticalLayout_20)
  1447. self.export_2 = QPushButton(self.new_page)
  1448. self.export_2.setObjectName(u"export_2")
  1449. self.export_2.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
  1450. self.export_2.setStyleSheet(u"background-color: rgb(52, 59, 72);")
  1451. self.verticalLayout_25.addWidget(self.export_2)
  1452. self.stackedWidget.addWidget(self.new_page)
  1453. self.datainfo = QWidget()
  1454. self.datainfo.setObjectName(u"datainfo")
  1455. self.formLayout_3 = QFormLayout(self.datainfo)
  1456. self.formLayout_3.setObjectName(u"formLayout_3")
  1457. self.verticalLayout_24 = QVBoxLayout()
  1458. self.verticalLayout_24.setSpacing(6)
  1459. self.verticalLayout_24.setObjectName(u"verticalLayout_24")
  1460. self.horizontalLayout_12 = QHBoxLayout()
  1461. self.horizontalLayout_12.setObjectName(u"horizontalLayout_12")
  1462. self.lineEdit_2 = QLineEdit(self.datainfo)
  1463. self.lineEdit_2.setObjectName(u"lineEdit_2")
  1464. self.lineEdit_2.setStyleSheet(u"background-color: rgb(33, 37, 43);")
  1465. self.horizontalLayout_12.addWidget(self.lineEdit_2)
  1466. # 设置到处结果显示页面(tabWidget)的默认隐藏2.3页
  1467. self.tabWidget.setTabVisible(1, False)
  1468. self.tabWidget.setTabVisible(2, False)
  1469. self.search = QPushButton(self.datainfo)
  1470. self.search.setObjectName(u"search")
  1471. sizePolicy4 = QSizePolicy(QSizePolicy.Policy.Minimum, QSizePolicy.Policy.Fixed)
  1472. sizePolicy4.setHorizontalStretch(0)
  1473. sizePolicy4.setVerticalStretch(0)
  1474. sizePolicy4.setHeightForWidth(self.search.sizePolicy().hasHeightForWidth())
  1475. self.search.setSizePolicy(sizePolicy4)
  1476. self.search.setMinimumSize(QSize(10, 10))
  1477. self.search.setMaximumSize(QSize(30, 24))
  1478. self.search.setStyleSheet(u"")
  1479. icon9 = QIcon()
  1480. icon9.addFile(u":/icons/images/icons/cil-magnifying-glass.png", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
  1481. self.search.setIcon(icon9)
  1482. self.horizontalLayout_12.addWidget(self.search)
  1483. self.verticalLayout_24.addLayout(self.horizontalLayout_12)
  1484. self.comboBox_3 = QComboBox(self.datainfo)
  1485. self.comboBox_3.setObjectName(u"comboBox_3")
  1486. self.comboBox_3.setStyleSheet(u"QComboBox QAbstractItemView {\n"
  1487. " border: 2px solid #282c34;\n"
  1488. " background-color: rgba(40, 44, 52,.7);\n"
  1489. " border-radius-bottom: 15px;\n"
  1490. " padding: 1px 2px 1px 2px; \n"
  1491. " min-width: 9em; \n"
  1492. "}")
  1493. self.verticalLayout_24.addWidget(self.comboBox_3)
  1494. self.qureyListView = QListView(self.datainfo)
  1495. self.qureyListView.setObjectName(u"qureyListView")
  1496. self.verticalLayout_24.addWidget(self.qureyListView)
  1497. self.comboBox_4 = QComboBox(self.datainfo)
  1498. self.comboBox_4.setObjectName(u"comboBox_4")
  1499. self.comboBox_4.setStyleSheet(u"QComboBox QAbstractItemView {\n"
  1500. " border: 2px solid #282c34;\n"
  1501. " background-color: rgba(40, 44, 52,.7);\n"
  1502. " border-radius-bottom: 15px;\n"
  1503. " padding: 1px 2px 1px 2px; \n"
  1504. " min-width: 9em; \n"
  1505. "}")
  1506. self.verticalLayout_24.addWidget(self.comboBox_4)
  1507. self.allListView = QListView(self.datainfo)
  1508. self.allListView.setObjectName(u"allListView")
  1509. self.verticalLayout_24.addWidget(self.allListView)
  1510. self.formLayout_3.setLayout(0, QFormLayout.LabelRole, self.verticalLayout_24)
  1511. self.verticalLayout_30 = QVBoxLayout()
  1512. self.verticalLayout_30.setObjectName(u"verticalLayout_30")
  1513. self.horizontalLayout_11 = QHBoxLayout()
  1514. self.horizontalLayout_11.setObjectName(u"horizontalLayout_11")
  1515. self.label_11 = QLabel(self.datainfo)
  1516. self.label_11.setObjectName(u"label_11")
  1517. self.label_11.setStyleSheet(u"border: 2px solid #7284b9;\n"
  1518. "border-radius: 5px;\n"
  1519. "background-color: #6272a4;\n"
  1520. "color:#FFFFFF")
  1521. self.horizontalLayout_11.addWidget(self.label_11)
  1522. self.checkBox_2 = QCheckBox(self.datainfo)
  1523. self.checkBox_2.setObjectName(u"checkBox_2")
  1524. self.horizontalLayout_11.addWidget(self.checkBox_2)
  1525. self.checkBox = QCheckBox(self.datainfo)
  1526. self.checkBox.setObjectName(u"checkBox")
  1527. self.horizontalLayout_11.addWidget(self.checkBox)
  1528. self.checkBox_3 = QCheckBox(self.datainfo)
  1529. self.checkBox_3.setObjectName(u"checkBox_3")
  1530. self.horizontalLayout_11.addWidget(self.checkBox_3)
  1531. self.checkBox_4 = QCheckBox(self.datainfo)
  1532. self.checkBox_4.setObjectName(u"checkBox_4")
  1533. self.horizontalLayout_11.addWidget(self.checkBox_4)
  1534. self.verticalLayout_30.addLayout(self.horizontalLayout_11)
  1535. self.horizontalLayout_14 = QHBoxLayout()
  1536. self.horizontalLayout_14.setObjectName(u"horizontalLayout_14")
  1537. self.label_12 = QLabel(self.datainfo)
  1538. self.label_12.setObjectName(u"label_12")
  1539. self.label_12.setStyleSheet(u"border: 2px solid #7284b9;\n"
  1540. "border-radius: 5px;\n"
  1541. "background-color: #6272a4;\n"
  1542. "color:#FFFFFF")
  1543. self.horizontalLayout_14.addWidget(self.label_12)
  1544. self.checkBox_5 = QCheckBox(self.datainfo)
  1545. self.checkBox_5.setObjectName(u"checkBox_5")
  1546. self.horizontalLayout_14.addWidget(self.checkBox_5)
  1547. self.checkBox_6 = QCheckBox(self.datainfo)
  1548. self.checkBox_6.setObjectName(u"checkBox_6")
  1549. self.horizontalLayout_14.addWidget(self.checkBox_6)
  1550. self.checkBox_7 = QCheckBox(self.datainfo)
  1551. self.checkBox_7.setObjectName(u"checkBox_7")
  1552. self.horizontalLayout_14.addWidget(self.checkBox_7)
  1553. self.checkBox_8 = QCheckBox(self.datainfo)
  1554. self.checkBox_8.setObjectName(u"checkBox_8")
  1555. self.horizontalLayout_14.addWidget(self.checkBox_8)
  1556. self.verticalLayout_30.addLayout(self.horizontalLayout_14)
  1557. self.horizontalLayout_15 = QHBoxLayout()
  1558. self.horizontalLayout_15.setObjectName(u"horizontalLayout_15")
  1559. self.label_13 = QLabel(self.datainfo)
  1560. self.label_13.setObjectName(u"label_13")
  1561. self.label_13.setStyleSheet(u"border: 2px solid #7284b9;\n"
  1562. "border-radius: 5px;\n"
  1563. "background-color: #6272a4;\n"
  1564. "color:#FFFFFF")
  1565. self.horizontalLayout_15.addWidget(self.label_13)
  1566. self.checkBox_9 = QCheckBox(self.datainfo)
  1567. self.checkBox_9.setObjectName(u"checkBox_9")
  1568. self.horizontalLayout_15.addWidget(self.checkBox_9)
  1569. self.checkBox_10 = QCheckBox(self.datainfo)
  1570. self.checkBox_10.setObjectName(u"checkBox_10")
  1571. self.horizontalLayout_15.addWidget(self.checkBox_10)
  1572. self.checkBox_11 = QCheckBox(self.datainfo)
  1573. self.checkBox_11.setObjectName(u"checkBox_11")
  1574. self.horizontalLayout_15.addWidget(self.checkBox_11)
  1575. self.checkBox_12 = QCheckBox(self.datainfo)
  1576. self.checkBox_12.setObjectName(u"checkBox_12")
  1577. self.horizontalLayout_15.addWidget(self.checkBox_12)
  1578. self.verticalLayout_30.addLayout(self.horizontalLayout_15)
  1579. self.View = QTableView(self.datainfo)
  1580. self.View.setObjectName(u"View")
  1581. self.verticalLayout_30.addWidget(self.View)
  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.label_11.setText(QCoreApplication.translate("MainWindow",
  1829. u"<html><head/><body><p><img src=\":/icons/images/icons/cil-chart-line.png\"/>\u8868\u9009\u62e9</p></body></html>",
  1830. None))
  1831. self.checkBox_2.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1832. self.checkBox.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1833. self.checkBox_3.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1834. self.checkBox_4.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1835. self.label_12.setText(QCoreApplication.translate("MainWindow",
  1836. u"<html><head/><body><p><img src=\":/icons/images/icons/cil-justify-left.png\"/>\u6392\u5e8f</p></body></html>",
  1837. None))
  1838. self.checkBox_5.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1839. self.checkBox_6.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1840. self.checkBox_7.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1841. self.checkBox_8.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1842. self.label_13.setText(QCoreApplication.translate("MainWindow",
  1843. u"<html><head/><body><p><img src=\":/icons/images/icons/cil-task.png\"/>\u7b5b\u9009</p></body></html>",
  1844. None))
  1845. self.checkBox_9.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1846. self.checkBox_10.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1847. self.checkBox_11.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1848. self.checkBox_12.setText(QCoreApplication.translate("MainWindow", u"CheckBox", None))
  1849. self.btn_message.setText(QCoreApplication.translate("MainWindow", u"\u5207\u6362\u4e3b\u9898", None))
  1850. self.creditsLabel.setText(QCoreApplication.translate("MainWindow", u"\u7248\u6743\u4fe1\u606f", None))
  1851. self.version.setText(QCoreApplication.translate("MainWindow", u"v1.0.0", None))