templatemanager.qss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. QWidget
  2. {
  3. font-size: 14px;
  4. color: #D2D2D2;
  5. line-height: 21px;
  6. text-align: left;
  7. font-style: normal;
  8. }
  9. QWidget#TemplateManager
  10. {
  11. background: transparent;
  12. }
  13. QWidget#widget
  14. {
  15. background: #464649;
  16. border-radius: 8px 8px 8px 8px;
  17. }
  18. QWidget#widget_Top
  19. {
  20. background: transparent;
  21. border-top-left-radius: 8px;
  22. border-top-right-radius: 8px;
  23. border-bottom-left-radius: 0px;
  24. border-bottom-right-radius: 0px;
  25. border-bottom: 1px solid rgba(255,255,255,0.15);
  26. }
  27. QLabel#label_title
  28. {
  29. font-weight: 500;
  30. font-size: 18px;
  31. color: #D2D2D2;
  32. line-height: 24px;
  33. text-align: left;
  34. font-style: normal;
  35. text-transform: none;
  36. }
  37. QPushButton#pBtn_close
  38. {
  39. /* border-image: url(:/ICON/ICON/Dialog_close.png); */
  40. background: transparent;
  41. border-radius: 4px;
  42. qproperty-icon: url(:/ICON/ICON/Close_Dark.png);
  43. qproperty-iconSize: 20px 20px;
  44. text-align: center;
  45. }
  46. QPushButton#pBtn_close[Hover = true]
  47. {
  48. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  49. background: transparent;
  50. border-radius: 4px;
  51. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  52. qproperty-iconSize: 20px 20px;
  53. text-align: center;
  54. border: 1px solid #438EFF;
  55. }
  56. /********* 普通方框按钮三种状态效果 *********/
  57. QPushButton#pBtn_cancel:enabled
  58. {
  59. text-align: center;
  60. color: #EBEBEB;
  61. border: 1px solid rgba(255,255,255,0.25);
  62. border-radius: 16px;
  63. background: transparent;
  64. }
  65. QPushButton#pBtn_cancel:hover
  66. {
  67. text-align: center;
  68. color: #EBEBEB;
  69. border: 1px solid rgba(255,255,255,0.25);
  70. border-radius: 16px;
  71. background: rgba(0,0,0,0.15);
  72. }
  73. /********* 带有底色按钮三种状态效果 *********/
  74. QPushButton#pBtn_ok
  75. {
  76. border-radius: 16px;
  77. text-align: center;
  78. color:white;
  79. background: #438EFF;
  80. border-radius: 16px;
  81. }
  82. QPushButton#pBtn_ok:hover
  83. {
  84. border-radius: 16px;
  85. text-align: center;
  86. color:white;
  87. background: #5F9EFF;
  88. border-radius: 16px;
  89. }
  90. /* ==========================================================
  91. * QTableWidget
  92. * ========================================================== */
  93. QTableWidget
  94. {
  95. background: transparent;
  96. /* padding-left: 16px; */
  97. border: 0px solid #E6E9F4;
  98. text-align: left;
  99. }
  100. /* 设置标题栏,如果不生效,可能是在UI里面设置了样式表,导致冲突了 */
  101. QTableWidget QHeaderView
  102. {
  103. background: transparent;
  104. }
  105. QTableWidget QHeaderView::section
  106. {
  107. background: transparent;
  108. padding-left: 16px;
  109. font-weight: 500;
  110. font-size: 14px;
  111. color: #D2D2D2;
  112. border: 0px solid #E6E9F4;
  113. border-top: 1px solid rgba(255,255,255,0.15);
  114. border-bottom: 1px solid rgba(255,255,255,0.15);
  115. }
  116. QTableWidget::item
  117. {
  118. background: transparent;
  119. padding-left: 16px;
  120. padding-right: 0px;
  121. padding-top: 0px;
  122. padding-bottom: 0px;
  123. margin: 0px;
  124. text-align: left;
  125. border: 0px solid #E6E9F4;
  126. }
  127. QTableWidget::item:selected
  128. {
  129. color: #EBEBEB;
  130. background: #438EFF;
  131. }
  132. /* QTableWidget::item:selected:focus
  133. {
  134. color: #464649;
  135. background: #438EFF;
  136. } */
  137. /* QCheckBox::indicator
  138. {
  139. width: 16px;
  140. height: 16px;
  141. border-radius: 4px;
  142. background: #B3C0E7;
  143. } */