warning.qss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. QWidget
  2. {
  3. background: transparent;
  4. border-radius: 8px;
  5. font-size: 18px;
  6. color: #3A3F63;
  7. line-height: 21px;
  8. text-align: left;
  9. font-style: normal;
  10. }
  11. QWidget#widget
  12. {
  13. background: #FFFFFF;
  14. }
  15. QWidget#widget_Top
  16. {
  17. background: #FFFFFF;
  18. border-top-left-radius: 8px;
  19. border-top-right-radius: 8px;
  20. border-bottom-left-radius: 0px;
  21. border-bottom-right-radius: 0px;
  22. border-bottom: 1px solid #E6E9F4;
  23. }
  24. QLabel#label_title
  25. {
  26. font-size: 18px;
  27. color: #3A3F63;
  28. line-height: 27px;
  29. text-transform: uppercase;
  30. }
  31. QLabel#label_line
  32. {
  33. background: #E6E9F4;
  34. }
  35. /* 设置图标 */
  36. QLabel#label_warnIcon
  37. {
  38. border-image: url(:/Tip/Tips2x.png);
  39. }
  40. QLabel#label_Warn
  41. {
  42. font-size: 18px;
  43. color: #3A3F63;
  44. line-height: 27px;
  45. }
  46. QPushButton#pBtn_close
  47. {
  48. background: transparent;
  49. border-radius: 4px;
  50. qproperty-icon: url(:/icon/close.png);
  51. qproperty-iconSize: 32px 32px;
  52. padding-left: 0px;
  53. border: 0px solid #E6E9F4;
  54. }
  55. QPushButton#pBtn_close[Hover = true]
  56. {
  57. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  58. background: transparent;
  59. border-radius: 4px;
  60. qproperty-icon: url(:/icon/close.png);
  61. qproperty-iconSize: 32px 32px;
  62. padding-left: 0px;
  63. border: 1px solid #438EFF;
  64. }
  65. QPushButton
  66. {
  67. background: #FFFFFF;
  68. border: 1px solid #E6E9F4;
  69. text-align: center;
  70. }
  71. /********* 普通方框按钮三种状态效果 *********/
  72. QPushButton#pBtn_cancel
  73. {
  74. background: #FFFFFF;
  75. border-radius: 16px;
  76. border: 1px solid #E6E9F4;
  77. color: #3A3F63;
  78. }
  79. QPushButton#pBtn_cancel:hover
  80. {
  81. background: #FFFFFF;
  82. border-radius: 16px;
  83. border: 1px solid #4458FE;
  84. color: #4458FE;
  85. }
  86. /********* 带有底色按钮三种状态效果 *********/
  87. QPushButton#pBtn_ok
  88. {
  89. color:white;
  90. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  91. border-radius: 16px;
  92. }
  93. QPushButton#pBtn_ok:hover
  94. {
  95. color:white;
  96. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  97. border-radius: 16px;
  98. }