摘要: 啥也没做,按说明直接啪啪写一堆代码QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE"); //open datebase db.setDatabaseName("data.db"); if(!db.open()){ qDebug()setTa... 阅读全文
posted @ 2015-12-17 21:17 bluesky0318 阅读(997) 评论(0) 推荐(0) 编辑
摘要: 怎么设置X,Y轴位置 Manages a single axis inside aQCustomPlot.Usually doesn't need to be instantiated externally. Access QCustomPlot's default four axes viaQC... 阅读全文
posted @ 2015-12-17 11:59 bluesky0318 阅读(642) 评论(0) 推荐(0) 编辑
摘要: QDetectPlot::QDetectPlot(QWidget *parent) : QCustomPlot(parent){ QVector x(101), y(101); // initialize with entries 0..100 for (int i=0; iset... 阅读全文
posted @ 2015-12-17 10:11 bluesky0318 阅读(523) 评论(1) 推荐(0) 编辑