-bool DecodeTrace::hover_point_is_over_trace()
-{
- assert(_view);
- assert(_row_height);
-
- // Note: if _row_height is valid then _cur_row_headings is valid, too,
- // as both are set in paint_mid().
-
- // Note: hp.x will be 0 if the cursor is above the header area,
- // so we set trace.left to 1 to exclude this.
-
- QRect trace(1, get_y() - (_row_height/2),
- _view->width(), _row_height * _visible_rows.size());
-
- // Note: We don't need to check for _row_height being 0 here but
- // we do it anyway to be more robust.
-
- return _row_height && enabled() && trace.contains(_view->hover_point());
-}
-
-int DecodeTrace::get_row_at_hover_point()