style_msgbox.qss 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. CCustomMessageBox QLabel#lbIcon {
  2. min-width: 60;
  3. min-height: 60;
  4. }
  5. CCustomMessageBox QLabel#lbIcon[icon="0"] {
  6. image: url(Skins/Default/Parts_Icon_Popup_Info.png);
  7. }
  8. CCustomMessageBox QLabel#lbIcon[icon="1"] {
  9. image: url(Skins/Default/Parts_Icon_Popup_Info.png);
  10. }
  11. CCustomMessageBox QLabel#lbIcon[icon="2"] {
  12. image: url(Skins/Default/Parts_Icon_Popup_Warning.png);
  13. }
  14. CCustomMessageBox QLabel#lbIcon[icon="3"] {
  15. image: url(Skins/Default/Parts_Icon_Popup_Error.png);
  16. }
  17. CCustomMessageBox QLabel#lbIcon[icon="4"] {
  18. image: url(Skins/Default/Parts_Icon_Popup_Question.png);
  19. }
  20. CCustomMessageBox QPushButton
  21. {
  22. width: 80px;
  23. height: 32px;
  24. background-color: #ffffff;
  25. border-radius: 4px;
  26. border: 1px solid #b9bfc8;
  27. color: #ffffff;
  28. }
  29. CCustomMessageBox QPushButton:hover
  30. {
  31. color: #333333;
  32. background-color: #f0f2f3;
  33. }
  34. CCustomMessageBox QPushButton:pressed
  35. {
  36. color: #333333;
  37. background-color: #f0f2f3;
  38. }
  39. CCustomMessageBox QPushButton:disabled
  40. {
  41. color: #cbcbcb;
  42. background-color: #ffffff;
  43. }
  44. CCustomMessageBox QPushButton#No
  45. {
  46. width: 80px;
  47. height: 32px;
  48. background-color: #ff2d2d;
  49. border-radius: 4px;
  50. }