PDA

View Full Version : Can I prevent right column from scrolling out of sight



kwire
1st September 2011, 13:04
OK, I'm stumped...

I have a QTableWidget where I am trying to prevent the last column (section) from scrolling out of sight when I am resizing the columns. I need to be able to re-size the first two, or in fact, any two columns using the mouse and clicking on the divider between two columns and just change the size of the two column on either side of the divider I am clicking on... I have tried all the properties and configurations I can find in but I can't find a way to prevent the problem you can see in Image 3 where the fourth column is being scrolled out of sight.

Image 1: (Initial look)
http://home.earthlink.net/~keiths.hardware/images/TvHeader1.png

Image 2: (Starting to slide between column 1 & 2)
http://home.earthlink.net/~keiths.hardware/images/TvHeader2.png

Image 3: (Problem, column 4 is starting to scroll out of sight)
http://home.earthlink.net/~keiths.hardware/images/TvHeader3.png

Is there a property I can set, or even an Event I can Filter to get rid of this reaction by QTableWidget? I can even switch to QTableView and make a subclass if necessary...

Or is there another method you can suggest to accomplish an user interface like this?

Thanks, Keith