摘要:
//创建表格头 (灰色冻结状态的) QStringList header; header<<"Time"<<" ID "<<" SendSRC "<<"Conter"<<"Data1"<<"Data2"; ui->tableWidget->setHorizontalHeaderLabels(head 阅读全文
摘要:
使用环境: VS2010 & QT Designer5 #include <QDateTime> //包含头文件 QDateTime local(QDateTime::currentDateTime()); //获取电脑时间 QString localTime = local.toString("m 阅读全文