修正大量demo

This commit is contained in:
feiyangqingyun
2021-03-08 09:09:41 +08:00
parent 23a32e6d32
commit 66bf680fcb
2 changed files with 5 additions and 4 deletions

View File

@@ -7,6 +7,7 @@
frmNtpClient::frmNtpClient(QWidget *parent) : QWidget(parent), ui(new Ui::frmNtpClient)
{
ui->setupUi(this);
ui->txtNtpIP->setText("ntp1.aliyun.com");
connect(NtpClient::Instance(), SIGNAL(receiveTime(QDateTime)), this, SLOT(receiveTime(QDateTime)));
}

View File

@@ -13,13 +13,13 @@
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QWidget" name="">
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>321</width>
<height>48</height>
<width>381</width>
<height>51</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
@@ -33,7 +33,7 @@
<item row="0" column="1">
<widget class="QLineEdit" name="txtNtpIP">
<property name="text">
<string>133.100.11.8</string>
<string/>
</property>
</widget>
</item>