ViewModeAction.setParent ViewModeAction.setParent(self, parent: PySide6.QtWidgets.QWidget | None) → None ViewModeAction.setParent(self, parent: PySide6.QtWidgets.QWidget | None, f: PySide6.QtCore.Qt.WindowType) → None