You can install an event filter on the header view and mark the event as handled (by returning true from the eventFilter() method) so that the table widget doesn't receive them.
I suspect it'd be easier to subclass the table widget and reimplement its resizeEvent and update the columns there after the header gets adjusted by the original resizeEvent (you have to call the base class implementation yourself of course).
BTW. Have you tried to simply set the resizeMode of the second column in the header to Stretch?
Bookmarks