| 5813 | } |
| 5814 | |
| 5815 | void EventBrowser::ExpandNode(QModelIndex idx) |
| 5816 | { |
| 5817 | QModelIndex i = idx; |
| 5818 | while(idx.isValid()) |
| 5819 | { |
| 5820 | ui->events->expand(idx); |
| 5821 | idx = idx.parent(); |
| 5822 | } |
| 5823 | |
| 5824 | if(i.isValid()) |
| 5825 | ui->events->scrollTo(i); |
| 5826 | } |
| 5827 | |
| 5828 | bool EventBrowser::SelectEvent(uint32_t eventId) |
| 5829 | { |