[Qt-interest] How to lock QSplitter contents?

Ben Swerts benswerts at telenet.be
Fri Sep 4 23:51:52 CEST 2009


Hi Sergei,

If you just want to disable resizing, you can disable the handles using
setEnabled/setDisabled.

Greets,


	Ben

> Hello.
> 
> I want to lock QSplitter''s widgets, i.e. hide handles and don't allow
> resizing using mouse. Is it possible? I've tried to hide handles but
> hide() method on QSplitter:handle() results doesn't hide anything
> actually. Also tried to set handle width to 0 - with the same result.
> 
> --
> Sergei Stolyarov




More information about the Qt-interest-old mailing list