if you need to disable then use something like this:
....
table->verticalScrollBar()->setDisabled(true);
....
QTableWidget *table = new QTableWidget(this);
....
table->verticalScrollBar()->setDisabled(true);
....
To copy to clipboard, switch view to plain text mode
if you need to hide it then use something like this:
....
table->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
....
QTableWidget *table = new QTableWidget(this);
....
table->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
....
To copy to clipboard, switch view to plain text mode
Bookmarks