542 lines
16 KiB
XML
542 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ZkEdit</class>
|
|
<widget class="QWidget" name="ZkEdit">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>600</height>
|
|
</rect>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout_3">
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
<property name="widgetResizable">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<widget class="zkWidget" name="widgetPic">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>89</y>
|
|
<width>400</width>
|
|
<height>400</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QVBoxLayout" name="verticalLayout" stretch="0,0,0,0">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="labelScaleLeval">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>编辑图案</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="labelFileName">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout_2" rowstretch="0,0,0">
|
|
<property name="horizontalSpacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="verticalSpacing">
|
|
<number>30</number>
|
|
</property>
|
|
<item row="2" column="2">
|
|
<widget class="QPushButton" name="pushButtonDown">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/arrowdown.png</normaloff>:/icon/arrowdown.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QPushButton" name="pushButtonEnsure">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/sure.png</normaloff>:/icon/sure.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QPushButton" name="pushButtonLeft">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/arrowleft.png</normaloff>:/icon/arrowleft.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QPushButton" name="pushButtonUp">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/arrowup.png</normaloff>:/icon/arrowup.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QPushButton" name="pushButtonRight">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>50</width>
|
|
<height>50</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/arrowright.png</normaloff>:/icon/arrowright.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<property name="spacing">
|
|
<number>5</number>
|
|
</property>
|
|
<item row="1" column="2">
|
|
<widget class="QPushButton" name="pushButtonReduce">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>缩小</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/zoomout.png</normaloff>:/icon/zoomout.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QPushButton" name="pushButtonSave">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/filesave.png</normaloff>:/icon/filesave.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="2">
|
|
<widget class="QPushButton" name="pushButtonNew">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>新建</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/filenew.png</normaloff>:/icon/filenew.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QSpinBox" name="spinBoxWidthPoint">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>37</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>256</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>12</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="2">
|
|
<widget class="QPushButton" name="pushButtonSaveAs">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>保存为</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/filesaveas.png</normaloff>:/icon/filesaveas.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>高度</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="checkBoxPicExpand">
|
|
<property name="text">
|
|
<string>图像扩张</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QPushButton" name="pushButtonOpen">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>打开</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/fileopen.png</normaloff>:/icon/fileopen.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLabel" name="label">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>宽度</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLineEdit" name="lineEdit">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>80</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>A</string>
|
|
</property>
|
|
<property name="maxLength">
|
|
<number>11</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QSpinBox" name="spinBoxHeightPoint">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>256</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>12</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QPushButton" name="pushButtonEnlarge">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>45</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>放大</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/zoomin.png</normaloff>:/icon/zoomin.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="2">
|
|
<widget class="QPushButton" name="pushButtonImport">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>导入</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="image.qrc">
|
|
<normaloff>:/icon/fileimport.png</normaloff>:/icon/fileimport.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QCheckBox" name="checkBoxTrimPic">
|
|
<property name="text">
|
|
<string>图像裁剪</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>zkWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header location="global">zkWidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="image.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|