Try this (I never tried it):
Qt Code:
  1. QWidget *temp = mySplitter->widget(index);
  2. delete temp;
To copy to clipboard, switch view to plain text mode 

If this doesnt work, QWidget::hide() should (but that does not delete the widget, it stays in memory)