PDA

View Full Version : QSplitter fixed section



regular
30th July 2013, 16:28
Hi, I have a QSplitter with 3 widgets inside it (so 2 splitter handles). I want my middle widget to always be at a fixed size. So if I move one of the handles the other moves as well, in the same direction. Is it possible to do that by playing around with stretch factors or size policies or something else? Or would I need to subclass QSplitter and call the moveSplitter(int,int) function from the splitterMoved signal?

Thanks in advance.