PlotterHMI/plottersetdialog.ui
huahaiyan 3ce55cebbd 20240308
1、梳理代码,修改绘制会绘制两次的bug;
2、增加正向旋转功能,线宽设置功能;
3、测试压缩算法,完成;
2024-03-08 16:33:05 +08:00

799 lines
20 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PlotterSetDialog</class>
<widget class="QDialog" name="PlotterSetDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1129</width>
<height>394</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QGroupBox" name="groupBox_startMode">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>551</width>
<height>51</height>
</rect>
</property>
<property name="title">
<string extracomment="打印启动方式选择">Print startup mode selection</string>
</property>
<widget class="QCheckBox" name="checkBox_auto">
<property name="geometry">
<rect>
<x>20</x>
<y>25</y>
<width>241</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string extracomment="自动打印">Auto Print</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_printMode">
<property name="geometry">
<rect>
<x>20</x>
<y>70</y>
<width>551</width>
<height>51</height>
</rect>
</property>
<property name="title">
<string extracomment="打印模式选择">Print mode selection</string>
</property>
<widget class="QRadioButton" name="radioButton_single">
<property name="geometry">
<rect>
<x>20</x>
<y>25</y>
<width>89</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string extracomment="单向">Single</string>
</property>
</widget>
<widget class="QRadioButton" name="radioButton_double">
<property name="geometry">
<rect>
<x>200</x>
<y>25</y>
<width>89</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string extracomment="双向">Double</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_drawingCorrect">
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>551</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string extracomment="图形误差修正">Graphic error correction</string>
</property>
<widget class="QLineEdit" name="lineEdit_outputW">
<property name="geometry">
<rect>
<x>240</x>
<y>28</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>1000</string>
</property>
</widget>
<widget class="QLabel" name="label_outputWUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>32</y>
<width>30</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>mm</string>
</property>
</widget>
<widget class="QLabel" name="label_outputW">
<property name="geometry">
<rect>
<x>53</x>
<y>28</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="1米实际输出">1 meter actual output:</string>
</property>
</widget>
<widget class="QLabel" name="label_outputHUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>62</y>
<width>30</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>mm</string>
</property>
</widget>
<widget class="QLabel" name="label_outputH">
<property name="geometry">
<rect>
<x>53</x>
<y>58</y>
<width>181</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="1米实际输出">1 meter actual output:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_outputH">
<property name="geometry">
<rect>
<x>240</x>
<y>58</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>1000</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_drawSquare">
<property name="geometry">
<rect>
<x>340</x>
<y>40</y>
<width>201</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string extracomment="绘1米正方形">Drawing 1 meter Square</string>
</property>
</widget>
<widget class="QLabel" name="label_outputWIcon">
<property name="geometry">
<rect>
<x>6</x>
<y>28</y>
<width>42</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-image: url(:/resources/page_cy.bmp);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_outputHIcon">
<property name="geometry">
<rect>
<x>6</x>
<y>57</y>
<width>42</width>
<height>20</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-image: url(:/resources/page_cx.bmp);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_twowayError">
<property name="geometry">
<rect>
<x>590</x>
<y>10</y>
<width>521</width>
<height>81</height>
</rect>
</property>
<property name="title">
<string extracomment="双向打印误差设置">Two way print error setting</string>
</property>
<widget class="QLineEdit" name="lineEdit_twowayError">
<property name="geometry">
<rect>
<x>198</x>
<y>24</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QLabel" name="label_twowayErrorUnit">
<property name="geometry">
<rect>
<x>268</x>
<y>26</y>
<width>30</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>mm</string>
</property>
</widget>
<widget class="QLabel" name="label_twowayError">
<property name="geometry">
<rect>
<x>23</x>
<y>24</y>
<width>168</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="双向打印错位误差:">Two way print error:</string>
</property>
</widget>
<widget class="QLabel" name="label_drawWUnit">
<property name="geometry">
<rect>
<x>268</x>
<y>56</y>
<width>30</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>mm</string>
</property>
</widget>
<widget class="QLabel" name="label_drawW">
<property name="geometry">
<rect>
<x>23</x>
<y>52</y>
<width>168</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="打印图形宽度:">Print drawing width:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_drawW">
<property name="geometry">
<rect>
<x>198</x>
<y>52</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>1600</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_printCorrect">
<property name="geometry">
<rect>
<x>300</x>
<y>34</y>
<width>211</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string extracomment="打印误差修正图">Print Error Correction</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_overlapNozzle">
<property name="geometry">
<rect>
<x>590</x>
<y>100</y>
<width>521</width>
<height>252</height>
</rect>
</property>
<property name="title">
<string extracomment="喷头间误差设置">Error setting between nozzles</string>
</property>
<widget class="QGroupBox" name="groupBox_nozzleError">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>501</width>
<height>106</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QLineEdit" name="lineEdit_12Error">
<property name="geometry">
<rect>
<x>240</x>
<y>24</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QLabel" name="label_12ErrorUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>24</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="像素">pixel</string>
</property>
</widget>
<widget class="QLabel" name="label_12Error">
<property name="geometry">
<rect>
<x>13</x>
<y>24</y>
<width>221</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="1、2喷头间错误误差">1、2 error between nozzles:</string>
</property>
</widget>
<widget class="QLabel" name="label_23ErrorUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>52</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="像素">pixel</string>
</property>
</widget>
<widget class="QLabel" name="label_23Error">
<property name="geometry">
<rect>
<x>13</x>
<y>52</y>
<width>221</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="2、3喷头间错误误差">2、3 error between nozzles:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_23Error">
<property name="geometry">
<rect>
<x>240</x>
<y>52</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QLabel" name="label_34Error">
<property name="geometry">
<rect>
<x>13</x>
<y>80</y>
<width>221</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="3、4喷头间错误误差">3、4 error between nozzles:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_34Error">
<property name="geometry">
<rect>
<x>240</x>
<y>80</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QLabel" name="label_34ErrorUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>80</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="像素">pixel</string>
</property>
</widget>
<widget class="QLabel" name="label_errorIcon">
<property name="geometry">
<rect>
<x>390</x>
<y>39</y>
<width>65</width>
<height>48</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-image: url(:/resources/ErrorY.bmp);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_overlapError">
<property name="geometry">
<rect>
<x>10</x>
<y>105</y>
<width>501</width>
<height>106</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QLineEdit" name="lineEdit_12Overlap">
<property name="geometry">
<rect>
<x>240</x>
<y>25</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QLabel" name="label_12OverlapUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>25</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="像素">pixel</string>
</property>
</widget>
<widget class="QLabel" name="label_12Overlap">
<property name="geometry">
<rect>
<x>13</x>
<y>25</y>
<width>221</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="1、2喷头间重叠误差">1、2 overlap between nozzles:</string>
</property>
</widget>
<widget class="QLabel" name="label_23OverlapUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>53</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="像素">pixel</string>
</property>
</widget>
<widget class="QLabel" name="label_23Overlap">
<property name="geometry">
<rect>
<x>13</x>
<y>53</y>
<width>221</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="2、3喷头间重叠误差">2、3 overlap between nozzles:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_23Overlap">
<property name="geometry">
<rect>
<x>240</x>
<y>53</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QLabel" name="label_34Overlap">
<property name="geometry">
<rect>
<x>13</x>
<y>81</y>
<width>221</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="3、4喷头间重叠误差">3、4 overlap between nozzles:</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_34Overlap">
<property name="geometry">
<rect>
<x>240</x>
<y>81</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QLabel" name="label_34OverlapUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>81</y>
<width>51</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="像素">pixel</string>
</property>
</widget>
<widget class="QLabel" name="label_overlapIcon">
<property name="geometry">
<rect>
<x>390</x>
<y>40</y>
<width>65</width>
<height>48</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">background-image: url(:/resources/ErrorX.bmp);</string>
</property>
<property name="text">
<string/>
</property>
</widget>
</widget>
<widget class="QPushButton" name="pushButton_printCorrectNozzles">
<property name="geometry">
<rect>
<x>190</x>
<y>220</y>
<width>321</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string extracomment="打印喷头间误差修正图">Correction diagram between nozzles</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_paperFeedingCorrect">
<property name="geometry">
<rect>
<x>20</x>
<y>290</y>
<width>551</width>
<height>62</height>
</rect>
</property>
<property name="title">
<string extracomment="走纸误差修正">Paper feeding error correction</string>
</property>
<widget class="QLineEdit" name="lineEdit_paperFeedingSet">
<property name="geometry">
<rect>
<x>240</x>
<y>31</y>
<width>61</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>0</string>
</property>
</widget>
<widget class="QLabel" name="label_paperFeedingUnit">
<property name="geometry">
<rect>
<x>310</x>
<y>35</y>
<width>30</width>
<height>12</height>
</rect>
</property>
<property name="text">
<string>mm</string>
</property>
</widget>
<widget class="QLabel" name="label_paperFeedingSet">
<property name="geometry">
<rect>
<x>36</x>
<y>31</y>
<width>201</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string extracomment="走纸误差设置:">Paper feeding error set:</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_printPaperFeeding">
<property name="geometry">
<rect>
<x>340</x>
<y>27</y>
<width>201</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string extracomment="打印走纸误差">Print paper feed error</string>
</property>
</widget>
</widget>
<widget class="QPushButton" name="pushButton_ok">
<property name="geometry">
<rect>
<x>980</x>
<y>360</y>
<width>60</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string extracomment="确定">Ok</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_cancel">
<property name="geometry">
<rect>
<x>1050</x>
<y>360</y>
<width>60</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string extracomment="取消">Cancel</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox_SprinklerSelect">
<property name="geometry">
<rect>
<x>20</x>
<y>130</y>
<width>551</width>
<height>51</height>
</rect>
</property>
<property name="title">
<string extracomment="喷头选择">Sprinkler selection</string>
</property>
<widget class="QCheckBox" name="checkBox_nozzle1">
<property name="geometry">
<rect>
<x>20</x>
<y>25</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string extracomment="1号喷头">Nozzle 1</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_nozzle2">
<property name="geometry">
<rect>
<x>130</x>
<y>25</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string extracomment="2号喷头">Nozzle 2</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_nozzle3">
<property name="geometry">
<rect>
<x>240</x>
<y>25</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string extracomment="3号喷头">Nozzle 3</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_nozzle4">
<property name="geometry">
<rect>
<x>350</x>
<y>25</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string extracomment="4号喷头">Nozzle 4</string>
</property>
</widget>
</widget>
</widget>
<resources/>
<connections/>
</ui>