资 源 简 介
应用背景基于Qt的数据管理系统,对Qt的数据库进行了一次应用,对于Qt初学者学习开发数据库等技术有较强学习价值。。。。。。。关键技术setFixedSize(750, 500);
ui->stackedWidget->setCurrentIndex(0);
QSqlQueryModel *typeModel = new QSqlQueryModel(this);
typeModel->setQuery("select name from type");
ui->sellTypeComboBox->setModel(typeModel);
QSplitter *splitter = new QSplitter(ui->managePage);
splitter->resize(700, 360);
splitter->move(0, 50);
splitter->addWidget(ui->toolBox);
splitter->addWidget(ui->dailyList);
splitter->setStretchFactor(0, 1);
splitter->setStretchFactor(1, 1);
on_sellCancelBtn_clicked();
showDailyList();
ui->typeComboBox->setModel(typeModel);
createChartModelView();