You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
217 lines
4.9 KiB
217 lines
4.9 KiB
<?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>1269</width>
|
|
<height>613</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>基于DCT的图像压缩</string>
|
|
</property>
|
|
<widget class="QLabel" name="label_image_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>720</x>
|
|
<y>10</y>
|
|
<width>450</width>
|
|
<height>450</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Agency FB</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Box</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>处理后的图像</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_open_file">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>60</x>
|
|
<y>110</y>
|
|
<width>111</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>打开图片</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_image_1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>250</x>
|
|
<y>10</y>
|
|
<width>450</width>
|
|
<height>450</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Agency FB</family>
|
|
<pointsize>14</pointsize>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Box</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>原图</string>
|
|
</property>
|
|
<property name="scaledContents">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>180</y>
|
|
<width>191</width>
|
|
<height>271</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>DCT保留的频域系数</string>
|
|
</property>
|
|
<widget class="QPushButton" name="pushButton_dct_process">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>50</x>
|
|
<y>220</y>
|
|
<width>93</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>确定</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="verticalLayoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>40</y>
|
|
<width>111</width>
|
|
<height>151</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_s1">
|
|
<property name="text">
|
|
<string>1个系数</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_s3">
|
|
<property name="text">
|
|
<string>3个系数</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_s6">
|
|
<property name="text">
|
|
<string>6个系数</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_s10">
|
|
<property name="text">
|
|
<string>10个系数</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_s15">
|
|
<property name="text">
|
|
<string>15个系数</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="radioButton_s21">
|
|
<property name="text">
|
|
<string>21个系数</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>10</y>
|
|
<width>181</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>黑体</family>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>基于DCT的图像压缩</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_save">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>920</x>
|
|
<y>480</y>
|
|
<width>93</width>
|
|
<height>28</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存该图像</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|