QTableView Column Width

Is there a way to customize the QTableView column width customizable? Or is this the only way to set up a column to make resizeColumnToContents or resizeColumnsToContents?

+4
source share
1 answer

QTableView horizontal and vertical headers allow you to resize when columns (or rows) are not sorted according to their contents. Go to the ResizeMode section. After resizing, you will learn about resizing the SectionResized signal.

+3
source

Source: https://habr.com/ru/post/1400485/


All Articles