resize_photos.ui 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>Form</class>
  4. <widget class="QWidget" name="Form">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>457</width>
  10. <height>418</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>图片自动压缩</string>
  15. </property>
  16. <property name="styleSheet">
  17. <string notr="true">background-color: rgb(232, 232, 232);</string>
  18. </property>
  19. <widget class="QLabel" name="label_2">
  20. <property name="geometry">
  21. <rect>
  22. <x>10</x>
  23. <y>70</y>
  24. <width>81</width>
  25. <height>16</height>
  26. </rect>
  27. </property>
  28. <property name="text">
  29. <string>当前图片路径</string>
  30. </property>
  31. </widget>
  32. <widget class="QLabel" name="label_3">
  33. <property name="geometry">
  34. <rect>
  35. <x>100</x>
  36. <y>70</y>
  37. <width>81</width>
  38. <height>16</height>
  39. </rect>
  40. </property>
  41. <property name="styleSheet">
  42. <string notr="true">color: rgb(40, 12, 255);</string>
  43. </property>
  44. <property name="text">
  45. <string>点击修改路径</string>
  46. </property>
  47. </widget>
  48. <widget class="QLabel" name="label_4">
  49. <property name="geometry">
  50. <rect>
  51. <x>10</x>
  52. <y>90</y>
  53. <width>431</width>
  54. <height>31</height>
  55. </rect>
  56. </property>
  57. <property name="text">
  58. <string>文件夹路径展示</string>
  59. </property>
  60. <property name="wordWrap">
  61. <bool>true</bool>
  62. </property>
  63. </widget>
  64. <widget class="QProgressBar" name="progressBar">
  65. <property name="geometry">
  66. <rect>
  67. <x>20</x>
  68. <y>190</y>
  69. <width>421</width>
  70. <height>31</height>
  71. </rect>
  72. </property>
  73. <property name="value">
  74. <number>24</number>
  75. </property>
  76. </widget>
  77. <widget class="QPushButton" name="pushButton">
  78. <property name="geometry">
  79. <rect>
  80. <x>150</x>
  81. <y>360</y>
  82. <width>161</width>
  83. <height>41</height>
  84. </rect>
  85. </property>
  86. <property name="styleSheet">
  87. <string notr="true">background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(255, 137, 27, 255), stop:1 rgba(255, 93, 1, 255));
  88. color: rgb(255, 255, 255);
  89. border-radius: 5px; border: 2px groove gray;
  90. border:0px;</string>
  91. </property>
  92. <property name="text">
  93. <string>执行压缩</string>
  94. </property>
  95. </widget>
  96. <widget class="QTextBrowser" name="textBrowser">
  97. <property name="geometry">
  98. <rect>
  99. <x>10</x>
  100. <y>10</y>
  101. <width>431</width>
  102. <height>51</height>
  103. </rect>
  104. </property>
  105. <property name="html">
  106. <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
  107. &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
  108. p, li { white-space: pre-wrap; }
  109. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
  110. &lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;注意当前图片自动改尺寸功能,会遍历您的所选的文件夹,以及子文件夹,请注意文件夹选择是否正确,数据自行备份。执行后无法撤回。&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  111. </property>
  112. </widget>
  113. <widget class="QTextBrowser" name="textBrowser_2">
  114. <property name="geometry">
  115. <rect>
  116. <x>10</x>
  117. <y>230</y>
  118. <width>431</width>
  119. <height>111</height>
  120. </rect>
  121. </property>
  122. <property name="styleSheet">
  123. <string notr="true">border-radius: 5px; border: 2px groove gray;\nborder:0px;</string>
  124. </property>
  125. <property name="html">
  126. <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
  127. &lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;meta charset=&quot;utf-8&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
  128. p, li { white-space: pre-wrap; }
  129. &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
  130. &lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'SimSun';&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  131. </property>
  132. </widget>
  133. <widget class="QLabel" name="label_5">
  134. <property name="geometry">
  135. <rect>
  136. <x>20</x>
  137. <y>170</y>
  138. <width>361</width>
  139. <height>20</height>
  140. </rect>
  141. </property>
  142. <property name="text">
  143. <string>图片压缩进度</string>
  144. </property>
  145. <property name="alignment">
  146. <set>Qt::AlignCenter</set>
  147. </property>
  148. </widget>
  149. <widget class="QLabel" name="label_6">
  150. <property name="geometry">
  151. <rect>
  152. <x>10</x>
  153. <y>140</y>
  154. <width>71</width>
  155. <height>16</height>
  156. </rect>
  157. </property>
  158. <property name="text">
  159. <string>图片像素宽度</string>
  160. </property>
  161. </widget>
  162. <widget class="QLineEdit" name="lineEdit">
  163. <property name="geometry">
  164. <rect>
  165. <x>100</x>
  166. <y>130</y>
  167. <width>113</width>
  168. <height>31</height>
  169. </rect>
  170. </property>
  171. <property name="styleSheet">
  172. <string notr="true">background-color: rgb(255, 255, 255);</string>
  173. </property>
  174. </widget>
  175. <widget class="QLabel" name="label_7">
  176. <property name="geometry">
  177. <rect>
  178. <x>220</x>
  179. <y>140</y>
  180. <width>141</width>
  181. <height>16</height>
  182. </rect>
  183. </property>
  184. <property name="text">
  185. <string>PX(建议填写800)</string>
  186. </property>
  187. </widget>
  188. <widget class="QLabel" name="label_8">
  189. <property name="geometry">
  190. <rect>
  191. <x>350</x>
  192. <y>370</y>
  193. <width>81</width>
  194. <height>21</height>
  195. </rect>
  196. </property>
  197. <property name="styleSheet">
  198. <string notr="true">color: rgb(40, 12, 255);</string>
  199. </property>
  200. <property name="text">
  201. <string>打开文件夹</string>
  202. </property>
  203. </widget>
  204. </widget>
  205. <resources/>
  206. <connections/>
  207. </ui>