123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>Form</class>
- <widget class="QWidget" name="Form">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>457</width>
- <height>418</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>图片自动压缩</string>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: rgb(232, 232, 232);</string>
- </property>
- <widget class="QLabel" name="label_2">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>70</y>
- <width>81</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>当前图片路径</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_3">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>70</y>
- <width>81</width>
- <height>16</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">color: rgb(40, 12, 255);</string>
- </property>
- <property name="text">
- <string>点击修改路径</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_4">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>90</y>
- <width>431</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>文件夹路径展示</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- <widget class="QProgressBar" name="progressBar">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>190</y>
- <width>421</width>
- <height>31</height>
- </rect>
- </property>
- <property name="value">
- <number>24</number>
- </property>
- </widget>
- <widget class="QPushButton" name="pushButton">
- <property name="geometry">
- <rect>
- <x>150</x>
- <y>360</y>
- <width>161</width>
- <height>41</height>
- </rect>
- </property>
- <property name="styleSheet">
- <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));
- color: rgb(255, 255, 255);
- border-radius: 5px; border: 2px groove gray;
- border:0px;</string>
- </property>
- <property name="text">
- <string>执行压缩</string>
- </property>
- </widget>
- <widget class="QTextBrowser" name="textBrowser">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>10</y>
- <width>431</width>
- <height>51</height>
- </rect>
- </property>
- <property name="html">
- <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
- <html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
- p, li { white-space: pre-wrap; }
- </style></head><body style=" font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;">
- <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">注意当前图片自动改尺寸功能,会遍历您的所选的文件夹,以及子文件夹,请注意文件夹选择是否正确,数据自行备份。执行后无法撤回。</p></body></html></string>
- </property>
- </widget>
- <widget class="QTextBrowser" name="textBrowser_2">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>230</y>
- <width>431</width>
- <height>111</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">border-radius: 5px; border: 2px groove gray;\nborder:0px;</string>
- </property>
- <property name="html">
- <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
- <html><head><meta name="qrichtext" content="1" /><meta charset="utf-8" /><style type="text/css">
- p, li { white-space: pre-wrap; }
- </style></head><body style=" font-family:'Microsoft YaHei UI'; font-size:9pt; font-weight:400; font-style:normal;">
- <p style="-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';"><br /></p></body></html></string>
- </property>
- </widget>
- <widget class="QLabel" name="label_5">
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>170</y>
- <width>361</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>图片压缩进度</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- <widget class="QLabel" name="label_6">
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>140</y>
- <width>71</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>图片像素宽度</string>
- </property>
- </widget>
- <widget class="QLineEdit" name="lineEdit">
- <property name="geometry">
- <rect>
- <x>100</x>
- <y>130</y>
- <width>113</width>
- <height>31</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">background-color: rgb(255, 255, 255);</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_7">
- <property name="geometry">
- <rect>
- <x>220</x>
- <y>140</y>
- <width>141</width>
- <height>16</height>
- </rect>
- </property>
- <property name="text">
- <string>PX(建议填写800)</string>
- </property>
- </widget>
- <widget class="QLabel" name="label_8">
- <property name="geometry">
- <rect>
- <x>350</x>
- <y>370</y>
- <width>81</width>
- <height>21</height>
- </rect>
- </property>
- <property name="styleSheet">
- <string notr="true">color: rgb(40, 12, 255);</string>
- </property>
- <property name="text">
- <string>打开文件夹</string>
- </property>
- </widget>
- </widget>
- <resources/>
- <connections/>
- </ui>
|