In my code I declare a QTableView *tableView = new QTableView(), then I procede to call several functions.

Qt Code:
  1. tableView->verticalHeader->hide()
  2. ...
  3. tableView->setColumnWidth(0, 15);
  4. tableView->setColumnWidth(1, 15);
  5. tableView->setColumnWidth(2, 15);
  6. ...
To copy to clipboard, switch view to plain text mode 
The problem is, the tableView doesn't reflect the setColumnWidth! I would think this would work with little to no effort? Do I have to populate the tableView with data first? Seems kinda silly.