View Full Version : enable layout
mickey
22nd May 2006, 21:52
Hi, I'm trying disable a layout from mainform but don't work.Is there a reason? Thanks
this->layout45->setEnabled(FALSE);
jacek
22nd May 2006, 22:28
How does it "don't work"?
mickey
22nd May 2006, 22:51
it isn't disabled! (I like disabled its contents too (labesl and spinboxes))
jacek
22nd May 2006, 23:07
it isn't disabled! (I like disabled its contents too (labesl and spinboxes))
Check in the docs how does a disabled layout behave.
mickey
22nd May 2006, 23:23
sorry then is there a func that disabled its contents?
jacek
22nd May 2006, 23:31
is there a func that disabled its contents?
Put the widgets you want to disable in a QFrame or QGroupBox.
vijay anandh
12th July 2006, 23:00
what s your requirement exactly
Disableing means you want to remove the layout or controls in that layout should be disabled ?
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.