Files
VX5_KRO_GearPump/dialogmaintenancetimesetting.ui
T
2026-06-04 14:08:28 +08:00

270 lines
6.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DialogMaintenanceTimeSetting</class>
<widget class="QDialog" name="DialogMaintenanceTimeSetting">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>536</width>
<height>312</height>
</rect>
</property>
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="windowTitle">
<string>设置保养间隔</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;
height: 30px;
width: 100px;
}
QPushButton:hover {
background-color: #5396C1;
}
QPushButton:disabled {
background-color: #7C828E;
color: #606060;
border-color: #808080;
}</string>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>260</x>
<y>220</y>
<width>241</width>
<height>71</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>30</x>
<y>20</y>
<width>171</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>保养周期</string>
</property>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
</property>
</widget>
<widget class="QSpinBox" name="spinBox">
<property name="geometry">
<rect>
<x>30</x>
<y>70</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="keyboardTracking">
<bool>true</bool>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>24</number>
</property>
<property name="value">
<number>12</number>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>150</x>
<y>70</y>
<width>67</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>(月)</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_Reset">
<property name="geometry">
<rect>
<x>20</x>
<y>220</y>
<width>191</width>
<height>71</height>
</rect>
</property>
<property name="text">
<string>重置保养时间</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>230</x>
<y>70</y>
<width>141</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>剩余维护时间:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_MaintenanceTime">
<property name="geometry">
<rect>
<x>380</x>
<y>70</y>
<width>131</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>30</x>
<y>110</y>
<width>141</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>运行时间</string>
</property>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
</property>
</widget>
<widget class="QSpinBox" name="spinBoxRuntime">
<property name="geometry">
<rect>
<x>30</x>
<y>150</y>
<width>111</width>
<height>31</height>
</rect>
</property>
<property name="keyboardTracking">
<bool>true</bool>
</property>
<property name="minimum">
<number>3000</number>
</property>
<property name="maximum">
<number>20000</number>
</property>
<property name="value">
<number>3000</number>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>150</x>
<y>150</y>
<width>67</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>(小时)</string>
</property>
</widget>
<widget class="QLabel" name="label_CurRunTime">
<property name="geometry">
<rect>
<x>380</x>
<y>150</y>
<width>131</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>230</x>
<y>150</y>
<width>141</width>
<height>30</height>
</rect>
</property>
<property name="text">
<string>当前运行时间:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>DialogMaintenanceTimeSetting</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>DialogMaintenanceTimeSetting</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>