摘要:
#include <QtCore> #include <QTimer> QTimer *timer; timer = new QTimer(this); connect(timer, SIGNAL(timeout()), this, SLOT(exit_timeout())); // 1s后执行一次 阅读全文
posted @ 2020-09-03 17:16
Ajanuw
阅读(440)
评论(0)
推荐(0)
摘要:
qdatetime doc 获取当前时间 QDateTime t1 = QDateTime::currentDateTime(); qDebug() << t1.toString("yyyy-MM-dd hh:mm:ss"); string to QDateTime QDateTime t1 = Q 阅读全文
posted @ 2020-09-03 16:13
Ajanuw
阅读(1541)
评论(0)
推荐(0)
摘要:
#include <iostream> #include <Windows.h> #pragma comment(lib, "user32.lib") #pragma comment(lib, "advapi32.lib") int main() { // https://docs.microsof 阅读全文
posted @ 2020-09-03 15:11
Ajanuw
阅读(501)
评论(0)
推荐(0)

浙公网安备 33010602011771号