控制网复测平面基准归算程序(包含控制网复测平面基准计算,平面控制网稳定性计算,水准测段高差稳定计算三个程序功能)
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

py_dracula_light.qss 13KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  2. SET APP STYLESHEET - FULL STYLES HERE
  3. DARK THEME - DRACULA COLOR BASED
  4. # BY: WANDERSON M.PIMENTA
  5. # PROJECT MADE WITH: Qt Designer and PySide6
  6. # V: 1.0.0
  7. #
  8. # This project can be used freely for all uses, as long as they maintain the
  9. # respective credits only in the Python scripts, any information in the visual
  10. # interface (GUI) can be modified without any implication.
  11. #
  12. # There are limitations on Qt licenses if you want to use your products
  13. # commercially, I recommend reading them on the official website:
  14. # https://doc.qt.io/qtforpython/licenses.html
  15. ///////////////////////////////////////////////////////////////////////////////////////////////// */
  16. QWidget{
  17. color: #333;
  18. font: 10pt "Segoe UI";
  19. }
  20. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  21. Tooltip */
  22. QToolTip {
  23. color: #333;
  24. background-color: #f8f8f2;
  25. border: 1px solid #CCC;
  26. background-image: none;
  27. background-position: left center;
  28. background-repeat: no-repeat;
  29. border: none;
  30. border-left: 2px solid rgb(255, 121, 198);
  31. text-align: left;
  32. padding-left: 8px;
  33. margin: 0px;
  34. }
  35. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  36. Bg App */
  37. #bgApp {
  38. background-color: #f8f8f2;
  39. border: 1px solid #CCC;
  40. color: #44475a;
  41. }
  42. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  43. Left Menu */
  44. #leftMenuBg {
  45. background-color: #6272a4;
  46. }
  47. #topLogo {
  48. background-color: #6272a4;
  49. background-image: url(:/images/images/images/logo.png);
  50. background-position: centered;
  51. background-repeat: no-repeat;
  52. }
  53. #titleLeftApp { font: 63 12pt "Segoe UI Semibold"; color: #f8f8f2; }
  54. #titleLeftDescription { font: 8pt "Segoe UI"; color: #bd93f9; }
  55. /* MENUS */
  56. #topMenu .QPushButton {
  57. background-position: left center;
  58. background-repeat: no-repeat;
  59. border: none;
  60. border-left: 22px solid transparent;
  61. background-color: transparent;
  62. text-align: left;
  63. padding-left: 44px;
  64. color: #f8f8f2;
  65. }
  66. #topMenu .QPushButton:hover {
  67. background-color: #bd93f9;
  68. }
  69. #topMenu .QPushButton:pressed {
  70. background-color: #ff79c6;
  71. color: rgb(255, 255, 255);
  72. }
  73. #bottomMenu .QPushButton {
  74. background-position: left center;
  75. background-repeat: no-repeat;
  76. border: none;
  77. border-left: 20px solid transparent;
  78. background-color:transparent;
  79. text-align: left;
  80. padding-left: 44px;
  81. color: #f8f8f2;
  82. }
  83. #bottomMenu .QPushButton:hover {
  84. background-color: #bd93f9;
  85. }
  86. #bottomMenu .QPushButton:pressed {
  87. background-color: #ff79c6;
  88. color: rgb(255, 255, 255);
  89. }
  90. #leftMenuFrame{
  91. border-top: 3px solid #6a7cb1;
  92. }
  93. /* Toggle Button */
  94. #toggleButton {
  95. background-position: left center;
  96. background-repeat: no-repeat;
  97. border: none;
  98. border-left: 20px solid transparent;
  99. background-color: #5b6996;
  100. text-align: left;
  101. padding-left: 44px;
  102. color: #f8f8f2;
  103. }
  104. #toggleButton:hover {
  105. background-color: #bd93f9;
  106. }
  107. #toggleButton:pressed {
  108. background-color: #ff79c6;
  109. color: rgb(255, 255, 255);
  110. }
  111. /* title */
  112. #titleRightInfo {
  113. font: 20pt "Segoe UI";
  114. padding-left: 10px;
  115. }
  116. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  117. Extra Tab */
  118. #extraLeftBox {
  119. background-color: #495474;
  120. color: #f8f8f2;
  121. }
  122. #extraTopBg{
  123. background-color: rgb(189, 147, 249)
  124. }
  125. /* Icon */
  126. #extraIcon {
  127. background-position: center;
  128. background-repeat: no-repeat;
  129. background-image: url(:/icons/images/icons/icon_settings.png);
  130. }
  131. /* Label */
  132. #extraLabel { color: rgb(255, 255, 255); }
  133. /* Btn Close */
  134. #extraCloseColumnBtn { background-color: rgba(255, 255, 255, 0); border: none; border-radius: 5px; }
  135. #extraCloseColumnBtn:hover { background-color: rgb(196, 161, 249); border-style: solid; border-radius: 4px; }
  136. #extraCloseColumnBtn:pressed { background-color: rgb(180, 141, 238); border-style: solid; border-radius: 4px; }
  137. /* Extra Content */
  138. #extraContent{
  139. border-top: 3px solid #6272a4;
  140. }
  141. /* Extra Top Menus */
  142. #extraTopMenu .QPushButton {
  143. background-position: left center;
  144. background-repeat: no-repeat;
  145. border: none;
  146. border-left: 22px solid transparent;
  147. background-color:transparent;
  148. text-align: left;
  149. padding-left: 44px;
  150. color: #f8f8f2;
  151. }
  152. #extraTopMenu .QPushButton:hover {
  153. background-color: #5d6c99;
  154. }
  155. #extraTopMenu .QPushButton:pressed {
  156. background-color: rgb(189, 147, 249);
  157. color: rgb(255, 255, 255);
  158. }
  159. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  160. Content App */
  161. #contentTopBg{
  162. background-color: #6272a4;
  163. }
  164. #contentBottom{
  165. border-top: 3px solid #bd93f9;
  166. }
  167. #titleRightInfo{
  168. color: #f8f8f2;
  169. }
  170. /* Top Buttons */
  171. #rightButtons .QPushButton { background-color: rgba(255, 255, 255, 0); border: none; border-radius: 5px; }
  172. #rightButtons .QPushButton:hover { background-color: #bd93f9; border-style: solid; border-radius: 4px; }
  173. #rightButtons .QPushButton:pressed { background-color: #ff79c6; border-style: solid; border-radius: 4px; }
  174. /* Theme Settings */
  175. #extraRightBox { background-color: #495474; }
  176. #themeSettingsTopDetail { background-color: #6272a4; }
  177. /* Bottom Bar */
  178. #bottomBar { background-color: #495474 }
  179. #bottomBar QLabel { font-size: 11px; color: #f8f8f2; padding-left: 10px; padding-right: 10px; padding-bottom: 2px; }
  180. /* CONTENT SETTINGS */
  181. /* MENUS */
  182. #contentSettings .QPushButton {
  183. background-position: left center;
  184. background-repeat: no-repeat;
  185. border: none;
  186. border-left: 22px solid transparent;
  187. background-color:transparent;
  188. text-align: left;
  189. padding-left: 44px;
  190. color: #f8f8f2;
  191. }
  192. #contentSettings .QPushButton:hover {
  193. background-color: #5d6c99;
  194. }
  195. #contentSettings .QPushButton:pressed {
  196. background-color: rgb(189, 147, 249);
  197. color: rgb(255, 255, 255);
  198. }
  199. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  200. QTableWidget */
  201. QTableWidget {
  202. background-color: transparent;
  203. padding: 10px;
  204. border-radius: 5px;
  205. gridline-color: #9faeda;
  206. outline: none;
  207. }
  208. QTableWidget::item{
  209. border-color: #9faeda;
  210. padding-left: 5px;
  211. padding-right: 5px;
  212. gridline-color: #9faeda;
  213. color:black;
  214. }
  215. QTableWidget::item:selected{
  216. background-color: rgb(189, 147, 249);
  217. color: #f8f8f2;
  218. }
  219. QHeaderView::section{
  220. background-color: #6272a4;
  221. max-width: 30px;
  222. border: none;
  223. border-style: none;
  224. }
  225. QTableWidget::horizontalHeader {
  226. background-color: #6272a4;
  227. }
  228. QHeaderView::section:horizontal
  229. {
  230. border: 1px solid #6272a4;
  231. background-color: #6272a4;
  232. padding: 3px;
  233. border-top-left-radius: 7px;
  234. border-top-right-radius: 7px;
  235. color: #f8f8f2;
  236. }
  237. QHeaderView::section:vertical
  238. {
  239. border: 1px solid #6272a4;
  240. }
  241. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  242. LineEdit */
  243. QLineEdit {
  244. background-color: #6272a4;
  245. border-radius: 5px;
  246. border: 2px solid #6272a4;
  247. padding-left: 10px;
  248. selection-color: rgb(255, 255, 255);
  249. selection-background-color: rgb(255, 121, 198);
  250. color: #f8f8f2;
  251. }
  252. QLineEdit:hover {
  253. border: 2px solid rgb(64, 71, 88);
  254. }
  255. QLineEdit:focus {
  256. border: 2px solid #ff79c6;
  257. }
  258. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  259. PlainTextEdit */
  260. QPlainTextEdit {
  261. background-color: #6272a4;
  262. border-radius: 5px;
  263. padding: 10px;
  264. selection-color: rgb(255, 255, 255);
  265. selection-background-color: rgb(255, 121, 198);
  266. color: #f8f8f2;
  267. }
  268. QPlainTextEdit QScrollBar:vertical {
  269. width: 8px;
  270. }
  271. QPlainTextEdit QScrollBar:horizontal {
  272. height: 8px;
  273. }
  274. QPlainTextEdit:hover {
  275. border: 2px solid rgb(64, 71, 88);
  276. }
  277. QPlainTextEdit:focus {
  278. border: 2px solid #ff79c6;
  279. }
  280. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  281. ScrollBars */
  282. QScrollBar:horizontal {
  283. border: none;
  284. background: #6272a4;
  285. height: 8px;
  286. margin: 0px 21px 0 21px;
  287. border-radius: 0px;
  288. }
  289. QScrollBar::handle:horizontal {
  290. background: rgb(189, 147, 249);
  291. min-width: 25px;
  292. border-radius: 4px
  293. }
  294. QScrollBar::add-line:horizontal {
  295. border: none;
  296. background: #6272a4;
  297. width: 20px;
  298. border-top-right-radius: 4px;
  299. border-bottom-right-radius: 4px;
  300. subcontrol-position: right;
  301. subcontrol-origin: margin;
  302. }
  303. QScrollBar::sub-line:horizontal {
  304. border: none;
  305. background: #6272a4;
  306. width: 20px;
  307. border-top-left-radius: 4px;
  308. border-bottom-left-radius: 4px;
  309. subcontrol-position: left;
  310. subcontrol-origin: margin;
  311. }
  312. QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal
  313. {
  314. background: none;
  315. }
  316. QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal
  317. {
  318. background: none;
  319. }
  320. QScrollBar:vertical {
  321. border: none;
  322. background-color: #6272a4;
  323. width: 8px;
  324. margin: 21px 0 21px 0;
  325. border-radius: 0px;
  326. }
  327. QScrollBar::handle:vertical {
  328. background: rgb(189, 147, 249);
  329. min-height: 25px;
  330. border-radius: 4px
  331. }
  332. QScrollBar::add-line:vertical {
  333. border: none;
  334. background: #6272a4;
  335. height: 20px;
  336. border-bottom-left-radius: 4px;
  337. border-bottom-right-radius: 4px;
  338. subcontrol-position: bottom;
  339. subcontrol-origin: margin;
  340. }
  341. QScrollBar::sub-line:vertical {
  342. border: none;
  343. background: #6272a4;
  344. height: 20px;
  345. border-top-left-radius: 4px;
  346. border-top-right-radius: 4px;
  347. subcontrol-position: top;
  348. subcontrol-origin: margin;
  349. }
  350. QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
  351. background: none;
  352. }
  353. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  354. background: none;
  355. }
  356. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  357. CheckBox */
  358. QCheckBox::indicator {
  359. border: 3px solid #6272a4;
  360. width: 15px;
  361. height: 15px;
  362. border-radius: 10px;
  363. background: #6272a4;
  364. }
  365. QCheckBox::indicator:hover {
  366. border: 3px solid rgb(119, 136, 187);
  367. }
  368. QCheckBox::indicator:checked {
  369. background: 3px solid #bd93f9;
  370. border: 3px solid #bd93f9;
  371. background-image: url(:/icons/images/icons/cil-check-alt.png);
  372. }
  373. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  374. RadioButton */
  375. QRadioButton::indicator {
  376. border: 3px solid #6272a4;
  377. width: 15px;
  378. height: 15px;
  379. border-radius: 10px;
  380. background: #6272a4;
  381. }
  382. QRadioButton::indicator:hover {
  383. border: 3px solid rgb(119, 136, 187);
  384. }
  385. QRadioButton::indicator:checked {
  386. background: 3px solid #bd93f9;
  387. border: 3px solid #bd93f9;
  388. }
  389. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  390. ComboBox */
  391. QComboBox{
  392. background-color: #6272a4;
  393. border-radius: 5px;
  394. border: 2px solid #6272a4;
  395. padding: 5px;
  396. padding-left: 10px;
  397. color: #f8f8f2;
  398. }
  399. QComboBox:hover{
  400. border: 2px solid #7284b9;
  401. }
  402. QComboBox::drop-down {
  403. subcontrol-origin: padding;
  404. subcontrol-position: top right;
  405. width: 25px;
  406. border-left-width: 3px;
  407. border-left-color: #6272a4;
  408. border-left-style: solid;
  409. border-top-right-radius: 3px;
  410. border-bottom-right-radius: 3px;
  411. background-image: url(:/icons/images/icons/cil-arrow-bottom.png);
  412. background-position: center;
  413. background-repeat: no-reperat;
  414. }
  415. QComboBox QAbstractItemView {
  416. color: rgb(255, 121, 198);
  417. background-color: #6272a4;
  418. padding: 10px;
  419. selection-background-color: #6272a4;
  420. }
  421. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  422. Sliders */
  423. QSlider::groove:horizontal {
  424. border-radius: 5px;
  425. height: 10px;
  426. margin: 0px;
  427. background-color: #6272a4;
  428. }
  429. QSlider::groove:horizontal:hover {
  430. background-color: #6272a4;
  431. }
  432. QSlider::handle:horizontal {
  433. background-color: rgb(189, 147, 249);
  434. border: none;
  435. height: 10px;
  436. width: 10px;
  437. margin: 0px;
  438. border-radius: 5px;
  439. }
  440. QSlider::handle:horizontal:hover {
  441. background-color: rgb(195, 155, 255);
  442. }
  443. QSlider::handle:horizontal:pressed {
  444. background-color: rgb(255, 121, 198);
  445. }
  446. QSlider::groove:vertical {
  447. border-radius: 5px;
  448. width: 10px;
  449. margin: 0px;
  450. background-color: #6272a4;
  451. }
  452. QSlider::groove:vertical:hover {
  453. background-color: #6272a4;
  454. }
  455. QSlider::handle:vertical {
  456. background-color: rgb(189, 147, 249);
  457. border: none;
  458. height: 10px;
  459. width: 10px;
  460. margin: 0px;
  461. border-radius: 5px;
  462. }
  463. QSlider::handle:vertical:hover {
  464. background-color: rgb(195, 155, 255);
  465. }
  466. QSlider::handle:vertical:pressed {
  467. background-color: rgb(255, 121, 198);
  468. }
  469. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  470. CommandLinkButton */
  471. #pagesContainer QCommandLinkButton {
  472. color: rgb(255, 121, 198);
  473. border-radius: 5px;
  474. padding: 5px;
  475. border: 2px solid #ff79c6;
  476. color: #ff79c6;
  477. }
  478. #pagesContainer QCommandLinkButton:hover {
  479. color: rgb(255, 170, 255);
  480. background-color: #6272a4;
  481. }
  482. #pagesContainer QCommandLinkButton:pressed {
  483. color: rgb(189, 147, 249);
  484. background-color: #586796;
  485. }
  486. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  487. Button */
  488. #pagesContainer QPushButton {
  489. border: 2px solid #6272a4;
  490. border-radius: 5px;
  491. background-color: #6272a4;
  492. color: #f8f8f2;
  493. }
  494. #pagesContainer QPushButton:hover {
  495. background-color: #7082b6;
  496. border: 2px solid #7082b6;
  497. }
  498. #pagesContainer QPushButton:pressed {
  499. background-color: #546391;
  500. border: 2px solid #ff79c6;
  501. }