def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def closeEvent(self, event: QCloseEvent):
        settings.write("{}/geometry".format(self.__class__.__name__), self.saveGeometry())
        super().closeEvent(event)