Collection of small fixes and improvements
- Selections stay clearly visible when focus changes to other widget - Autoresize columns - Table properties view now correctly allows selection in both columns and draws selection correctly - Tables can be sorted again and now by any column
This commit is contained in:
parent
3fb88edab2
commit
3fdd42ffb2
13 changed files with 56 additions and 41 deletions
|
|
@ -102,3 +102,8 @@ void PropertyProxyModel::setActiveRow(const QModelIndex &row)
|
|||
activeRow = row.isValid() ? row.row() : -1;
|
||||
emit dataChanged(index(0, valueColumn), index(rowCount(QModelIndex()), valueColumn), QVector<int>() << Qt::DisplayRole);
|
||||
}
|
||||
|
||||
Qt::ItemFlags PropertyProxyModel::flags(const QModelIndex &index) const
|
||||
{
|
||||
return Qt::ItemIsSelectable | Qt::ItemIsEnabled;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue