EditForm.maximumSize

EditForm.maximumSize(self) PySide2.QtCore.QSize