I want to build one menu and one action with QContextMenuEvent,but it doesn't build.

Printable View