Function GridWidgetBase.cellRect

returns cell rectangle relative to client area; row 0 is col headers row; col 0 is row headers column

Rect cellRect(
  int x,
  int y
);