templatemanager.qss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. QWidget
  2. {
  3. font-size: 14px;
  4. color: #3A3F63;
  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: #FFFFFF;
  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 #E6E9F4;
  26. }
  27. QLabel#label_title
  28. {
  29. font-weight: 500;
  30. font-size: 18px;
  31. line-height: 24px;
  32. text-align: left;
  33. font-style: normal;
  34. text-transform: none;
  35. }
  36. QPushButton
  37. {
  38. text-align: center;
  39. }
  40. QPushButton#pBtn_close
  41. {
  42. /* border-image: url(:/ICON/ICON/Dialog_close.png); */
  43. background: transparent;
  44. border-radius: 4px;
  45. qproperty-icon: url(:/ICON/ICON/Close_Light.png);
  46. qproperty-iconSize: 20px 20px;
  47. text-align: center;
  48. }
  49. QPushButton#pBtn_close[Hover = true]
  50. {
  51. /* border-image: url(:/ICON/ICON/Dialog_close2.png); */
  52. background: transparent;
  53. border-radius: 4px;
  54. qproperty-icon: url(:/ICON/ICON/Close_pass.png);
  55. qproperty-iconSize: 20px 20px;
  56. border: 1px solid #438EFF;
  57. }
  58. /********* 普通椭圆按钮三种状态效果 *********/
  59. QPushButton#pBtn_cancel
  60. {
  61. border-radius: 16px;
  62. background: #FFFFFF;
  63. border: 1px solid #E6E9F4;
  64. color: #3A3F63;
  65. }
  66. QPushButton#pBtn_cancel:hover
  67. {
  68. border-radius: 16px;
  69. text-align: center;
  70. background: #FFFFFF;
  71. border: 1px solid #4458FE;
  72. color: #4458FE;
  73. }
  74. /********* 带有底色按钮三种状态效果 *********/
  75. QPushButton#pBtn_ok
  76. {
  77. border-radius: 16px;
  78. text-align: center;
  79. color:white;
  80. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:1 #4F8AFF,stop:0 #4B5EFF);
  81. }
  82. QPushButton#pBtn_ok:hover
  83. {
  84. border-radius: 16px;
  85. text-align: center;
  86. color:white;
  87. background: qlineargradient( x0:1,x1:1,y1:0,y2:0,stop:0 #5D73FF,stop:1 #6092FF);
  88. }
  89. /* ==========================================================
  90. * QTableWidget
  91. * ========================================================== */
  92. QTableWidget
  93. {
  94. background: transparent;
  95. /* padding-left: 16px; */
  96. border: 0px solid #E6E9F4;
  97. text-align: left;
  98. }
  99. /* 设置标题栏,如果不生效,可能是在UI里面设置了样式表,导致冲突了 */
  100. QTableWidget QHeaderView
  101. {
  102. background: transparent;
  103. }
  104. QTableWidget QHeaderView::section
  105. {
  106. background: transparent;
  107. padding-left: 16px;
  108. font-weight: 500;
  109. font-size: 14px;
  110. border: 0px solid #E6E9F4;
  111. border-top: 1px solid #E6E9F4;
  112. border-bottom: 1px solid #E6E9F4;
  113. }
  114. QTableWidget::item
  115. {
  116. background: transparent;
  117. padding-left: 16px;
  118. padding-right: 0px;
  119. padding-top: 0px;
  120. padding-bottom: 0px;
  121. margin: 0px;
  122. text-align: left;
  123. border: 0px solid #E6E9F4;
  124. }
  125. QTableWidget::item:selected
  126. {
  127. color: #FFFFFF;
  128. background: #4458FE;
  129. }
  130. QLineEdit
  131. {
  132. color: #1e1c1c;
  133. background: #FFFFFF;
  134. border-radius: 4px;
  135. /* border: 1px solid #438EFF; */
  136. }
  137. /* QTableWidget::item:editable
  138. {
  139. color: #464649;
  140. background: #438EFF;
  141. }
  142. QTableWidget::item:focus
  143. {
  144. color: #464649;
  145. background: #438EFF;
  146. } */
  147. /* QCheckBox::indicator
  148. {
  149. width: 16px;
  150. height: 16px;
  151. border-radius: 4px;
  152. background: #B3C0E7;
  153. } */