mirror of
https://github.com/tonquer/picacg-qt.git
synced 2025-01-08 11:57:48 +08:00
618 lines
19 KiB
XML
618 lines
19 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>ConvertItem</class>
|
||
<widget class="QWidget" name="ConvertItem">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>539</width>
|
||
<height>546</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>转换选项</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||
<item>
|
||
<widget class="SmoothScrollArea" name="scrollArea">
|
||
<property name="widgetResizable">
|
||
<bool>true</bool>
|
||
</property>
|
||
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>519</width>
|
||
<height>494</height>
|
||
</rect>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||
<item>
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<item row="3" column="1">
|
||
<layout class="QGridLayout" name="gridLayout_3">
|
||
<item row="1" column="1">
|
||
<widget class="QRadioButton" name="convert_2">
|
||
<property name="text">
|
||
<string>统一转换为PNG</string>
|
||
</property>
|
||
<attribute name="buttonGroup">
|
||
<string notr="true">convertGroup</string>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QRadioButton" name="compose_1">
|
||
<property name="text">
|
||
<string>无</string>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>true</bool>
|
||
</property>
|
||
<attribute name="buttonGroup">
|
||
<string notr="true">composeGroup</string>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QRadioButton" name="convert_1">
|
||
<property name="text">
|
||
<string>无</string>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>true</bool>
|
||
</property>
|
||
<attribute name="buttonGroup">
|
||
<string notr="true">convertGroup</string>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QRadioButton" name="compose_2">
|
||
<property name="text">
|
||
<string>打包成ZIP</string>
|
||
</property>
|
||
<attribute name="buttonGroup">
|
||
<string notr="true">composeGroup</string>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QRadioButton" name="convert_3">
|
||
<property name="text">
|
||
<string>统一转换为JPG</string>
|
||
</property>
|
||
<attribute name="buttonGroup">
|
||
<string notr="true">convertGroup</string>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="1">
|
||
<widget class="QRadioButton" name="convert_4">
|
||
<property name="text">
|
||
<string>统一转换为WEBP</string>
|
||
</property>
|
||
<attribute name="buttonGroup">
|
||
<string notr="true">convertGroup</string>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="5" column="0">
|
||
<widget class="QLabel" name="label_4">
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>输出:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<layout class="QGridLayout" name="gridLayout_2">
|
||
<item row="1" column="1">
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<item>
|
||
<widget class="QLineEdit" name="importLine"/>
|
||
</item>
|
||
<item>
|
||
<widget class="QToolButton" name="importButton">
|
||
<property name="text">
|
||
<string>...</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="label_6">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>输入目录:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QCheckBox" name="checkBox">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>是否多章节目录</string>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>true</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QLabel" name="label_2">
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>Waifu2x</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="0">
|
||
<widget class="QLabel" name="label_3">
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>压缩:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||
<item>
|
||
<widget class="QCheckBox" name="coverCheckBox">
|
||
<property name="text">
|
||
<string>是否启用</string>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>true</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QCheckBox" name="ttaCheck">
|
||
<property name="text">
|
||
<string>TTA模式(高质量)</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_12">
|
||
<item>
|
||
<widget class="QLabel" name="label_23">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>156</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>去噪等级</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="WheelComboBox" name="coverNoise">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="currentIndex">
|
||
<number>3</number>
|
||
</property>
|
||
<item>
|
||
<property name="text">
|
||
<string>0</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>1</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>2</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>3</string>
|
||
</property>
|
||
</item>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_10">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_14">
|
||
<item>
|
||
<widget class="QLabel" name="label_26">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>156</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>模型</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="WheelComboBox" name="coverModel_2">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<item>
|
||
<property name="text">
|
||
<string>cunet</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>photo</string>
|
||
</property>
|
||
</item>
|
||
<item>
|
||
<property name="text">
|
||
<string>anime_style_art_rgb</string>
|
||
</property>
|
||
</item>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_12">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_15">
|
||
<item>
|
||
<widget class="QRadioButton" name="scale_1">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>使用放大倍率</string>
|
||
</property>
|
||
<property name="checked">
|
||
<bool>true</bool>
|
||
</property>
|
||
<attribute name="buttonGroup">
|
||
<string notr="true">scaleGroup</string>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="WheelDoubleSpinBox" name="coverScale">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="decimals">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<double>32.000000000000000</double>
|
||
</property>
|
||
<property name="singleStep">
|
||
<double>0.100000000000000</double>
|
||
</property>
|
||
<property name="value">
|
||
<double>2.000000000000000</double>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer_13">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||
<item>
|
||
<widget class="QRadioButton" name="scale_2">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>使用固定分辨率</string>
|
||
</property>
|
||
<attribute name="buttonGroup">
|
||
<string notr="true">scaleGroup</string>
|
||
</attribute>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QSpinBox" name="scale_x">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>100000</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>1920</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_8">
|
||
<property name="text">
|
||
<string>x</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QSpinBox" name="scale_y">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>100</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>100000</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>1080</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="horizontalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>40</width>
|
||
<height>20</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="label_5">
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>60</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>输入:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="4" column="0">
|
||
<widget class="QLabel" name="label">
|
||
<property name="text">
|
||
<string>其他:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="4" column="1">
|
||
<layout class="QGridLayout" name="gridLayout_5">
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label_9">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>缓存目录:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QLabel" name="cacheDir">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="5" column="1">
|
||
<layout class="QGridLayout" name="gridLayout_4">
|
||
<item row="0" column="1">
|
||
<widget class="QLineEdit" name="exportLine"/>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label_7">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>120</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>输出目录:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QToolButton" name="exportButton">
|
||
<property name="text">
|
||
<string>...</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
<item>
|
||
<widget class="QPushButton" name="loginButton">
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true"/>
|
||
</property>
|
||
<property name="text">
|
||
<string>确定</string>
|
||
</property>
|
||
<property name="shortcut">
|
||
<string>Return</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QPushButton" name="closeButton">
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>150</width>
|
||
<height>30</height>
|
||
</size>
|
||
</property>
|
||
<property name="text">
|
||
<string>关闭</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<customwidgets>
|
||
<customwidget>
|
||
<class>SmoothScrollArea</class>
|
||
<extends>QScrollArea</extends>
|
||
<header location="global">component.scroll_area.smooth_scroll_area.h</header>
|
||
<container>1</container>
|
||
</customwidget>
|
||
<customwidget>
|
||
<class>WheelComboBox</class>
|
||
<extends>QComboBox</extends>
|
||
<header location="global">component.box.wheel_combo_box.h</header>
|
||
</customwidget>
|
||
<customwidget>
|
||
<class>WheelDoubleSpinBox</class>
|
||
<extends>QDoubleSpinBox</extends>
|
||
<header location="global">component.box.wheel_double_spin_box.h</header>
|
||
</customwidget>
|
||
</customwidgets>
|
||
<resources/>
|
||
<connections/>
|
||
<buttongroups>
|
||
<buttongroup name="composeGroup"/>
|
||
<buttongroup name="convertGroup"/>
|
||
<buttongroup name="scaleGroup"/>
|
||
</buttongroups>
|
||
</ui>
|