highlighting whispers works better and looks better
This commit is contained in:
@@ -124,7 +124,7 @@ public:
|
||||
rowItem.items[column]->setData(value, role);
|
||||
|
||||
if (rowItem.isCustomRow) {
|
||||
this->customRowSetData(rowItem.items, column, value, role);
|
||||
this->customRowSetData(rowItem.items, column, value, role, row);
|
||||
} else {
|
||||
int vecRow = this->getVectorIndexFromModelIndex(row);
|
||||
this->vector_->removeItem(vecRow, this);
|
||||
@@ -230,7 +230,8 @@ protected:
|
||||
}
|
||||
|
||||
virtual void customRowSetData(const std::vector<QStandardItem *> &row,
|
||||
int column, const QVariant &value, int role)
|
||||
int column, const QVariant &value, int role,
|
||||
int rowIndex)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user