compareitemlistwidget.qss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. QWidget
  2. {
  3. }
  4. /* ==========================================================
  5. * QPushButton
  6. * ========================================================== */
  7. QPushButton
  8. {
  9. font-weight: 500;
  10. font-size: 14px;
  11. text-align: center;
  12. }
  13. /* QPushButton#pBtn_Close
  14. {
  15. background: transparent;
  16. border-radius: 4px;
  17. qproperty-icon: url(:/icon/close.png);
  18. qproperty-iconSize: 32px 32px;
  19. }
  20. QPushButton#pBtn_Close[Hover = true]
  21. {
  22. background: transparent;
  23. border-radius: 4px;
  24. qproperty-icon: url(:/icon/close_hover.png);
  25. qproperty-iconSize: 32px 32px;
  26. border: 1px solid #4458FE;
  27. } */
  28. /********* 普通椭圆按钮三种状态效果 *********/
  29. QPushButton#pBtn_close
  30. {
  31. background: transparent;
  32. color: #3A3F63;
  33. border: 1px solid #E6E9F4;
  34. border-radius: 16px;
  35. }
  36. QPushButton#pBtn_close:hover
  37. {
  38. background: transparent;
  39. color: #4458FE;
  40. border: 1px solid #4458FE;
  41. border-radius: 16px;
  42. }
  43. /********* 带有底色椭圆按钮三种状态效果 *********/
  44. /* QPushButton#pBtn_OK
  45. {
  46. color:white;
  47. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  48. border-radius: 16px;
  49. }
  50. QPushButton#pBtn_OK:hover
  51. {
  52. color:white;
  53. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  54. border-radius: 16px;
  55. } */
  56. /********* 普通方框按钮三种状态效果 *********/
  57. QPushButton#pBtn_delete, #pBtn_modify, #pBtn_enableCPItem, #pBtn_disableCPItem
  58. {
  59. background: transparent;
  60. color: #3A3F63;
  61. border: 1px solid #E6E9F4;
  62. border-radius: 4px;
  63. }
  64. QPushButton#pBtn_delete:hover, #pBtn_modify:hover, #pBtn_enableCPItem:hover, #pBtn_disableCPItem:hover
  65. {
  66. background: transparent;
  67. color: #4458FE;
  68. border: 1px solid #4458FE;
  69. border-radius: 4px;
  70. }
  71. /********* 带有底色方框按钮三种状态效果 *********/
  72. QPushButton#pBtn_add
  73. {
  74. color:white;
  75. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  76. border-radius: 4px;
  77. }
  78. QPushButton#pBtn_add:hover
  79. {
  80. color:white;
  81. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  82. border-radius: 4px;
  83. }
  84. /* ==========================================================
  85. * QTableView
  86. * ========================================================== */
  87. QTableView
  88. {
  89. border: none;
  90. background: transparent;
  91. border-bottom: 1px solid #E6E9F4;
  92. }