View Full Version : Remove widgets from a QSplitter
blukske
14th July 2006, 09:37
Simple question; is it possible to dynamically remove widgets from a QSplitter instance?
high_flyer
14th July 2006, 10:38
Try this (I never tried it):
QWidget *temp = mySplitter->widget(index);
delete temp;
If this doesnt work, QWidget::hide() should (but that does not delete the widget, it stays in memory)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.