def METHOD_NAME(self):
    self.setFocus(True) # because of QTBUG 17810
    self.setDown(True)
    self.setStyleSheet("text-align: left;")
    self._isrecording = True
    self._recseq = QKeySequence()
    self._modifiers = int(QApplication.keyboardModifiers() & (Qt.SHIFT | Qt.CTRL | Qt.ALT | Qt.META))
    self.grabKeyboard()
    self.updateDisplay()