Qt 6.11 is out! See what's new in the release
blog
Can't set column fixed width(QTableWidget)
-
I want to prevent user for resizing column width, but i for some strange reason don't have any functions which do that. From google i found some solutions, but none of that function is available for me:
->setSectionResizeMode (QHeaderView::Fixed);don't exist
->setResizeMode();same.
I really can't understand what's going on...

-
I want to prevent user for resizing column width, but i for some strange reason don't have any functions which do that. From google i found some solutions, but none of that function is available for me:
->setSectionResizeMode (QHeaderView::Fixed);don't exist
->setResizeMode();same.
I really can't understand what's going on...

@Engelard said in Can't set column fixed width(QTableWidget):
->setResizeMode();
Is obsolete.
U need to use
setSectionResizeMode
http://doc.qt.io/qt-5/qheaderview-obsolete.html#setResizeMode