PDA

View Full Version : Resize QHeaderView for both stretch and user interaction



sajaskk
5th June 2013, 14:45
In QHeaderview, is there any way to set the resize mode of a coloumn to both QHeaderview::interactive and QHeaderview::stretch at the same time?

The setResizeMode function seems to take only one resizemode at a time. In my project, one of the columns in the middle part of the table has to be re-sized according to the stretching of the table border. But when I set the re-size mode of that particular column to stretch, user won't be able to interact with the column using the column border. He can change the size of the column only using the table border. Is there any way to do it?