Cómo obtener en pyqt5

print(self.frameGeometry().width())
print(self.frameGeometry().height())
Good Goosander