def create_assign_context_menu(self):
menu = QMenu("<STR_LIT>")<EOL>self._build_menu(menu)<EOL>self.setContextMenu(menu)<EOL>
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.