model view 模式
在 data(const QModelIndex& index, int role) 中
if (role == Qt::SizeHintRole) {
size_t row = index.row();
size_t col = index.column();
// 获取row col 对于的文本
// 计算下文本的行数,求出行高
height 计算下
table 就是这个model对应的 tableview
return QSize(table->columnWidth(col), height);
}