Guessing they are on a layout just call removeWidget. for a QList it would be:
Qt Code:
  1. // int i is the index to delete
  2. // QList<QSlider*> list;
  3. // QLayout *mylayout;
  4. myLayout->removeWidget(list.at(i));
  5. delete(list.takeAt(i));
To copy to clipboard, switch view to plain text mode