def keyPressEvent(self, event):
        mod = event.modifiers()
        if mod == Qt.ShiftModifier:
            self._mode_toolbar.set_mode('or')
Hold down modifier keys to temporarily set edit mode
dataset/ETHPy150Open glue-viz/glue/glue/app/qt/application.py/GlueApplication.keyPressEvent