Ok I've added before return in sizeHint something like this:

Qt Code:
  1. qDebug("w:%d h%d", width, height)
To copy to clipboard, switch view to plain text mode 

And in paint at end something like this:

Qt Code:
  1. Qxygen->model()->setData(index, sizeHint(option,index), Qt::SizeHintRole);
To copy to clipboard, switch view to plain text mode 

Everytime I'm resizing window the proper width and height is print on console for every item :|