控制网复测平面基准归算程序(包含控制网复测平面基准计算,平面控制网稳定性计算,水准测段高差稳定计算三个程序功能)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ui_main.py 111KB

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