warning.qss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. QWidget
  2. {
  3. background: #FFFFFF;
  4. border-radius: 8px;
  5. font-family: 思源黑体R;
  6. font-weight: 400;
  7. font-size: 18px;
  8. color: #3A3F63;
  9. line-height: 21px;
  10. text-align: left;
  11. font-style: normal;
  12. }
  13. QLabel#label_NC1
  14. {
  15. font-family: 思源黑体M;
  16. font-weight: bold;
  17. font-size: 18px;
  18. color: #3A3F63;
  19. line-height: 27px;
  20. text-transform: uppercase;
  21. }
  22. QLabel#label_line
  23. {
  24. background: #E6E9F4;
  25. }
  26. /* 设置图标 */
  27. QLabel#label_warnIcon
  28. {
  29. border-image: url(:/ICON/Tip/Tips2x.png);
  30. }
  31. QLabel#label_Warn
  32. {
  33. font-family: 思源黑体R;
  34. font-weight: 400;
  35. font-size: 18px;
  36. color: #3A3F63;
  37. line-height: 27px;
  38. }
  39. QPushButton#pBtn_close{
  40. border-image: url(:/ICON/ICON/Dialog_close.png);
  41. }
  42. QPushButton#pBtn_close:hover{
  43. border-image: url(:/ICON/ICON/Dialog_close2.png);
  44. }
  45. QPushButton
  46. {
  47. background: #FFFFFF;
  48. border: 1px solid #E6E9F4;
  49. text-align: center;
  50. }
  51. /********* 普通方框按钮三种状态效果 *********/
  52. QPushButton#pBtn_cancel
  53. {
  54. background: #FFFFFF;
  55. border-radius: 16px;
  56. border: 1px solid #E6E9F4;
  57. color: #3A3F63;
  58. }
  59. QPushButton#pBtn_cancel:hover
  60. {
  61. background: #FFFFFF;
  62. border-radius: 16px;
  63. border: 1px solid #4458FE;
  64. color: #4458FE;
  65. }
  66. /********* 带有底色按钮三种状态效果 *********/
  67. QPushButton#pBtn_ok
  68. {
  69. color:white;
  70. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  71. border-radius: 16px;
  72. }
  73. QPushButton#pBtn_ok:hover
  74. {
  75. color:white;
  76. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  77. border-radius: 16px;
  78. }