CNetworkFormatDialog.qss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. *{
  2. color: #333333;
  3. }
  4. QFrame#frame QLineEdit
  5. {
  6. width: 86px;
  7. height: 32px;
  8. background-color: #ffffff;
  9. border-radius: 3px;
  10. border:1px solid #dcdfe3;
  11. padding-left:8px;
  12. }
  13. QTextEdit#textEdit
  14. {
  15. width: 840px;
  16. height: 60px;
  17. background-color: #f7f7f7;
  18. border-radius: 4px;
  19. }
  20. QPushButton
  21. {
  22. width: 64px;
  23. height: 32px;
  24. background-color: #ffffff;
  25. border-radius: 3px;
  26. border: 1px solid#b9bfc8;
  27. }
  28. QPushButton:hover
  29. {
  30. color: #333333;
  31. background-color: #f0f2f3;
  32. }
  33. QPushButton:pressed
  34. {
  35. color: #333333;
  36. background-color: #f0f2f3;
  37. }
  38. QPushButton:disabled
  39. {
  40. color: #cbcbcb;
  41. background-color: #ffffff;
  42. }
  43. #pushButton
  44. {
  45. width: 80px;
  46. height: 32px;
  47. border-radius: 4px;
  48. color: rgba(255, 255, 255);
  49. background-color: #ff2d2d;
  50. }
  51. #pushButton:hover
  52. {
  53. color: #ffe4e4;
  54. background-color: #ff4c4c;
  55. }
  56. #pushButton:pressed
  57. {
  58. color: #ffffff;
  59. background-color: #ff2d2d;
  60. }
  61. #pushButton:disabled
  62. {
  63. color: #ffcaca;
  64. background-color: #ff9595;
  65. }
  66. QRadioButton{
  67. spacing:8px;
  68. }
  69. QRadioButton::indicator:unchecked{
  70. image:url(Skins/MechHand/resource/radio_n.png);
  71. }
  72. QRadioButton::indicator:checked{
  73. image:url(Skins/MechHand/resource/radio_d-1.png);
  74. }
  75. QRadioButton::indicator:unchecked:disabled{
  76. image:url(Skins/MechHand/resource/radio_n-1.png);
  77. }
  78. QRadioButton::indicator:unchecked:hover{
  79. image:url(Skins/MechHand/resource/radio_n-3.png);
  80. }
  81. QRadioButton::indicator:checked:disabled{
  82. image:url(Skins/MechHand/resource/radio_d.png);
  83. }
  84. QRadioButton::indicator:checked:hover{
  85. image:url(Skins/MechHand/resource/radio_d-2.png);
  86. }
  87. #label,#label_2,#label_3
  88. {
  89. color: #666666;
  90. }
  91. QTableView{
  92. font-size:14px;
  93. background:#F8F8F8;
  94. color:#000000;
  95. border: 0px;
  96. gridline-color:#FFFFFF;
  97. selection-background-color:rgba(200,200,200,0.8);
  98. }
  99. QTableView::item{
  100. height: 40px;
  101. }
  102. QHeaderView::section:vertical
  103. {
  104. width:0px;
  105. }
  106. QHeaderView::section:horizontal
  107. {
  108. width: 372px;
  109. height: 40px;
  110. background-color: #f2f3f4;
  111. border-radius: 4px 4px 0px 0px;
  112. }
  113. QTableView::section{
  114. border:0px;
  115. height:40px;
  116. background-color: #ffffff;
  117. color: #ff2d2d;
  118. }
  119. QComboBox:active
  120. {
  121. background-color: #ffffff;
  122. color: #ff2d2d;
  123. }
  124. QComboBox::down-arrow:on
  125. {
  126. image: url(Skins/MechHand/resource/header_dropdown_up.png);
  127. }
  128. QComboBox::drop-down
  129. {
  130. subcontrol-origin: padding;
  131. subcontrol-position: top right;
  132. width: 18px;
  133. border: 0;
  134. }
  135. QComboBox::down-arrow
  136. {
  137. image: url(Skins/MechHand/resource/header_dropdown_up.png);
  138. }
  139. QComboBox::down-arrow
  140. {
  141. image: url(Skins/MechHand/resource/header_dropdown_p.png);
  142. }
  143. QComboBox::down-arrow:pressed{
  144. image: url(Skins/MechHand/resource/header_dropdown_p.png);
  145. }
  146. QComboBox::down-arrow:hover{
  147. image: url(Skins/MechHand/resource/header_dropdown_h.png);
  148. }
  149. QComboBox::down-arrow:disabled{
  150. image: url(Skins/MechHand/resource/header_dropdown_d.png);
  151. }