I don't think setting corner and rect is enough. Did you look into QSizeGrip source code? You need to do whatever QStyleOption::init() does. You need to set (proper!) rect, corner, direction and palette, At least that's what CommonStyle uses for drawing the size grip.
Bookmarks