CRunWidget.qss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. CRunWidget >.QWidget
  2. {
  3. background-color: rgb(255, 255, 255);
  4. }
  5. CRunWidget #lineRun
  6. {
  7. color:#dcdfe3;
  8. }
  9. /*正常*/
  10. CRunWidget QLabel[whatsThis = "valueRunLabel"]
  11. {
  12. width: 140px;
  13. min-height: 40px;
  14. background-color: #f0f2f3;
  15. border-radius: 4px;
  16. padding-left:12px;
  17. color: #333333;
  18. }
  19. CRunWidget QWidget#widget
  20. {
  21. min-height:48px;
  22. border-bottom:1px solid #dcdfe3;
  23. }
  24. CRunWidget QLabel#resultLabel[text= "NG"]
  25. {
  26. width: 372px;
  27. min-height: 100px;
  28. background-color: rgba(255, 45, 45, 0.1);
  29. border-radius: 4px;
  30. font-size: 64px;
  31. color: #ff2d2d;
  32. }
  33. CRunWidget QLabel#resultLabel[text= "OK"]
  34. {
  35. width: 372px;
  36. min-height: 100px;
  37. background-color: #2cdb7d;
  38. border-radius: 4px;
  39. font-size: 64px;
  40. color: #ffffff;
  41. }
  42. CRunWidget QLabel#errorLabel
  43. {
  44. font-size: 14px;
  45. color: #ff2d2d;
  46. background-repeat: repeat-no-repeat;
  47. padding-left: 131px ;
  48. padding-right: 60px ;
  49. background-origin:content;
  50. background-position:left;
  51. background-image:url(Skins/MechHand/resource/prompt_异常.png);
  52. width: 372px;
  53. min-height: 40px;
  54. background-color: rgba(255, 45, 45, 0.1);
  55. border-radius: 4px;
  56. border: 1px solid #ff2d2d;
  57. }
  58. CRunWidget QPushButton#runBtn
  59. {
  60. width: 72px;
  61. height: 64px;
  62. border-radius: 4px;
  63. font-size: 18px;
  64. text-align : right;
  65. background-repeat: repeat-no-repeat;
  66. background-position: left;
  67. background-origin:content;
  68. padding-left:150px;
  69. padding-right:150px;
  70. background-image:url(Skins/MechHand/resource/btn_icon_run_n.png);
  71. }
  72. CRunWidget QPushButton#runBtn:!checked
  73. {
  74. background-image:url(Skins/MechHand/resource/btn_icon_run_n.png);
  75. }
  76. CRunWidget QPushButton#runBtn:checked
  77. {
  78. background-image:url(Skins/MechHand/resource/btn_icon_pause_n.png);
  79. }
  80. CRunWidget QPushButton#runBtn:!checked:hover
  81. {
  82. color:#ffffff;
  83. background-image:url(Skins/MechHand/resource/btn_icon_run_n.png);
  84. }
  85. CRunWidget QPushButton#runBtn:checked:hover
  86. {
  87. color:#ffffff;
  88. background-image:url(Skins/MechHand/resource/btn_icon_pause_n.png);
  89. }
  90. CRunWidget QLineEdit#sceneNameEdit
  91. {
  92. width: 240px;
  93. height: 32px;
  94. border:0px;
  95. }
  96. CRunWidget #adjustCombo,CRunWidget #sceneNameCombo
  97. {
  98. height: 32px;
  99. }