Hi all,
I am using QTableView for generating a table for my data. Problem is that i want the table to capture all the horizental space available in the TableView but i can't make it yet.
I used following LOC but invain...
tableView_processInfo
->horizontalHeader
() -> resizeSections
(QHeaderView::Stretch);
tableView_processInfo->horizontalHeader() -> resizeSections(QHeaderView::Stretch);
To copy to clipboard, switch view to plain text mode
For just testing i wrote:
tableView_processInfo->setColumnWidth(2,500)
tableView_processInfo->setColumnWidth(2,500)
To copy to clipboard, switch view to plain text mode
but it did not result into anything either.
where tableView_processInfo is my table's name. Also, have a look of the attached picture to see what's wrong.
Thanks a lot
Bookmarks