299 lines
7.2 KiB
Plaintext
299 lines
7.2 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<ui version="4.0">
|
|||
|
<class>CutPaperTool</class>
|
|||
|
<widget class="QWidget" name="CutPaperTool">
|
|||
|
<property name="enabled">
|
|||
|
<bool>true</bool>
|
|||
|
</property>
|
|||
|
<property name="geometry">
|
|||
|
<rect>
|
|||
|
<x>0</x>
|
|||
|
<y>0</y>
|
|||
|
<width>439</width>
|
|||
|
<height>676</height>
|
|||
|
</rect>
|
|||
|
</property>
|
|||
|
<property name="sizePolicy">
|
|||
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|||
|
<horstretch>0</horstretch>
|
|||
|
<verstretch>0</verstretch>
|
|||
|
</sizepolicy>
|
|||
|
</property>
|
|||
|
<property name="windowTitle">
|
|||
|
<string>自定义扫描区域</string>
|
|||
|
</property>
|
|||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|||
|
<item>
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label_6">
|
|||
|
<property name="text">
|
|||
|
<string>纸张尺寸:</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="paperLab">
|
|||
|
<property name="text">
|
|||
|
<string>A4</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="sizeLabel">
|
|||
|
<property name="text">
|
|||
|
<string>(210*297)</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_4">
|
|||
|
<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_5">
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label_8">
|
|||
|
<property name="text">
|
|||
|
<string>DPI(像素/英寸):</string>
|
|||
|
</property>
|
|||
|
<property name="alignment">
|
|||
|
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="dpiLab">
|
|||
|
<property name="text">
|
|||
|
<string>200</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_5">
|
|||
|
<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_3">
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label_5">
|
|||
|
<property name="text">
|
|||
|
<string>单位:</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QComboBox" name="comboBox_2">
|
|||
|
<item>
|
|||
|
<property name="text">
|
|||
|
<string>毫米(mm)</string>
|
|||
|
</property>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<property name="text">
|
|||
|
<string>英寸(in)</string>
|
|||
|
</property>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<property name="text">
|
|||
|
<string>像素(px)</string>
|
|||
|
</property>
|
|||
|
</item>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_3">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>40</width>
|
|||
|
<height>20</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QPushButton" name="pbtn_init">
|
|||
|
<property name="text">
|
|||
|
<string>初始化选择区域</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QScrollArea" name="scrollArea">
|
|||
|
<property name="widgetResizable">
|
|||
|
<bool>true</bool>
|
|||
|
</property>
|
|||
|
<widget class="QWidget" name="scrollAreaWidgetContents_4">
|
|||
|
<property name="geometry">
|
|||
|
<rect>
|
|||
|
<x>0</x>
|
|||
|
<y>0</y>
|
|||
|
<width>421</width>
|
|||
|
<height>430</height>
|
|||
|
</rect>
|
|||
|
</property>
|
|||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|||
|
<item>
|
|||
|
<widget class="cutDialog" name="widget" native="true">
|
|||
|
<property name="sizePolicy">
|
|||
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|||
|
<horstretch>0</horstretch>
|
|||
|
<verstretch>0</verstretch>
|
|||
|
</sizepolicy>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</widget>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label">
|
|||
|
<property name="text">
|
|||
|
<string>x:</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLineEdit" name="startXEdt"/>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="xLabel">
|
|||
|
<property name="text">
|
|||
|
<string>mm</string>
|
|||
|
</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>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label_2">
|
|||
|
<property name="text">
|
|||
|
<string>y:</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLineEdit" name="startYEdt"/>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="yLabel">
|
|||
|
<property name="text">
|
|||
|
<string>mm</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="wLabel_2">
|
|||
|
<property name="text">
|
|||
|
<string>w:</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLineEdit" name="rectWidth"/>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="wLabel">
|
|||
|
<property name="text">
|
|||
|
<string>mm</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<spacer name="horizontalSpacer_2">
|
|||
|
<property name="orientation">
|
|||
|
<enum>Qt::Horizontal</enum>
|
|||
|
</property>
|
|||
|
<property name="sizeHint" stdset="0">
|
|||
|
<size>
|
|||
|
<width>40</width>
|
|||
|
<height>20</height>
|
|||
|
</size>
|
|||
|
</property>
|
|||
|
</spacer>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="label_4">
|
|||
|
<property name="text">
|
|||
|
<string>h:</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLineEdit" name="rectHeight"/>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QLabel" name="hLabel">
|
|||
|
<property name="text">
|
|||
|
<string>mm</string>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</item>
|
|||
|
<item>
|
|||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|||
|
<property name="standardButtons">
|
|||
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|||
|
</property>
|
|||
|
</widget>
|
|||
|
</item>
|
|||
|
</layout>
|
|||
|
</widget>
|
|||
|
<customwidgets>
|
|||
|
<customwidget>
|
|||
|
<class>cutDialog</class>
|
|||
|
<extends>QWidget</extends>
|
|||
|
<header location="global">cutdialog.h</header>
|
|||
|
<container>1</container>
|
|||
|
</customwidget>
|
|||
|
</customwidgets>
|
|||
|
<resources/>
|
|||
|
<connections/>
|
|||
|
</ui>
|