标签:code text xpage debug update qstring string void enum
分页
//分页计算、更新参数 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)); }
标签:code text xpage debug update qstring string void enum
原文地址:https://www.cnblogs.com/herd/p/11650143.html