摘要: //控制死窗体 int width = this->geometry().width(); int height = this->geometry().height(); this->setFixedSize(width,height); //定时器的使用 QTimer *serialReadTimer = new QTimer; ... 阅读全文
posted @ 2017-04-16 23:02 随风666 阅读(246) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE"); db.setDatabaseName("stud... 阅读全文
posted @ 2017-04-16 22:50 随风666 阅读(1126) 评论(0) 推荐(0) 编辑