look at this method QHeaderVew::setDefaultSectionSize, e.g.
Qt Code:
  1. ...
  2. tableWidget->verticalHeader()->setDefaultSectionSize(50);
  3. ...
To copy to clipboard, switch view to plain text mode