ViewModeAction.restoreGeometry ViewModeAction.restoreGeometry(self, geometry: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview) → bool