修改文件换行符,修正轮班图元长度计算问题

This commit is contained in:
2026-08-19 11:55:10 +08:00
parent 176b53b654
commit a274b75705
116 changed files with 68711 additions and 68660 deletions
+443 -443
View File
@@ -1,443 +1,443 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DateFormatEditor</class>
<widget class="QWidget" name="DateFormatEditor">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>764</width>
<height>361</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">QWidget{
font-size: 16px;
}
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;
}
QComboBox {
border: 1px solid #000000;
border-radius: 3px;
font-size: 14px;
width: 180px;
height: 90px;
padding-left: 10px; /* 文字左边距,避免紧贴边缘 */
}
/* 下拉箭头区域 */
QComboBox::drop-down {
border: 1px solid #333333;
border-radius: 3px;
width: 30px; /* 箭头区域宽度 */
background-color: #5396C1;
}
/* 下拉箭头图标 */
QComboBox::down-arrow {
image: url(:/image/down_white.png);
width: 16px; /* 图标显示宽度 */
height: 16px; /* 图标显示高度 */
}
/* 悬停状态 */
QComboBox:hover {
background-color: #efefef;
}
// 下拉框
QComboBox QAbstractItemView {
border: 1px solid #000000;
border-radius: 3px;
font-size: 14px;
selection-background-color: #5396C1; /* 选中项背景色(稍深) */
selection-color: #ffffff;
}</string>
</property>
<widget class="QWidget" name="panel" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>761</width>
<height>361</height>
</rect>
</property>
<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>&lt;------</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>
<resources/>
<connections/>
</ui>
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DateFormatEditor</class>
<widget class="QWidget" name="DateFormatEditor">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>764</width>
<height>361</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">QWidget{
font-size: 16px;
}
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;
}
QComboBox {
border: 1px solid #000000;
border-radius: 3px;
font-size: 14px;
width: 180px;
height: 90px;
padding-left: 10px; /* 文字左边距,避免紧贴边缘 */
}
/* 下拉箭头区域 */
QComboBox::drop-down {
border: 1px solid #333333;
border-radius: 3px;
width: 30px; /* 箭头区域宽度 */
background-color: #5396C1;
}
/* 下拉箭头图标 */
QComboBox::down-arrow {
image: url(:/image/down_white.png);
width: 16px; /* 图标显示宽度 */
height: 16px; /* 图标显示高度 */
}
/* 悬停状态 */
QComboBox:hover {
background-color: #efefef;
}
// 下拉框
QComboBox QAbstractItemView {
border: 1px solid #000000;
border-radius: 3px;
font-size: 14px;
selection-background-color: #5396C1; /* 选中项背景色(稍深) */
selection-color: #ffffff;
}</string>
</property>
<widget class="QWidget" name="panel" native="true">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>761</width>
<height>361</height>
</rect>
</property>
<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>&lt;------</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>
<resources/>
<connections/>
</ui>