You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

953 lines
22 KiB

1 year ago
  1. /*
  2. * The MIT License (MIT)
  3. *
  4. * Copyright : http://blog.csdn.net/liang19890820
  5. *
  6. * Author : ??????
  7. *
  8. * Date : 2016/07/22
  9. *
  10. * Description : ????
  11. *
  12. */
  13. /**********?????**********/
  14. QWidget#customWidget {
  15. background: rgb(173, 202, 232);
  16. }
  17. /**********???????**********/
  18. QWidget#centerWidget {
  19. background: rgb(232, 241, 252);
  20. }
  21. /**********?????**********/
  22. QWidget#mainWindow {
  23. border: 1px solid rgb(111, 156, 207);
  24. background: rgb(232, 241, 252);
  25. }
  26. QWidget#messageWidget {
  27. background: rgba(173, 202, 232, 50%);
  28. }
  29. QWidget#loadingWidget {
  30. border: none;
  31. border-radius: 5px;
  32. background: rgb(187, 212, 238);
  33. }
  34. QWidget#remoteWidget {
  35. border-top-right-radius: 10px;
  36. border-bottom-right-radius: 10px;
  37. border: 1px solid rgb(111, 156, 207);
  38. border-left: none;
  39. background: transparent;
  40. }
  41. StyledWidget {
  42. qproperty-normalColor: rgb(65, 65, 65);
  43. qproperty-disableColor: rgb(180, 180, 180);
  44. qproperty-highlightColor: rgb(0, 160, 230);
  45. qproperty-errorColor: red;
  46. }
  47. QProgressIndicator {
  48. qproperty-color: rgb(2, 65, 132);
  49. }
  50. /**********??**********/
  51. QToolTip{
  52. border: 1px solid rgb(111, 156, 207);
  53. background: white;
  54. color: rgb(51, 51, 51);
  55. }
  56. /**********???**********/
  57. QMenuBar {
  58. background: rgb(187, 212, 238);
  59. border: 1px solid rgb(111, 156, 207);
  60. border-left: none;
  61. border-right: none;
  62. }
  63. QMenuBar::item {
  64. border: 1px solid transparent;
  65. padding: 5px 10px 5px 10px;
  66. background: transparent;
  67. }
  68. QMenuBar::item:enabled {
  69. color: rgb(2, 65, 132);
  70. }
  71. QMenuBar::item:!enabled {
  72. color: rgb(155, 155, 155);
  73. }
  74. QMenuBar::item:enabled:selected {
  75. border-top-color: rgb(111, 156, 207);
  76. border-bottom-color: rgb(111, 156, 207);
  77. background: rgb(198, 224, 252);
  78. }
  79. /**********??**********/
  80. QMenu {
  81. border: 1px solid rgb(111, 156, 207);
  82. background: rgb(232, 241, 250);
  83. }
  84. QMenu::item {
  85. height: 22px;
  86. padding: 0px 25px 0px 20px;
  87. }
  88. QMenu::item:enabled {
  89. color: rgb(84, 84, 84);
  90. }
  91. QMenu::item:!enabled {
  92. color: rgb(155, 155, 155);
  93. }
  94. QMenu::item:enabled:selected {
  95. color: rgb(2, 65, 132);
  96. background: rgba(255, 255, 255, 200);
  97. }
  98. QMenu::separator {
  99. height: 1px;
  100. background: rgb(111, 156, 207);
  101. }
  102. QMenu::indicator {
  103. width: 13px;
  104. height: 13px;
  105. }
  106. QMenu::icon {
  107. padding-left: 2px;
  108. padding-right: 2px;
  109. }
  110. /**********???**********/
  111. QStatusBar {
  112. background: rgb(187, 212, 238);
  113. border: 1px solid rgb(111, 156, 207);
  114. border-left: none;
  115. border-right: none;
  116. border-bottom: none;
  117. }
  118. QStatusBar::item {
  119. border: none;
  120. border-right: 1px solid rgb(111, 156, 207);
  121. }
  122. /**********???**********/
  123. QGroupBox {
  124. font-size: 15px;
  125. border: 1px solid rgb(111, 156, 207);
  126. border-radius: 4px;
  127. margin-top: 10px;
  128. }
  129. QGroupBox::title {
  130. color: rgb(56, 99, 154);
  131. top: -12px;
  132. left: 10px;
  133. }
  134. /**********???**********/
  135. QTabWidget::pane {
  136. border: none;
  137. border-top: 3px solid rgb(0, 78, 161);
  138. background: rgb(187, 212, 238);
  139. }
  140. QTabWidget::tab-bar {
  141. border: none;
  142. }
  143. QTabBar::tab {
  144. border: none;
  145. border-top-left-radius: 4px;
  146. border-top-right-radius: 4px;
  147. color: white;
  148. background: rgb(120, 170, 220);
  149. height: 28px;
  150. min-width: 85px;
  151. margin-right: 5px;
  152. padding-left: 5px;
  153. padding-right: 5px;
  154. }
  155. QTabBar::tab:hover {
  156. background: rgb(0, 78, 161);
  157. }
  158. QTabBar::tab:selected {
  159. color: white;
  160. background: rgb(0, 78, 161);
  161. }
  162. QTabWidget#tabWidget::pane {
  163. border: 1px solid rgb(111, 156, 207);
  164. background: rgb(232, 241, 252);
  165. margin-top: -1px;
  166. }
  167. QTabBar#tabBar::tab {
  168. border: 1px solid rgb(111, 156, 207);
  169. border-bottom: none;
  170. color: rgb(70, 71, 73);
  171. background: transparent;
  172. }
  173. QTabBar#tabBar::tab:hover {
  174. color: rgb(2, 65, 132);
  175. }
  176. QTabBar#tabBar::tab:selected {
  177. color: rgb(2, 65, 132);
  178. background: rgb(232, 241, 252);
  179. }
  180. /**********??**********/
  181. QHeaderView{
  182. border: none;
  183. border-bottom: 3px solid rgb(0, 78, 161);
  184. background: transparent;
  185. min-height: 30px;
  186. }
  187. QHeaderView::section:horizontal {
  188. border: none;
  189. color: rgb(2, 65, 132);
  190. background: transparent;
  191. padding-left: 5px;
  192. }
  193. QHeaderView::section:horizontal:hover {
  194. color: white;
  195. background: rgb(0, 78, 161);
  196. }
  197. QHeaderView::section:horizontal:pressed {
  198. color: white;
  199. background: rgb(6, 94, 187);
  200. }
  201. QHeaderView::up-arrow {
  202. width: 13px;
  203. height: 11px;
  204. padding-right: 5px;
  205. image: url(:/White/topArrow);
  206. subcontrol-position: center right;
  207. }
  208. QHeaderView::up-arrow:hover, QHeaderView::up-arrow:pressed {
  209. image: url(:/White/topArrowHover);
  210. }
  211. QHeaderView::down-arrow {
  212. width: 13px;
  213. height: 11px;
  214. padding-right: 5px;
  215. image: url(:/White/bottomArrow);
  216. subcontrol-position: center right;
  217. }
  218. QHeaderView::down-arrow:hover, QHeaderView::down-arrow:pressed {
  219. image: url(:/White/bottomArrowHover);
  220. }
  221. /**********??**********/
  222. QTableView {
  223. border: 1px solid rgb(111, 156, 207);
  224. background: rgb(224, 238, 255);
  225. gridline-color: rgb(111, 156, 207);
  226. }
  227. QTableView::item {
  228. padding-left: 5px;
  229. padding-right: 5px;
  230. border: none;
  231. background: white;
  232. border-right: 1px solid rgb(111, 156, 207);
  233. border-bottom: 1px solid rgb(111, 156, 207);
  234. }
  235. QTableView::item:selected {
  236. background: rgba(255, 255, 255, 100);
  237. }
  238. QTableView::item:selected:!active {
  239. color: rgb(65, 65, 65);
  240. }
  241. QTableView::indicator {
  242. width: 20px;
  243. height: 20px;
  244. }
  245. QTableView::indicator:enabled:unchecked {
  246. image: url(:/White/checkBox);
  247. }
  248. QTableView::indicator:enabled:unchecked:hover {
  249. image: url(:/White/checkBoxHover);
  250. }
  251. QTableView::indicator:enabled:unchecked:pressed {
  252. image: url(:/White/checkBoxPressed);
  253. }
  254. QTableView::indicator:enabled:checked {
  255. image: url(:/White/checkBoxChecked);
  256. }
  257. QTableView::indicator:enabled:checked:hover {
  258. image: url(:/White/checkBoxCheckedHover);
  259. }
  260. QTableView::indicator:enabled:checked:pressed {
  261. image: url(:/White/checkBoxCheckedPressed);
  262. }
  263. QTableView::indicator:enabled:indeterminate {
  264. image: url(:/White/checkBoxIndeterminate);
  265. }
  266. QTableView::indicator:enabled:indeterminate:hover {
  267. image: url(:/White/checkBoxIndeterminateHover);
  268. }
  269. QTableView::indicator:enabled:indeterminate:pressed {
  270. image: url(:/White/checkBoxIndeterminatePressed);
  271. }
  272. /**********???-??**********/
  273. QScrollBar:horizontal {
  274. height: 20px;
  275. background: transparent;
  276. margin-top: 3px;
  277. margin-bottom: 3px;
  278. }
  279. QScrollBar::handle:horizontal {
  280. height: 20px;
  281. min-width: 30px;
  282. background: rgb(170, 200, 230);
  283. margin-left: 15px;
  284. margin-right: 15px;
  285. }
  286. QScrollBar::handle:horizontal:hover {
  287. background: rgb(165, 195, 225);
  288. }
  289. QScrollBar::sub-line:horizontal {
  290. width: 15px;
  291. background: transparent;
  292. image: url(:/White/arrowLeft);
  293. subcontrol-position: left;
  294. }
  295. QScrollBar::add-line:horizontal {
  296. width: 15px;
  297. background: transparent;
  298. image: url(:/White/arrowRight);
  299. subcontrol-position: right;
  300. }
  301. QScrollBar::sub-line:horizontal:hover {
  302. background: rgb(170, 200, 230);
  303. }
  304. QScrollBar::add-line:horizontal:hover {
  305. background: rgb(170, 200, 230);
  306. }
  307. QScrollBar::add-page:horizontal,QScrollBar::sub-page:horizontal {
  308. background: transparent;
  309. }
  310. /**********???-??**********/
  311. QScrollBar:vertical {
  312. width: 20px;
  313. background: transparent;
  314. margin-left: 3px;
  315. margin-right: 3px;
  316. }
  317. QScrollBar::handle:vertical {
  318. width: 20px;
  319. min-height: 30px;
  320. background: rgb(170, 200, 230);
  321. margin-top: 15px;
  322. margin-bottom: 15px;
  323. }
  324. QScrollBar::handle:vertical:hover {
  325. background: rgb(165, 195, 225);
  326. }
  327. QScrollBar::sub-line:vertical {
  328. height: 15px;
  329. background: transparent;
  330. image: url(:/White/topArrow);
  331. subcontrol-position: top;
  332. }
  333. QScrollBar::add-line:vertical {
  334. height: 15px;
  335. background: transparent;
  336. image: url(:/White/bottomArrow);
  337. subcontrol-position: bottom;
  338. }
  339. QScrollBar::sub-line:vertical:hover {
  340. background: rgb(170, 200, 230);
  341. }
  342. QScrollBar::add-line:vertical:hover {
  343. background: rgb(170, 200, 230);
  344. }
  345. QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  346. background: transparent;
  347. }
  348. QScrollBar#verticalScrollBar:vertical {
  349. margin-top: 30px;
  350. }
  351. /**********????**********/
  352. QComboBox {
  353. height: 25px;
  354. border-radius: 4px;
  355. border: 1px solid rgb(111, 156, 207);
  356. background: white;
  357. }
  358. QComboBox:enabled {
  359. color: rgb(84, 84, 84);
  360. }
  361. QComboBox:!enabled {
  362. color: rgb(80, 80, 80);
  363. }
  364. QComboBox:enabled:hover, QComboBox:enabled:focus {
  365. color: rgb(51, 51, 51);
  366. }
  367. QComboBox::drop-down {
  368. width: 20px;
  369. border: none;
  370. background: transparent;
  371. }
  372. QComboBox::drop-down:hover {
  373. background: rgba(255, 255, 255, 30);
  374. }
  375. QComboBox::down-arrow {
  376. image: url(:/White/arrowBottom);
  377. }
  378. QComboBox::down-arrow:on {
  379. /**top: 1px;**/
  380. }
  381. QComboBox QAbstractItemView {
  382. border: 1px solid rgb(111, 156, 207);
  383. background: white;
  384. outline: none;
  385. }
  386. QComboBox QAbstractItemView::item {
  387. height: 25px;
  388. color: rgb(73, 73, 73);
  389. }
  390. QComboBox QAbstractItemView::item:selected {
  391. background: rgb(232, 241, 250);
  392. color: rgb(2, 65, 132);
  393. }
  394. /**********???**********/
  395. QProgressBar{
  396. border: none;
  397. text-align: center;
  398. color: white;
  399. background: rgb(173, 202, 232);
  400. }
  401. QProgressBar::chunk {
  402. background: rgb(16, 135, 209);
  403. }
  404. QProgressBar#progressBar {
  405. border: none;
  406. text-align: center;
  407. color: white;
  408. background-color: transparent;
  409. background-image: url(":/White/progressBar");
  410. background-repeat: repeat-x;
  411. }
  412. QProgressBar#progressBar::chunk {
  413. border: none;
  414. background-color: transparent;
  415. background-image: url(":/White/progressBarChunk");
  416. background-repeat: repeat-x;
  417. }
  418. /**********???**********/
  419. QCheckBox{
  420. spacing: 5px;
  421. }
  422. QCheckBox:enabled:checked{
  423. color: rgb(2, 65, 132);
  424. }
  425. QCheckBox:enabled:!checked{
  426. color: rgb(70, 71, 73);
  427. }
  428. QCheckBox:enabled:hover{
  429. color: rgb(0, 78, 161);
  430. }
  431. QCheckBox:!enabled{
  432. color: rgb(80, 80, 80);
  433. }
  434. QCheckBox::indicator {
  435. width: 20px;
  436. height: 20px;
  437. }
  438. QCheckBox::indicator:unchecked {
  439. image: url(:/White/checkBox);
  440. }
  441. QCheckBox::indicator:unchecked:hover {
  442. image: url(:/White/checkBoxHover);
  443. }
  444. QCheckBox::indicator:unchecked:pressed {
  445. image: url(:/White/checkBoxPressed);
  446. }
  447. QCheckBox::indicator:checked {
  448. image: url(:/White/checkBoxChecked);
  449. }
  450. QCheckBox::indicator:checked:hover {
  451. image: url(:/White/checkBoxCheckedHover);
  452. }
  453. QCheckBox::indicator:checked:pressed {
  454. image: url(:/White/checkBoxCheckedPressed);
  455. }
  456. QCheckBox::indicator:indeterminate {
  457. image: url(:/White/checkBoxIndeterminate);
  458. }
  459. QCheckBox::indicator:indeterminate:hover {
  460. image: url(:/White/checkBoxIndeterminateHover);
  461. }
  462. QCheckBox::indicator:indeterminate:pressed {
  463. image: url(:/White/checkBoxIndeterminatePressed);
  464. }
  465. /**********???**********/
  466. QRadioButton{
  467. spacing: 5px;
  468. }
  469. QRadioButton:enabled:checked{
  470. color: rgb(2, 65, 132);
  471. }
  472. QRadioButton:enabled:!checked{
  473. color: rgb(70, 71, 73);
  474. }
  475. QRadioButton:enabled:hover{
  476. color: rgb(0, 78, 161);
  477. }
  478. QRadioButton:!enabled{
  479. color: rgb(80, 80, 80);
  480. }
  481. QRadioButton::indicator {
  482. width: 20px;
  483. height: 20px;
  484. }
  485. QRadioButton::indicator:unchecked {
  486. image: url(:/White/radioButton);
  487. }
  488. QRadioButton::indicator:unchecked:hover {
  489. image: url(:/White/radioButtonHover);
  490. }
  491. QRadioButton::indicator:unchecked:pressed {
  492. image: url(:/White/radioButtonPressed);
  493. }
  494. QRadioButton::indicator:checked {
  495. image: url(:/White/radioButtonChecked);
  496. }
  497. QRadioButton::indicator:checked:hover {
  498. image: url(:/White/radioButtonCheckedHover);
  499. }
  500. QRadioButton::indicator:checked:pressed {
  501. image: url(:/White/radioButtonCheckedPressed);
  502. }
  503. /**********???**********/
  504. QLineEdit {
  505. border-radius: 4px;
  506. height: 25px;
  507. border: 1px solid rgb(111, 156, 207);
  508. background: white;
  509. }
  510. QLineEdit:enabled {
  511. color: rgb(84, 84, 84);
  512. }
  513. QLineEdit:enabled:hover, QLineEdit:enabled:focus {
  514. color: rgb(51, 51, 51);
  515. }
  516. QLineEdit:!enabled {
  517. color: rgb(80, 80, 80);
  518. }
  519. /**********?????**********/
  520. QTextEdit {
  521. border: 1px solid rgb(111, 156, 207);
  522. color: rgb(70, 71, 73);
  523. background: rgb(187, 212, 238);
  524. }
  525. /**********????**********/
  526. QScrollArea {
  527. border: 1px solid rgb(111, 156, 207);
  528. background: rgb(187, 212, 238);
  529. }
  530. /**********????**********/
  531. QWidget#transparentWidget {
  532. background: transparent;
  533. }
  534. /**********???**********/
  535. QSpinBox {
  536. border-radius: 4px;
  537. height: 24px;
  538. min-width: 40px;
  539. border: 1px solid rgb(111, 156, 207);
  540. background: white;
  541. }
  542. QSpinBox:enabled {
  543. color: rgb(60, 60, 60);
  544. }
  545. QSpinBox:enabled:hover, QSpinBox:enabled:focus {
  546. color: rgb(51, 51, 51);
  547. }
  548. QSpinBox:!enabled {
  549. color: rgb(210, 210, 210);
  550. background: transparent;
  551. }
  552. QSpinBox::up-button {
  553. border-left: 1px solid rgb(111, 156, 207);
  554. width: 18px;
  555. height: 12px;
  556. border-top-right-radius: 4px;
  557. image: url(:/White/upButton);
  558. }
  559. QSpinBox::up-button:!enabled {
  560. background: transparent;
  561. }
  562. QSpinBox::up-button:enabled:hover {
  563. background: rgb(255, 255, 255, 30);
  564. }
  565. QSpinBox::down-button {
  566. border-left: 1px solid rgb(111, 156, 207);
  567. width: 18px;
  568. height: 12px;
  569. border-bottom-right-radius: 4px;
  570. image: url(:/White/downButton);
  571. }
  572. QSpinBox::down-button:!enabled {
  573. background: transparent;
  574. }
  575. QSpinBox::down-button:hover {
  576. background: rgb(255, 255, 255, 30);
  577. }
  578. /**********??**********/
  579. QLabel#grayLabel {
  580. color: rgb(70, 71, 73);
  581. }
  582. QLabel#highlightLabel {
  583. color: rgb(2, 65, 132);
  584. }
  585. QLabel#redLabel {
  586. color: red;
  587. }
  588. QLabel#grayYaHeiLabel {
  589. color: rgb(175, 175, 175);
  590. font-size: 16px;
  591. }
  592. QLabel#blueLabel {
  593. color: rgb(0, 160, 230);
  594. }
  595. QLabel#listLabel {
  596. color: rgb(51, 51, 51);
  597. }
  598. QLabel#lineBlueLabel {
  599. background: rgb(0, 78, 161);
  600. }
  601. QLabel#graySeperateLabel {
  602. background: rgb(200, 220, 230);
  603. }
  604. QLabel#seperateLabel {
  605. background: rgb(112, 153, 194);
  606. }
  607. QLabel#radiusBlueLabel {
  608. border-radius: 15px;
  609. color: white;
  610. font-size: 16px;
  611. background: rgb(0, 78, 161);
  612. }
  613. QLabel#skinLabel[colorProperty="normal"] {
  614. color: rgb(56, 99, 154);
  615. }
  616. QLabel#skinLabel[colorProperty="highlight"] {
  617. color: rgb(0, 160, 230);
  618. }
  619. QLabel#informationLabel {
  620. qproperty-pixmap: url(:/White/information);
  621. }
  622. QLabel#errorLabel {
  623. qproperty-pixmap: url(:/White/error);
  624. }
  625. QLabel#successLabel {
  626. qproperty-pixmap: url(:/White/success);
  627. }
  628. QLabel#questionLabel {
  629. qproperty-pixmap: url(:/White/question);
  630. }
  631. QLabel#warningLabel {
  632. qproperty-pixmap: url(:/White/warning);
  633. }
  634. QLabel#groupLabel {
  635. color: rgb(56, 99, 154);
  636. border: 1px solid rgb(111, 156, 207);
  637. font-size: 15px;
  638. border-top-color: transparent;
  639. border-right-color: transparent;
  640. border-left-color: transparent;
  641. }
  642. /**********??**********/
  643. QToolButton#nsccButton {
  644. border: none;
  645. color: rgb(2, 65, 132);
  646. background: transparent;
  647. padding: 10px;
  648. qproperty-icon: url(:/White/nscc);
  649. qproperty-iconSize: 32px 32px;
  650. qproperty-toolButtonStyle: ToolButtonTextUnderIcon;
  651. }
  652. QToolButton#nsccButton:hover {
  653. background: rgb(187, 212, 238);
  654. }
  655. QToolButton#transferButton {
  656. border: none;
  657. color: rgb(2, 65, 132);
  658. background: transparent;
  659. padding: 10px;
  660. qproperty-icon: url(:/White/transfer);
  661. qproperty-iconSize: 32px 32px;
  662. qproperty-toolButtonStyle: ToolButtonTextUnderIcon;
  663. }
  664. QToolButton#transferButton:hover {
  665. background: rgb(187, 212, 238);
  666. }
  667. /**********??**********/
  668. QPushButton{
  669. border-radius: 4px;
  670. border: none;
  671. width: 75px;
  672. height: 25px;
  673. }
  674. QPushButton:enabled {
  675. background: rgb(120, 170, 220);
  676. color: white;
  677. }
  678. QPushButton:!enabled {
  679. background: rgb(180, 180, 180);
  680. color: white;
  681. }
  682. QPushButton:enabled:hover{
  683. background: rgb(100, 160, 220);
  684. }
  685. QPushButton:enabled:pressed{
  686. background: rgb(0, 78, 161);
  687. }
  688. QPushButton#blueButton {
  689. color: white;
  690. }
  691. QPushButton#blueButton:enabled {
  692. background: rgb(0, 78, 161);
  693. color: white;
  694. }
  695. QPushButton:!enabled {
  696. background: rgb(180, 180, 180);
  697. color: white;
  698. }
  699. QPushButton#blueButton:enabled:hover {
  700. background: rgb(2, 65, 132);
  701. }
  702. QPushButton#blueButton:enabled:pressed {
  703. background: rgb(6, 94, 187);
  704. }
  705. QPushButton#selectButton {
  706. border: none;
  707. border-radius: none;
  708. border-left: 1px solid rgb(111, 156, 207);
  709. background: transparent;
  710. image: url(:/White/scan);
  711. color: rgb(51, 51, 51);
  712. }
  713. QPushButton#selectButton:enabled:hover{
  714. background: rgb(187, 212, 238);
  715. }
  716. QPushButton#selectButton:enabled:pressed{
  717. background: rgb(120, 170, 220);
  718. }
  719. QPushButton#linkButton {
  720. background: transparent;
  721. color: rgb(0, 160, 230);
  722. text-align:left;
  723. }
  724. QPushButton#linkButton:hover {
  725. color: rgb(20, 185, 255);
  726. text-decoration: underline;
  727. }
  728. QPushButton#linkButton:pressed {
  729. color: rgb(0, 160, 230);
  730. }
  731. QPushButton#transparentButton {
  732. background: transparent;
  733. }
  734. /*****************?????*******************/
  735. QPushButton#minimizeButton {
  736. border-radius: none;
  737. border-bottom-left-radius: 4px;
  738. border-bottom-right-radius: 4px;
  739. background: rgb(120, 170, 220);
  740. image: url(:/White/minimizeHover);
  741. }
  742. QPushButton#minimizeButton:hover {
  743. image: url(:/White/minimize);
  744. }
  745. QPushButton#minimizeButton:pressed {
  746. image: url(:/White/minimizePressed);
  747. }
  748. QPushButton#maximizeButton[maximizeProperty="maximize"] {
  749. border-radius: none;
  750. border-bottom-left-radius: 4px;
  751. border-bottom-right-radius: 4px;
  752. background: rgb(120, 170, 220);
  753. image: url(:/White/maximizeHover);
  754. }
  755. QPushButton#maximizeButton[maximizeProperty="maximize"]:hover {
  756. image: url(:/White/maximize);
  757. }
  758. QPushButton#maximizeButton[maximizeProperty="maximize"]:pressed {
  759. image: url(:/White/maximizePressed);
  760. }
  761. QPushButton#maximizeButton[maximizeProperty="restore"] {
  762. border-radius: none;
  763. border-bottom-left-radius: 4px;
  764. border-bottom-right-radius: 4px;
  765. background: rgb(120, 170, 220);
  766. image: url(:/White/restoreHover);
  767. }
  768. QPushButton#maximizeButton[maximizeProperty="restore"]:hover {
  769. image: url(:/White/restore);
  770. }
  771. QPushButton#maximizeButton[maximizeProperty="restore"]:pressed {
  772. image: url(:/White/restorePressed);
  773. }
  774. QPushButton#closeButton {
  775. border-radius: none;
  776. border-bottom-left-radius: 4px;
  777. border-bottom-right-radius: 4px;
  778. background: rgb(120, 170, 220);
  779. image: url(:/White/closeHover);
  780. }
  781. QPushButton#closeButton:hover {
  782. image: url(:/White/close);
  783. }
  784. QPushButton#closeButton:pressed {
  785. image: url(:/White/closePressed);
  786. }
  787. QPushButton#skinButton {
  788. border-radius: none;
  789. border-bottom-left-radius: 4px;
  790. border-bottom-right-radius: 4px;
  791. background: rgb(120, 170, 220);
  792. image: url(:/White/skinHover);
  793. }
  794. QPushButton#skinButton:hover {
  795. image: url(:/White/skin);
  796. }
  797. QPushButton#skinButton:pressed {
  798. image: url(:/White/skinPressed);
  799. }
  800. QPushButton#feedbackButton {
  801. border-radius: none;
  802. border-bottom-left-radius: 4px;
  803. border-bottom-right-radius: 4px;
  804. background: rgb(120, 170, 220);
  805. image: url(:/White/feedbackHover);
  806. }
  807. QPushButton#feedbackButton:hover {
  808. image: url(:/White/feedback);
  809. }
  810. QPushButton#feedbackButton:pressed {
  811. image: url(:/White/feedbackPressed);
  812. }
  813. QPushButton#closeTipButton {
  814. border-radius: none;
  815. border-image: url(:/White/close);
  816. background: transparent;
  817. }
  818. QPushButton#closeTipButton:hover {
  819. border-image: url(:/White/closeHover);
  820. }
  821. QPushButton#closeTipButton:pressed {
  822. border-image: url(:/White/closePressed);
  823. }
  824. QPushButton#changeSkinButton{
  825. border-radius: 4px;
  826. border: 2px solid rgb(111, 156, 207);
  827. background: rgb(204, 227, 252);
  828. }
  829. QPushButton#changeSkinButton:hover{
  830. border-color: rgb(60, 150, 200);
  831. }
  832. QPushButton#changeSkinButton:pressed, QPushButton#changeSkinButton:checked{
  833. border-color: rgb(0, 160, 230);
  834. }
  835. QPushButton#transferButton {
  836. padding-left: 5px;
  837. padding-right: 5px;
  838. color: white;
  839. background: rgb(0, 78, 161);
  840. }
  841. QPushButton#transferButton:hover {
  842. background: rgb(2, 65, 132);
  843. }
  844. QPushButton#transferButton:pressed {
  845. background: rgb(6, 94, 187);
  846. }
  847. QPushButton#transferButton[iconProperty="left"] {
  848. qproperty-icon: url(:/White/left);
  849. }
  850. QPushButton#transferButton[iconProperty="right"] {
  851. qproperty-icon: url(:/White/right);
  852. }
  853. QPushButton#openButton {
  854. border-radius: none;
  855. image: url(:/White/open);
  856. background: transparent;
  857. }
  858. QPushButton#openButton:hover {
  859. image: url(:/White/openHover);
  860. }
  861. QPushButton#openButton:pressed {
  862. image: url(:/White/openPressed);
  863. }
  864. QPushButton#deleteButton {
  865. border-radius: none;
  866. image: url(:/White/delete);
  867. background: transparent;
  868. }
  869. QPushButton#deleteButton:hover {
  870. image: url(:/White/deleteHover);
  871. }
  872. QPushButton#deleteButton:pressed {
  873. image: url(:/White/deletePressed);
  874. }
  875. QPushButton#menuButton {
  876. text-align: left center;
  877. padding-left: 3px;
  878. color: rgb(84, 84, 84);
  879. border: 1px solid rgb(111, 156, 207);
  880. background: white;
  881. }
  882. QPushButton#menuButton::menu-indicator{
  883. subcontrol-position: right center;
  884. subcontrol-origin: padding;
  885. image: url(:/White/arrowBottom);
  886. padding-right: 3px;
  887. }