修复模糊查询后,再次重新查询未正常显示问题
This commit is contained in:
parent
b9e7314042
commit
fe31214665
Binary file not shown.
@ -379,7 +379,7 @@ void MedicalRecordManager::updateContext()
|
||||
fileName = fileName.simplified();
|
||||
QList<MedicRecord> lstInfo;
|
||||
int rowCounts = DataManager::instance().getMedicRecordCount(fileName);
|
||||
//logInfo() << fileName << rowCounts << endl;
|
||||
qDebug() << fileName << rowCounts << endl;
|
||||
double page = (double)rowCounts / (double)100;
|
||||
if (page > (int)page)
|
||||
{
|
||||
@ -439,15 +439,15 @@ void MedicalRecordManager::updateContext()
|
||||
for (int i = row; i < m_tableWidget.rowCount(); i++)
|
||||
{
|
||||
int col=0;
|
||||
QTableWidgetItem *item_id = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_m_CheckNum = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_type = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_Name = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_Sex = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_Age = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_Laterality = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_inspectDate = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_other = m_tableWidget.item(row, col++);
|
||||
QTableWidgetItem *item_id = m_tableWidget.item(i, col++);
|
||||
QTableWidgetItem *item_m_CheckNum = m_tableWidget.item(i, col++);
|
||||
QTableWidgetItem *item_type = m_tableWidget.item(i, col++);
|
||||
QTableWidgetItem *item_Name = m_tableWidget.item(i, col++);
|
||||
QTableWidgetItem *item_Sex = m_tableWidget.item(i, col++);
|
||||
QTableWidgetItem *item_Age = m_tableWidget.item(i, col++);
|
||||
QTableWidgetItem *item_Laterality = m_tableWidget.item(i, col++);
|
||||
QTableWidgetItem *item_inspectDate = m_tableWidget.item(i, col++);
|
||||
QTableWidgetItem *item_other = m_tableWidget.item(i, col++);
|
||||
item_id->setData(Qt::CheckStateRole, QVariant());
|
||||
item_id->setData(Qt::DisplayRole, "");
|
||||
//item_id->setFlags(Qt::NoItemFlags);
|
||||
|
@ -5,6 +5,7 @@
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += core gui sql
|
||||
Profile = Release with debug info
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 4.9.1, 2024-11-15T03:02:20. -->
|
||||
<!-- Written by QtCreator 4.9.1, 2024-11-22T17:27:54. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
@ -67,7 +67,7 @@
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.13.0 MinGW 64-bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.13.0 MinGW 64-bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5130.win64_mingw73_kit</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">2</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
|
Loading…
x
Reference in New Issue
Block a user