控制网复测平面基准归算程序(包含控制网复测平面基准计算,平面控制网稳定性计算,水准测段高差稳定计算三个程序功能)
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

ui_main.py 104KB

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