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

ui_main.py 112KB

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