属性的‘可见性’字段增加值‘2’
This commit is contained in:
parent
7347ff578b
commit
3d08efecc5
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue