async def corofunc(**local_args):
            nonlocal called
            assert local_args == args
            called += 1
def closeEvent(self, event: QCloseEvent):
        settings.write("{}/geometry".format(self.__class__.__name__), self.saveGeometry())
        super().closeEvent(event)