You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
767 lines
17 KiB
XML
767 lines
17 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>1035</width>
|
|
<height>733</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>MainWindow</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget">
|
|
<widget class="QPushButton" name="pushButtonCreate">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>820</x>
|
|
<y>350</y>
|
|
<width>131</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>生成打印机参数</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>10</y>
|
|
<width>251</width>
|
|
<height>671</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>票据参数</string>
|
|
</property>
|
|
<widget class="QGroupBox" name="groupBox_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>30</y>
|
|
<width>201</width>
|
|
<height>95</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>INPORT</string>
|
|
</property>
|
|
<widget class="QTextEdit" name="textEditInportLine">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>15</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>23</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>行</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditInportColum">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>55</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>65</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>列</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>230</y>
|
|
<width>201</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>MANNO</string>
|
|
</property>
|
|
<widget class="QTextEdit" name="textEditMannoLine">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>20</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>35</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>行</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditMannoColum">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>60</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_8">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>70</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>列</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>340</y>
|
|
<width>201</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>VEHTYPE</string>
|
|
</property>
|
|
<widget class="QTextEdit" name="textEditVehtypeLine">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>20</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_9">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>33</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>行</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditVehTypeColum">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>60</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_10">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>71</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>列</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_7">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>130</y>
|
|
<width>201</width>
|
|
<height>95</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>OUTPORT</string>
|
|
</property>
|
|
<widget class="QTextEdit" name="textEditoutportLine">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>15</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_14">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>23</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>行</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditoutportColum">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>55</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_15">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>65</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>列</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_9">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>450</y>
|
|
<width>201</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Time</string>
|
|
</property>
|
|
<widget class="QTextEdit" name="textEditTimeLine">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>20</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_16">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>33</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>行</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditTimeColum">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>60</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_17">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>71</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>列</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_10">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>560</y>
|
|
<width>201</width>
|
|
<height>101</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>Money</string>
|
|
</property>
|
|
<widget class="QTextEdit" name="textEditMoneyLine">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>20</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_18">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>33</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>行</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditMoneyColum">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>60</y>
|
|
<width>104</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_19">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>71</y>
|
|
<width>41</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>列</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButtonStates">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>820</x>
|
|
<y>410</y>
|
|
<width>131</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>打印机状态</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButtonPrint">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>820</x>
|
|
<y>460</y>
|
|
<width>131</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>打印票据</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButtonClose">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>820</x>
|
|
<y>560</y>
|
|
<width>131</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>关闭打印机</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>310</x>
|
|
<y>150</y>
|
|
<width>401</width>
|
|
<height>311</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>打印信息</string>
|
|
</property>
|
|
<widget class="QLabel" name="label_11">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>40</y>
|
|
<width>71</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>INPORT</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_12">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>120</y>
|
|
<width>51</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>MANNO</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_13">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>170</y>
|
|
<width>72</width>
|
|
<height>15</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>VEHTYPE</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditInPort">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>30</y>
|
|
<width>221</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditManno">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>110</y>
|
|
<width>221</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditVehtype">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>160</y>
|
|
<width>221</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_20">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>80</y>
|
|
<width>71</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>OUTPORT</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditOutPort">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>70</y>
|
|
<width>221</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditVehtype_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>200</y>
|
|
<width>221</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_21">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>210</y>
|
|
<width>72</width>
|
|
<height>15</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Time</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditMoney">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>160</x>
|
|
<y>250</y>
|
|
<width>221</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_22">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>260</y>
|
|
<width>72</width>
|
|
<height>15</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>money</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_6">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>560</y>
|
|
<width>401</width>
|
|
<height>91</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>打印机状态</string>
|
|
</property>
|
|
<widget class="QTextEdit" name="textEditPrintStates">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>120</x>
|
|
<y>20</y>
|
|
<width>261</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButtonCut">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>820</x>
|
|
<y>510</y>
|
|
<width>131</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>切纸</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="groupBox_8">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>310</x>
|
|
<y>30</y>
|
|
<width>711</width>
|
|
<height>71</height>
|
|
</rect>
|
|
</property>
|
|
<property name="title">
|
|
<string>打印机硬件参数</string>
|
|
</property>
|
|
<widget class="QComboBox" name="comboBoxPtrName">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>60</x>
|
|
<y>30</y>
|
|
<width>91</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="editable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>LPT1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>COM1</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>COM2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>COM3</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>40</y>
|
|
<width>51</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>端口</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditPrintLine">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>30</y>
|
|
<width>81</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>340</x>
|
|
<y>34</y>
|
|
<width>61</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>最大行数</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditPrtColum">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>600</x>
|
|
<y>30</y>
|
|
<width>81</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>530</x>
|
|
<y>34</y>
|
|
<width>61</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>最大列数</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>40</y>
|
|
<width>61</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>状态地址</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTextEdit" name="textEditStatesAddr">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>240</x>
|
|
<y>30</y>
|
|
<width>81</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QMenuBar" name="menubar">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>1035</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
</widget>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|