683 lines
15 KiB
XML
683 lines
15 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DateVarSet</class>
|
|
<widget class="QWidget" name="DateVarSet">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>800</width>
|
|
<height>550</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Form</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<widget class="QPushButton" name="checkBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>520</x>
|
|
<y>490</y>
|
|
<width>101</width>
|
|
<height>50</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>✓</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="closeBtn">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>640</x>
|
|
<y>490</y>
|
|
<width>101</width>
|
|
<height>50</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>✕</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>10</y>
|
|
<width>771</width>
|
|
<height>472</height>
|
|
</rect>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::TabFocus</enum>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>2</number>
|
|
</property>
|
|
<widget class="QWidget" name="generalTab">
|
|
<attribute name="title">
|
|
<string>整体设置</string>
|
|
</attribute>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_3">
|
|
<attribute name="title">
|
|
<string>日期/时间</string>
|
|
</attribute>
|
|
<widget class="QLabel" name="label">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>40</x>
|
|
<y>30</y>
|
|
<width>67</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>内容</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_DateFormat">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>60</x>
|
|
<y>50</y>
|
|
<width>371</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>470</x>
|
|
<y>26</y>
|
|
<width>111</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>有效期限</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="expirationCBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>510</x>
|
|
<y>50</y>
|
|
<width>231</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>天数</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>月 - 精确到日</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>月 - 精确到月</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnPoint">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>100</y>
|
|
<width>45</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnColon">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>70</x>
|
|
<y>100</y>
|
|
<width>45</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnComma">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>120</x>
|
|
<y>100</y>
|
|
<width>45</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>,</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnSlash">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>100</y>
|
|
<width>45</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>/</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnSemicolon">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>220</x>
|
|
<y>100</y>
|
|
<width>45</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>;</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnUnderline">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>270</x>
|
|
<y>100</y>
|
|
<width>45</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>_</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnDash">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>320</x>
|
|
<y>100</y>
|
|
<width>45</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>-</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnHour">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>150</y>
|
|
<width>95</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>小时</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnMinute">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>150</x>
|
|
<y>150</y>
|
|
<width>95</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>分钟</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnSecond">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>270</x>
|
|
<y>150</y>
|
|
<width>95</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>秒钟</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnMonth">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>150</x>
|
|
<y>200</y>
|
|
<width>95</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>月</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnYear4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>270</x>
|
|
<y>200</y>
|
|
<width>95</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>年2026</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnDay">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>200</y>
|
|
<width>95</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>日</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnWeekOfYear">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>250</y>
|
|
<width>221</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>年中第几周</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnYear2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>270</x>
|
|
<y>250</y>
|
|
<width>95</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>年26</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnWeek">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>20</x>
|
|
<y>300</y>
|
|
<width>141</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>周几</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnSpace">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>210</x>
|
|
<y>300</y>
|
|
<width>155</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>空格</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnBackSpace">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>370</x>
|
|
<y>100</y>
|
|
<width>81</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string><------</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="expirationNumCBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>540</x>
|
|
<y>100</y>
|
|
<width>111</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="buttonSymbols">
|
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>9999</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>660</x>
|
|
<y>100</y>
|
|
<width>31</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>-</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="pushButton_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>700</x>
|
|
<y>100</y>
|
|
<width>31</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>+</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="tab_2">
|
|
<attribute name="title">
|
|
<string>代替</string>
|
|
</attribute>
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>70</x>
|
|
<y>100</y>
|
|
<width>67</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>名称</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEditName1">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>130</y>
|
|
<width>113</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEditName2">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>170</y>
|
|
<width>113</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEditName3">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>210</y>
|
|
<width>113</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEditName4">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>250</y>
|
|
<width>113</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="cb_replaceType">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>280</x>
|
|
<y>20</y>
|
|
<width>181</width>
|
|
<height>35</height>
|
|
</rect>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>数据</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>周几</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>月</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>年</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>天数</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>小时</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Meridiem</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>220</x>
|
|
<y>30</y>
|
|
<width>50</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>类型</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>240</x>
|
|
<y>100</y>
|
|
<width>51</width>
|
|
<height>17</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>代替</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_Replace1">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>250</x>
|
|
<y>130</y>
|
|
<width>231</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_Replace2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>250</x>
|
|
<y>170</y>
|
|
<width>231</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_Replace4">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>250</x>
|
|
<y>250</y>
|
|
<width>231</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit" name="lineEdit_Replace3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>250</x>
|
|
<y>210</y>
|
|
<width>231</width>
|
|
<height>30</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnUP">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>530</x>
|
|
<y>130</y>
|
|
<width>61</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>上</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnDown">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>530</x>
|
|
<y>210</y>
|
|
<width>61</width>
|
|
<height>51</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>下</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="btnPreSetValue">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>80</x>
|
|
<y>310</y>
|
|
<width>111</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>预设值</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>pushButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>expirationNumCBox</receiver>
|
|
<slot>stepDown()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>693</x>
|
|
<y>154</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>598</x>
|
|
<y>155</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>pushButton_2</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>expirationNumCBox</receiver>
|
|
<slot>stepUp()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>741</x>
|
|
<y>146</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>595</x>
|
|
<y>153</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|