<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_assign_context_menu(self):
 """ Create a context menu, then set the created QMenu as the context menu. This builds the menu with all required actions and signal-slot connections. """

        menu = QMenu("AutoKey")
        self._build_menu(menu)
        self.setContextMenu(menu)