739 lines
25 KiB
XML
739 lines
25 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>MainWindow</class>
|
||
<widget class="QMainWindow" name="MainWindow">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>1742</width>
|
||
<height>1211</height>
|
||
</rect>
|
||
</property>
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>MainWindow</string>
|
||
</property>
|
||
<widget class="QWidget" name="centralwidget">
|
||
<layout class="QGridLayout" name="gridLayout_4">
|
||
<item row="0" column="0">
|
||
<widget class="QSplitter" name="splitter">
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
<widget class="QWidget" name="">
|
||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||
<item>
|
||
<layout class="QVBoxLayout" name="verticalLayout">
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<item>
|
||
<widget class="QPushButton" name="btn1">
|
||
<property name="text">
|
||
<string>取线段x1:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_9">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="beg1">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_10">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="end1">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
<item>
|
||
<widget class="QPushButton" name="btn2">
|
||
<property name="text">
|
||
<string>取线段x2:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_42">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="beg2">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_44">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="end2">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||
<item>
|
||
<widget class="QPushButton" name="btn_refLen1">
|
||
<property name="text">
|
||
<string>参考长度</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="refLen1"/>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
||
<item>
|
||
<widget class="QPushButton" name="btn3">
|
||
<property name="text">
|
||
<string>取线段y1:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_47">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="beg3">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_49">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="end3">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_5">
|
||
<item>
|
||
<widget class="QPushButton" name="btn4">
|
||
<property name="text">
|
||
<string>取线段y2:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_52">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="beg4">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_54">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="end4">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_6">
|
||
<item>
|
||
<widget class="QPushButton" name="btn_refLen2">
|
||
<property name="text">
|
||
<string>参考长度</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="refLen2"/>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_7">
|
||
<item>
|
||
<widget class="QPushButton" name="btn7">
|
||
<property name="text">
|
||
<string>取线z1:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_57">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="beg7">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_59">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="end7">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||
<item>
|
||
<widget class="QPushButton" name="btn8">
|
||
<property name="text">
|
||
<string>取线z2:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_72">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="beg8">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_74">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="end8">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
||
<item>
|
||
<widget class="QPushButton" name="btn5">
|
||
<property name="text">
|
||
<string>取线段z3:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_11">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="beg5">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="label_12">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLabel" name="end5">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
||
<item>
|
||
<widget class="QPushButton" name="btn_refheight">
|
||
<property name="text">
|
||
<string>参考高度</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QLineEdit" name="refHei">
|
||
<property name="text">
|
||
<string/>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item>
|
||
<widget class="QTextBrowser" name="textBrowser">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</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" /><style type="text/css">
|
||
p, li { white-space: pre-wrap; }
|
||
</style></head><body style=" font-family:'SimSun'; 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>
|
||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">1、</p>
|
||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">2、</p>
|
||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">3、</p>
|
||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">4、</p>
|
||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">5、</p>
|
||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">6、</p>
|
||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">7、</p>
|
||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">8、</p></body></html></string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QWidget" name="">
|
||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||
<item>
|
||
<widget class="QScrollArea" name="scrollArea">
|
||
<property name="widgetResizable">
|
||
<bool>false</bool>
|
||
</property>
|
||
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>1099</width>
|
||
<height>839</height>
|
||
</rect>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout_5"/>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<layout class="QGridLayout" name="gridLayout_3">
|
||
<item row="0" column="0">
|
||
<layout class="QGridLayout" name="_2">
|
||
<property name="leftMargin">
|
||
<number>21</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>3</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>24</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="horizontalSpacing">
|
||
<number>28</number>
|
||
</property>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="adjustZoomLabel">
|
||
<property name="text">
|
||
<string>Size调节</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="2">
|
||
<widget class="QLabel" name="adjustZoomNumLabel">
|
||
<property name="text">
|
||
<string>100 %</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QSlider" name="adjustZoomSlider">
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>500</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>100</number>
|
||
</property>
|
||
<property name="orientation">
|
||
<enum>Qt::Horizontal</enum>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QPushButton" name="open_file">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>选择图片</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,0,0,0,0,0,0,0">
|
||
<property name="leftMargin">
|
||
<number>63</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>6</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>90</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>6</number>
|
||
</property>
|
||
<property name="horizontalSpacing">
|
||
<number>36</number>
|
||
</property>
|
||
<property name="verticalSpacing">
|
||
<number>7</number>
|
||
</property>
|
||
<item row="2" column="6">
|
||
<widget class="QLabel" name="label_5">
|
||
<property name="text">
|
||
<string>计算结果:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="7">
|
||
<widget class="QLabel" name="width">
|
||
<property name="text">
|
||
<string>result3</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QLabel" name="label_77">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QLabel" name="label_62">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="3">
|
||
<widget class="QLabel" name="label_64">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="6">
|
||
<widget class="QLabel" name="label_3">
|
||
<property name="text">
|
||
<string>计算结果:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="4">
|
||
<widget class="QLabel" name="end10">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="6">
|
||
<widget class="QLabel" name="label_4">
|
||
<property name="text">
|
||
<string>计算结果:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="4">
|
||
<widget class="QLabel" name="end9">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="7">
|
||
<widget class="QLabel" name="length">
|
||
<property name="text">
|
||
<string>result2</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="5">
|
||
<widget class="QPushButton" name="btn_height">
|
||
<property name="layoutDirection">
|
||
<enum>Qt::LeftToRight</enum>
|
||
</property>
|
||
<property name="text">
|
||
<string>计算高</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="4">
|
||
<widget class="QLabel" name="end6">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QPushButton" name="btn6">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>取高:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="5">
|
||
<widget class="QPushButton" name="btn_width">
|
||
<property name="layoutDirection">
|
||
<enum>Qt::LeftToRight</enum>
|
||
</property>
|
||
<property name="text">
|
||
<string>计算宽</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QPushButton" name="btn10">
|
||
<property name="text">
|
||
<string>取宽:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="3">
|
||
<widget class="QLabel" name="label_79">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QLabel" name="label_67">
|
||
<property name="text">
|
||
<string>起点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="7">
|
||
<widget class="QLabel" name="height">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>result1</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="2">
|
||
<widget class="QLabel" name="beg9">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QPushButton" name="btn9">
|
||
<property name="text">
|
||
<string>取长:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="3">
|
||
<widget class="QLabel" name="label_69">
|
||
<property name="text">
|
||
<string>终点:</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="2">
|
||
<widget class="QLabel" name="beg10">
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="5">
|
||
<widget class="QPushButton" name="btn_length">
|
||
<property name="layoutDirection">
|
||
<enum>Qt::LeftToRight</enum>
|
||
</property>
|
||
<property name="text">
|
||
<string>计算长</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="2">
|
||
<widget class="QLabel" name="beg6">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>null</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<widget class="QMenuBar" name="menubar">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>1742</width>
|
||
<height>26</height>
|
||
</rect>
|
||
</property>
|
||
</widget>
|
||
<widget class="QStatusBar" name="statusbar"/>
|
||
<widget class="QToolBar" name="toolBar">
|
||
<property name="windowTitle">
|
||
<string>toolBar</string>
|
||
</property>
|
||
<attribute name="toolBarArea">
|
||
<enum>TopToolBarArea</enum>
|
||
</attribute>
|
||
<attribute name="toolBarBreak">
|
||
<bool>false</bool>
|
||
</attribute>
|
||
</widget>
|
||
<widget class="QToolBar" name="toolBar_2">
|
||
<property name="windowTitle">
|
||
<string>toolBar_2</string>
|
||
</property>
|
||
<attribute name="toolBarArea">
|
||
<enum>TopToolBarArea</enum>
|
||
</attribute>
|
||
<attribute name="toolBarBreak">
|
||
<bool>false</bool>
|
||
</attribute>
|
||
</widget>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|