704 lines
16 KiB
XML
704 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ItemGeneralSettings</class>
|
|
<widget class="QWidget" name="ItemGeneralSettings">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>794</width>
|
|
<height>472</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"> QPushButton {
|
|
background-color: #5396C1;
|
|
color: #ffffff;
|
|
border: 1px solid #000000;
|
|
border-radius: 3px;
|
|
font-size: 18px;
|
|
font-weight:500;
|
|
width: 180px;
|
|
height: 90px;
|
|
}
|
|
|
|
QPushButton:hover {
|
|
background-color: #5396C1;
|
|
}
|
|
|
|
QPushButton:disabled {
|
|
background-color: #7C828E;
|
|
color: #606060;
|
|
border-color: #808080;
|
|
}</string>
|
|
</property>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>30</x>
|
|
<y>20</y>
|
|
<width>71</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>反差</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>densitySpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="counterIDSpinBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>390</y>
|
|
<width>48</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="counterIdDownBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>370</x>
|
|
<y>390</y>
|
|
<width>40</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>←</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="counterIdUpBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>410</x>
|
|
<y>390</y>
|
|
<width>40</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>→</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>30</y>
|
|
<width>71</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>粗体</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>boldSpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="boldSpinBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>340</x>
|
|
<y>50</y>
|
|
<width>48</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>8</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="boldDownBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>390</x>
|
|
<y>50</y>
|
|
<width>40</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>←</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="boldUpBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>430</x>
|
|
<y>50</y>
|
|
<width>40</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>→</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="invertCheckBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>100</y>
|
|
<width>92</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>颠倒</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="alternateCheckBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>150</y>
|
|
<width>92</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>交替</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>90</y>
|
|
<width>67</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>定向</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="normalRBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>120</y>
|
|
<width>101</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:/image/itemEditor/normal.png</normaloff>:/image/itemEditor/normal.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="verMirrorRBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>430</x>
|
|
<y>120</y>
|
|
<width>101</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:/image/itemEditor/verMirror.png</normaloff>:/image/itemEditor/verMirror.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="horMirrorRBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>540</x>
|
|
<y>120</y>
|
|
<width>101</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:/image/itemEditor/horMirror.png</normaloff>:/image/itemEditor/horMirror.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="m90NHorRBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>160</y>
|
|
<width>61</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:/image/itemEditor/m90_hor.png</normaloff>:/image/itemEditor/m90_hor.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="mirrorRBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>640</x>
|
|
<y>120</y>
|
|
<width>101</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:/image/itemEditor/mirror.png</normaloff>:/image/itemEditor/mirror.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="a90RBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>430</x>
|
|
<y>160</y>
|
|
<width>61</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:/image/itemEditor/a90.png</normaloff>:/image/itemEditor/a90.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="m90RBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>540</x>
|
|
<y>160</y>
|
|
<width>61</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:/image/itemEditor/m90.png</normaloff>:/image/itemEditor/m90.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="QRadioButton" name="m90NVerRBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>640</x>
|
|
<y>160</y>
|
|
<width>61</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<normaloff>:/image/itemEditor/m90_ver.png</normaloff>:/image/itemEditor/m90_ver.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>48</width>
|
|
<height>48</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
<widget class="ImagePreviewer" name="previewWidget" native="true">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>50</x>
|
|
<y>240</y>
|
|
<width>661</width>
|
|
<height>111</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="applyCounterCheckBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>300</x>
|
|
<y>360</y>
|
|
<width>161</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Print, when counter</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>460</x>
|
|
<y>390</y>
|
|
<width>101</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>计数器ID</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>counterIDSpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="densitySpinBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>50</x>
|
|
<y>50</y>
|
|
<width>48</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="densityDownBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>100</x>
|
|
<y>50</y>
|
|
<width>40</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>←</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="densityUpBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>50</y>
|
|
<width>40</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>→</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QWidget" name="letterSpacePanel" native="true">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>530</x>
|
|
<y>30</y>
|
|
<width>181</width>
|
|
<height>61</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>91</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>字符间距</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>txtSpanSpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="txtSpanSpinBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>20</y>
|
|
<width>48</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="txtSpanDownBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>50</x>
|
|
<y>20</y>
|
|
<width>40</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>←</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="txtSpanUpBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>90</x>
|
|
<y>20</y>
|
|
<width>40</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>→</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>ImagePreviewer</class>
|
|
<extends>QWidget</extends>
|
|
<header>imagepreviewer.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>invertCheckBox</tabstop>
|
|
<tabstop>densitySpinBox</tabstop>
|
|
<tabstop>densityDownBtn</tabstop>
|
|
<tabstop>densityUpBtn</tabstop>
|
|
<tabstop>boldSpinBox</tabstop>
|
|
<tabstop>boldDownBtn</tabstop>
|
|
<tabstop>boldUpBtn</tabstop>
|
|
<tabstop>txtSpanSpinBox</tabstop>
|
|
<tabstop>txtSpanDownBtn</tabstop>
|
|
<tabstop>txtSpanUpBtn</tabstop>
|
|
<tabstop>alternateCheckBox</tabstop>
|
|
<tabstop>normalRBtn</tabstop>
|
|
<tabstop>verMirrorRBtn</tabstop>
|
|
<tabstop>horMirrorRBtn</tabstop>
|
|
<tabstop>mirrorRBtn</tabstop>
|
|
<tabstop>m90NHorRBtn</tabstop>
|
|
<tabstop>a90RBtn</tabstop>
|
|
<tabstop>m90RBtn</tabstop>
|
|
<tabstop>m90NVerRBtn</tabstop>
|
|
<tabstop>applyCounterCheckBox</tabstop>
|
|
<tabstop>counterIDSpinBox</tabstop>
|
|
<tabstop>counterIdDownBtn</tabstop>
|
|
<tabstop>counterIdUpBtn</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>boldDownBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>boldSpinBox</receiver>
|
|
<slot>stepDown()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>404</x>
|
|
<y>67</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>350</x>
|
|
<y>62</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>boldUpBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>boldSpinBox</receiver>
|
|
<slot>stepUp()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>456</x>
|
|
<y>67</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>352</x>
|
|
<y>68</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>txtSpanDownBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>txtSpanSpinBox</receiver>
|
|
<slot>stepDown()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>595</x>
|
|
<y>65</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>551</x>
|
|
<y>67</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>txtSpanUpBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>txtSpanSpinBox</receiver>
|
|
<slot>stepUp()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>633</x>
|
|
<y>69</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>553</x>
|
|
<y>66</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>densityDownBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>densitySpinBox</receiver>
|
|
<slot>stepDown()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>126</x>
|
|
<y>64</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>84</x>
|
|
<y>62</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>densityUpBtn</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>densitySpinBox</receiver>
|
|
<slot>stepUp()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>170</x>
|
|
<y>67</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>76</x>
|
|
<y>67</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>boldSpinBox</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>ItemGeneralSettings</receiver>
|
|
<slot>onBoldSpinBoxValueChanged(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>352</x>
|
|
<y>70</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>344</x>
|
|
<y>-33</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>invertCheckBox</sender>
|
|
<signal>clicked(bool)</signal>
|
|
<receiver>ItemGeneralSettings</receiver>
|
|
<slot>onColorReversalCheckBoxChecked(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>49</x>
|
|
<y>139</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>-38</x>
|
|
<y>143</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>txtSpanSpinBox</sender>
|
|
<signal>valueChanged(int)</signal>
|
|
<receiver>ItemGeneralSettings</receiver>
|
|
<slot>onLetterSpaceSpinBoxChanged(int)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>568</x>
|
|
<y>51</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>570</x>
|
|
<y>-17</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>onBoldSpinBoxValueChanged(int)</slot>
|
|
<slot>onLetterSpaceSpinBoxChanged(int)</slot>
|
|
<slot>onColorReversalCheckBoxChecked(bool)</slot>
|
|
</slots>
|
|
</ui>
|