Hi sevla, as the button is a child of MyWidget, the MyWidget destructor will automagically delete it Just another great feature of Qt Regards Niko