I'm not kidding. Maybe this is a stupid question, so plz help me.
Did you mean " just read your first post above." about: ui->tblCivilianFlightPlan->resizeColumnsToContents(); ???
But, My question is about function resizeColumnsToContent() of QHeaderView, not for QTableView. Or I'm using wrong word about size of section of header (my english is not good ).
In addition, I have trouble with tab size - QTabWidget too T___T (after switching language, tabwidget does not show completely tabText).