366 lines
10 KiB
XML
366 lines
10 KiB
XML
<?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>
|
||
<width>857</width>
|
||
<height>532</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>Form</string>
|
||
</property>
|
||
<property name="styleSheet">
|
||
<string notr="true">font: 10pt "黑体";color: rgb(27, 30, 35);</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout">
|
||
<property name="topMargin">
|
||
<number>10</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>10</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>10</number>
|
||
</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">
|
||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_2">
|
||
<property name="title">
|
||
<string>B码对时</string>
|
||
</property>
|
||
<widget class="QPushButton" name="pushButton_B">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>30</x>
|
||
<y>60</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_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>
|
||
<property name="text">
|
||
<string>B码对时</string>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox">
|
||
<property name="title">
|
||
<string>NTP对时</string>
|
||
</property>
|
||
<widget class="QRadioButton" name="radioButton_switch">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>13</x>
|
||
<y>77</y>
|
||
<width>63</width>
|
||
<height>23</height>
|
||
</rect>
|
||
</property>
|
||
<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>
|
||
</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>
|
||
<x>160</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_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>
|
||
<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>
|
||
</rect>
|
||
</property>
|
||
<property name="text">
|
||
<string>- -</string>
|
||
</property>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QWidget" name="widget_2" native="true">
|
||
<property name="minimumSize">
|
||
<size>
|
||
<width>0</width>
|
||
<height>0</height>
|
||
</size>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>16777215</width>
|
||
<height>16777215</height>
|
||
</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>
|
||
<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_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>
|