code: def __init__(self, finishCallback, location):
      super().__init__()
      self.finishCallback = finishCallback
      # 隐藏界面
      self.setWindowFlags(Qt.FramelessWindowHint)
      self.move(location)
      self.show()
      self.editingFinished.connect(
          lambda: finishCallback(self.keySequence())
      )
  
imports: import os.path
  import math
  from functools import partial
  from PyQt5.QtCore import QPoint
  from PyQt5.QtWidgets import QDesktopWidget
  from qtpy import QtCore, QtWidgets
  from qtpy.QtWidgets import QWidget, QLabel, QPushButton, QGridLayout, QKeySequenceEdit, QMessageBox
  from qtpy.QtGui import QIcon
  from qtpy import QtCore
  from qtpy.QtCore import Qt
  from util import save_configs
label_desc: Use image node_id 1 to create a new RecordShortcutWidget object from inherited base classes: QKeySequenceEdit with example: obj = RecordShortcutWidget(finishCallback, location)