Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.10.1
-
None
Description
when I display data with QTableWidget, I find that if you call setSelectionResizeMode() and pass QHeaderView::ResizeToContents parameter to this function, the program costs a long time to load my data(the table is not very large), and it seems crashed. But if you replace the parameter with QHeaderView::Interactive, QHeaderView::Fixed or QHeaderView::Stretch, it shows my data in an instant. The larger the table is, the slower the program.
The code is simple. please view the attachments.