| 421 | } |
| 422 | |
| 423 | void ParamTree::selectionChanged(const QItemSelection & s, const QItemSelection &) |
| 424 | { |
| 425 | if (!s.empty()) |
| 426 | { |
| 427 | emit selected(s.indexes().first()); |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | bool ParamTree::edit(const QModelIndex & index, EditTrigger trigger, QEvent * event) |
| 432 | { // allow F2 or double click on any column in the current row |