摘要: //创建表格头 (灰色冻结状态的) QStringList header; header<<"Time"<<" ID "<<" SendSRC "<<"Conter"<<"Data1"<<"Data2"; ui->tableWidget->setHorizontalHeaderLabels(head 阅读全文
posted @ 2017-03-12 08:50 pupil_小龙 阅读(8952) 评论(0) 推荐(0) 编辑
摘要: 使用环境: VS2010 & QT Designer5 #include <QDateTime> //包含头文件 QDateTime local(QDateTime::currentDateTime()); //获取电脑时间 QString localTime = local.toString("m 阅读全文
posted @ 2017-03-12 08:44 pupil_小龙 阅读(617) 评论(0) 推荐(0) 编辑