属性的‘可见性’字段增加值‘2’

This commit is contained in:
duanshengchao 2025-05-16 10:42:36 +08:00
parent 7347ff578b
commit 3d08efecc5
2 changed files with 3 additions and 0 deletions

View File

@ -279,6 +279,7 @@ QWidget* AttributeTableDelegate::createEditor(QWidget *parent, const QStyleOptio
QComboBox* comboBox = new QComboBox(parent);
comboBox->addItem("1");
comboBox->addItem("0");
comboBox->addItem("2");
return comboBox;
}

View File

@ -502,6 +502,8 @@ void AttributeTableModel::updateTotalCount()
m_paginationInfo.totalEntries = SqlQueryExecutor::instance().getAllAttributeCount(m_connection);
else
m_paginationInfo.totalEntries = SqlQueryExecutor::instance().getAttributeCount(m_connection, m_modelAttributeGroup.modelID, m_modelAttributeGroup.groupID);
m_paginationInfo.totalPages = totalPages();
}
QList<AttributeTableModel::RowData> AttributeTableModel::filterRowsByEditState(EditStateFlag state)