def keyPressEvent(self, event):
        if event.key() == QtCore.Qt.Key_Q:
            QtGui.QApplication.quit()
Handle keypress events.
dataset/ETHPy150Open nasa/CrisisMappingToolkit/cmt/util/production_gui.py/ProductionGui.keyPressEvent