3500/NTPServerConfig.ui

366 lines
10 KiB
Plaintext
Raw Permalink Normal View History

2023-04-14 19:30:30 +08:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CNTPServerConfig</class>
<widget class="QWidget" name="CNTPServerConfig">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2023-10-19 14:15:31 +08:00
<width>857</width>
<height>532</height>
2023-04-14 19:30:30 +08:00
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
2023-10-19 14:15:31 +08:00
<string notr="true">font: 10pt &quot;黑体&quot;;color: rgb(27, 30, 35);</string>
2023-04-14 19:30:30 +08:00
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="topMargin">
2023-10-19 14:15:31 +08:00
<number>10</number>
2023-04-14 19:30:30 +08:00
</property>
<property name="rightMargin">
2023-10-19 14:15:31 +08:00
<number>10</number>
2023-04-14 19:30:30 +08:00
</property>
<property name="bottomMargin">
2023-10-19 14:15:31 +08:00
<number>10</number>
2023-04-14 19:30:30 +08:00
</property>
<item>
<widget class="QWidget" name="widget_3" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>50</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>50</height>
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>282</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="label_3">
<property name="styleSheet">
<string notr="true">color: rgb(255, 255, 255);</string>
</property>
<property name="text">
<string>对时设置</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>282</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget" native="true">
2023-10-19 14:15:31 +08:00
<layout class="QHBoxLayout" name="horizontalLayout_2">
2023-04-14 19:30:30 +08:00
<item>
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>B码对时</string>
</property>
2023-04-27 19:48:15 +08:00
<widget class="QPushButton" name="pushButton_B">
2023-04-14 19:30:30 +08:00
<property name="geometry">
<rect>
<x>30</x>
<y>60</y>
2023-10-19 14:15:31 +08:00
<width>96</width>
<height>28</height>
2023-04-14 19:30:30 +08:00
</rect>
</property>
2023-04-27 19:48:15 +08:00
<property name="minimumSize">
<size>
2023-10-19 14:15:31 +08:00
<width>96</width>
<height>28</height>
2023-04-27 19:48:15 +08:00
</size>
</property>
<property name="maximumSize">
<size>
2023-10-19 14:15:31 +08:00
<width>96</width>
<height>28</height>
2023-04-27 19:48:15 +08:00
</size>
</property>
<property name="styleSheet">
<string notr="true">#pushButton_B { border-image: url(:/image/Btn/normal_Btn.png);
color:#1f5188 }
#pushButton_B:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}
#pushButton_B:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}
#pushButton_B:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}</string>
</property>
2023-04-14 19:30:30 +08:00
<property name="text">
<string>B码对时</string>
</property>
</widget>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>NTP对时</string>
</property>
2023-10-19 14:15:31 +08:00
<widget class="QRadioButton" name="radioButton_switch">
2023-04-14 19:30:30 +08:00
<property name="geometry">
<rect>
2023-10-19 14:15:31 +08:00
<x>13</x>
<y>77</y>
<width>63</width>
<height>23</height>
2023-04-14 19:30:30 +08:00
</rect>
</property>
2023-10-19 14:15:31 +08:00
<property name="text">
<string>启动</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_NTP_IP">
<property name="geometry">
<rect>
<x>90</x>
<y>40</y>
<width>141</width>
<height>25</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>14</x>
<y>44</y>
<width>110</width>
<height>19</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>NTP对时IP</string>
</property>
2023-04-14 19:30:30 +08:00
</widget>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>手动对时</string>
</property>
<widget class="QPushButton" name="pushButton_manual">
<property name="geometry">
<rect>
2024-03-14 09:35:39 +08:00
<x>160</x>
<y>140</y>
2023-10-19 14:15:31 +08:00
<width>96</width>
<height>28</height>
2023-04-14 19:30:30 +08:00
</rect>
</property>
2023-10-19 14:15:31 +08:00
<property name="minimumSize">
<size>
<width>96</width>
<height>28</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>96</width>
<height>28</height>
</size>
</property>
2023-04-14 19:30:30 +08:00
<property name="styleSheet">
<string notr="true">#pushButton_manual { border-image: url(:/image/Btn/normal_Btn.png);
color:#1f5188 }
#pushButton_manual:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}
#pushButton_manual:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}
#pushButton_manual:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}</string>
</property>
<property name="text">
<string>手动对时</string>
</property>
</widget>
2024-03-14 09:35:39 +08:00
<widget class="QPushButton" name="pushButton_get">
<property name="geometry">
<rect>
<x>40</x>
<y>140</y>
<width>96</width>
<height>28</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>96</width>
<height>28</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>96</width>
<height>28</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">#pushButton_get { border-image: url(:/image/Btn/normal_Btn.png);
color:#1f5188 }
#pushButton_get:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}
#pushButton_get:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}
#pushButton_get:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}</string>
</property>
<property name="text">
<string>获取设备时间</string>
</property>
</widget>
<widget class="QLabel" name="label_time">
<property name="geometry">
<rect>
<x>50</x>
<y>50</y>
<width>161</width>
<height>16</height>
2024-03-14 09:35:39 +08:00
</rect>
</property>
<property name="text">
<string>- -</string>
2024-03-14 09:35:39 +08:00
</property>
</widget>
2023-04-14 19:30:30 +08:00
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="widget_2" native="true">
<property name="minimumSize">
<size>
<width>0</width>
2023-10-19 14:15:31 +08:00
<height>0</height>
2023-04-14 19:30:30 +08:00
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
2023-10-19 14:15:31 +08:00
<height>16777215</height>
2023-04-14 19:30:30 +08:00
</size>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>266</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton_confim">
<property name="minimumSize">
<size>
2023-10-19 14:15:31 +08:00
<width>96</width>
<height>28</height>
2023-04-14 19:30:30 +08:00
</size>
</property>
<property name="maximumSize">
<size>
2023-10-19 14:15:31 +08:00
<width>96</width>
<height>28</height>
2023-04-14 19:30:30 +08:00
</size>
</property>
<property name="styleSheet">
<string notr="true">#pushButton_confim { border-image: url(:/image/Btn/normal_Btn.png);
color:#1f5188 }
#pushButton_confim:hover { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}
#pushButton_confim:pressed { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}
#pushButton_confim:checked { border-image: url(:/image/Btn/normal_Btn_p.png);
color:#ffffff}</string>
</property>
<property name="text">
<string>确认</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>265</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>