pyqt/demo.ui

938 lines
25 KiB
Plaintext
Raw Normal View History

2022-11-24 17:59:20 +08:00
<?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>1761</width>
<height>1188</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QPushButton" name="open_file">
<property name="geometry">
<rect>
<x>630</x>
<y>1010</y>
<width>93</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>选择图片</string>
</property>
</widget>
<widget class="QLabel" name="label_64">
<property name="geometry">
<rect>
<x>1190</x>
<y>1083</y>
<width>41</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>终点:</string>
</property>
</widget>
<widget class="QTextBrowser" name="textBrowser">
<property name="geometry">
<rect>
<x>10</x>
<y>410</y>
<width>411</width>
<height>551</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;算法操作流程:&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;1、&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;2、&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;3、&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;4、&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;5、&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;6、&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;7、&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;8、&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>1484</x>
<y>1009</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>计算结果:</string>
</property>
</widget>
<widget class="QPushButton" name="btn_height">
<property name="geometry">
<rect>
<x>1393</x>
<y>1010</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>计算高</string>
</property>
</widget>
<widget class="QLabel" name="height">
<property name="geometry">
<rect>
<x>1560</x>
<y>1009</y>
<width>39</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>result1</string>
</property>
</widget>
<widget class="QLabel" name="label_67">
<property name="geometry">
<rect>
<x>1010</x>
<y>1010</y>
<width>41</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>起点:</string>
</property>
</widget>
<widget class="QLabel" name="beg6">
<property name="geometry">
<rect>
<x>1060</x>
<y>1010</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>null</string>
</property>
</widget>
<widget class="QPushButton" name="btn6">
<property name="geometry">
<rect>
<x>929</x>
<y>1010</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>取高:</string>
</property>
</widget>
<widget class="QLabel" name="label_69">
<property name="geometry">
<rect>
<x>1190</x>
<y>1010</y>
<width>41</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>终点:</string>
</property>
</widget>
<widget class="QLabel" name="end6">
<property name="geometry">
<rect>
<x>1240</x>
<y>1010</y>
<width>141</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>null</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>1484</x>
<y>1046</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>计算结果:</string>
</property>
</widget>
<widget class="QPushButton" name="btn_length">
<property name="geometry">
<rect>
<x>1393</x>
<y>1047</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>计算长</string>
</property>
</widget>
<widget class="QLabel" name="length">
<property name="geometry">
<rect>
<x>1560</x>
<y>1046</y>
<width>161</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>result2</string>
</property>
</widget>
<widget class="QLabel" name="end9">
<property name="geometry">
<rect>
<x>1240</x>
<y>1047</y>
<width>141</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>null</string>
</property>
</widget>
<widget class="QPushButton" name="btn9">
<property name="geometry">
<rect>
<x>929</x>
<y>1047</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>取长:</string>
</property>
</widget>
<widget class="QLabel" name="label_77">
<property name="geometry">
<rect>
<x>1010</x>
<y>1047</y>
<width>41</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>起点:</string>
</property>
</widget>
<widget class="QLabel" name="beg9">
<property name="geometry">
<rect>
<x>1060</x>
<y>1047</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>null</string>
</property>
</widget>
<widget class="QLabel" name="label_79">
<property name="geometry">
<rect>
<x>1190</x>
<y>1047</y>
<width>41</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>终点:</string>
</property>
</widget>
<widget class="QPushButton" name="btn_width">
<property name="geometry">
<rect>
<x>1393</x>
<y>1083</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
</property>
<property name="text">
<string>计算宽</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>1484</x>
<y>1082</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>计算结果:</string>
</property>
</widget>
<widget class="QLabel" name="width">
<property name="geometry">
<rect>
<x>1560</x>
<y>1082</y>
<width>161</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>result3</string>
</property>
</widget>
<widget class="QPushButton" name="btn10">
<property name="geometry">
<rect>
<x>929</x>
<y>1083</y>
<width>75</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>取宽:</string>
</property>
</widget>
<widget class="QLabel" name="beg10">
<property name="geometry">
<rect>
<x>1060</x>
<y>1083</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>null</string>
</property>
</widget>
<widget class="QLabel" name="label_62">
<property name="geometry">
<rect>
<x>1010</x>
<y>1083</y>
<width>41</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>起点:</string>
</property>
</widget>
<widget class="QLabel" name="end10">
<property name="geometry">
<rect>
<x>1240</x>
<y>1083</y>
<width>141</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>null</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>11</y>
<width>411</width>
<height>106</height>
</rect>
</property>
<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>
<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_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_3">
<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>
<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_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_2">
<item>
<widget class="QPushButton" name="btn_refLen1">
<property name="text">
<string>参考长度</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="refLen1"/>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>131</y>
<width>411</width>
<height>106</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<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>
<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="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_6">
<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>
<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>
<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_5">
<item>
<widget class="QPushButton" name="btn_refLen2">
<property name="text">
<string>参考长度</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="refLen2"/>
</item>
</layout>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>330</y>
<width>411</width>
<height>69</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<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>
<spacer name="horizontalSpacer_7">
<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_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_8">
<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>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>250</y>
<width>411</width>
<height>69</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_9">
<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>
<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>
<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_10">
<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>
<spacer name="horizontalSpacer_6">
<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_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>
</layout>
</widget>
<widget class="QScrollArea" name="scrollArea">
<property name="geometry">
<rect>
<x>430</x>
<y>10</y>
<width>1321</width>
<height>951</height>
</rect>
</property>
<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>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>450</x>
<y>1050</y>
<width>451</width>
<height>24</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_11">
<item>
<widget class="QLabel" name="adjustZoomLabel">
<property name="text">
<string>Size调节</string>
</property>
</widget>
</item>
<item>
<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>
<widget class="QLabel" name="adjustZoomNumLabel">
<property name="text">
<string>100 %</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1761</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>