你可以用
void QTableView::setSpan ( int row, int column, int rowSpanCount, int columnSpanCount )
Sets the span of the table element at (row, column) to the number of rows and columns specified by (rowSpanCount, columnSpanCount).
This function was introduced in Qt 4.2.
我试过可以用!但我用的是Qt 4.5