QWidgetAction* action = new QWidgetAction;QLabel *lbl = new QLabel ;lbl->setPixmap("picture.png");action->setDefaultWidget(lbl);menu->addAction(action);