- 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());