ViewModeAction.setWindowModality ViewModeAction.setWindowModality(self, windowModality: PySide6.QtCore.Qt.WindowModality, /) → None