手动分页
分页
//分页计算、更新参数 void updateWidgetData() { totalSize = student_vec.size(); indexPage = 1; qDebug() << "page num:" << pageNum; qDebug() << "total size:"<<totalSize; pageCount = totalSize / pageNum; pageCount = pageCount + 1; ui.label_count->setText(QString::number(totalSize)); }
QQ 3087438119