支持页码的正常显示
This commit is contained in:
parent
1f3e167cc7
commit
d4d6534204
Binary file not shown.
@ -397,6 +397,14 @@ void MedicalRecordManager::updateContext()
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(m_currentPage!=0)
|
||||||
|
{
|
||||||
|
m_labPageNumTxt.setText(QString("%1/%2").arg(m_currentPage).arg(QString::number((int)page)));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
m_labPageNumTxt.setText(QString("%1/%2").arg(1).arg(QString::number((int)page)));
|
||||||
|
}
|
||||||
|
|
||||||
DataManager::instance().getMedicRecordList(fileName, lstInfo, m_currentPage, m_tableWidget.rowCount());
|
DataManager::instance().getMedicRecordList(fileName, lstInfo, m_currentPage, m_tableWidget.rowCount());
|
||||||
m_tableWidget.horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed);
|
m_tableWidget.horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user