C++ (Qt)table->horizontalHeader()->resizeSection(logicalIndex, size);
C++ (Qt)QTableView::horizontalHeader()->setResizeMode(QHeaderView::Fixed);QTableView::setColumnWidth(int column, int width);