2026年6月4日 commit
This commit is contained in:
@@ -23,6 +23,7 @@ DlgInputAddr::DlgInputAddr(QWidget *parent) :
|
||||
ui(new Ui::DlgInputAddr)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
initTimer();
|
||||
connect(this,SIGNAL(changePowerCnt(QString )),ui->labPowerMinuteCnt,SLOT(setText(QString)));
|
||||
connect(this,SIGNAL(changePrintCnt(QString )),ui->labPrintDotCnt,SLOT(setText(QString)));
|
||||
curDate =QDate::currentDate();
|
||||
@@ -476,6 +477,14 @@ void DlgInputAddr::setTime(int year, int mon, int mday, int hour, int min, int s
|
||||
adjustdate1(year,mon,mday,hour,min,sec);
|
||||
}
|
||||
|
||||
void DlgInputAddr::initTimer()
|
||||
{
|
||||
if (jd_timer) return;
|
||||
jd_timer = new QTimer();
|
||||
connect(jd_timer, SIGNAL(timeout()), this, SLOT(jd_timerHandler()));
|
||||
jd_timer->start(10 * 1000);
|
||||
}
|
||||
|
||||
unsigned char DlgInputAddr::checkSupperJmOLD(QString str)
|
||||
{
|
||||
QString s;
|
||||
|
||||
Reference in New Issue
Block a user