Fixed
colorizerTable->setSortingEnabled(false);
colorizerTable->setHorizontalHeader(headerView);
headerView
->setResizeMode
(1,
QHeaderView::Interactive);
headerView->resizeSection(1, 40);
headerView->hideSection(2);
colorizerTable = new QTableWidget(0, 3, colorizerWidget);
colorizerTable->setSortingEnabled(false);
QHeaderView *headerView = new QHeaderView(Qt::Horizontal, colorizerTable);
colorizerTable->setHorizontalHeader(headerView);
headerView->setResizeMode(0, QHeaderView::Stretch);
headerView->setResizeMode(1, QHeaderView::Interactive);
headerView->resizeSection(1, 40);
headerView->hideSection(2);
To copy to clipboard, switch view to plain text mode
Just needed to set the headerView to the table before setting the headerView parameters
Bookmarks