'Remove child items from the widget and scene.'

def removeItems(self, items):

    scene = self.scene()
    for item in items:
        item.setParentItem(None)
        if (scene is not None):
            scene.removeItem(item)
