控制网复测平面基准归算程序(包含控制网复测平面基准计算,平面控制网稳定性计算,水准测段高差稳定计算三个程序功能)
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 107KB

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